Class NearestNeighborSearchOperationMetadata.Builder (3.84.0)

public static final class NearestNeighborSearchOperationMetadata.Builder extends GeneratedMessage.Builder<NearestNeighborSearchOperationMetadata.Builder> implements NearestNeighborSearchOperationMetadataOrBuilder

Runtime operation metadata with regard to Matching Engine Index.

Protobuf type google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllContentValidationStats(Iterable<? extends NearestNeighborSearchOperationMetadata.ContentValidationStats> values)

public NearestNeighborSearchOperationMetadata.Builder addAllContentValidationStats(Iterable<? extends NearestNeighborSearchOperationMetadata.ContentValidationStats> values)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats>
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

addContentValidationStats(NearestNeighborSearchOperationMetadata.ContentValidationStats value)

public NearestNeighborSearchOperationMetadata.Builder addContentValidationStats(NearestNeighborSearchOperationMetadata.ContentValidationStats value)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
value NearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

addContentValidationStats(NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.Builder addContentValidationStats(NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
builderForValue NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

addContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats value)

public NearestNeighborSearchOperationMetadata.Builder addContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats value)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
Name Description
index int
value NearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

addContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.Builder addContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
Name Description
index int
builderForValue NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

addContentValidationStatsBuilder()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addContentValidationStatsBuilder()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

addContentValidationStatsBuilder(int index)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addContentValidationStatsBuilder(int index)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

build()

public NearestNeighborSearchOperationMetadata build()
Returns
Type Description
NearestNeighborSearchOperationMetadata

buildPartial()

public NearestNeighborSearchOperationMetadata buildPartial()
Returns
Type Description
NearestNeighborSearchOperationMetadata

clear()

public NearestNeighborSearchOperationMetadata.Builder clear()
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder
Overrides

clearContentValidationStats()

public NearestNeighborSearchOperationMetadata.Builder clearContentValidationStats()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

clearDataBytesCount()

public NearestNeighborSearchOperationMetadata.Builder clearDataBytesCount()

The ingested data size in bytes.

int64 data_bytes_count = 2;

Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

This builder for chaining.

getContentValidationStats(int index)

public NearestNeighborSearchOperationMetadata.ContentValidationStats getContentValidationStats(int index)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats

getContentValidationStatsBuilder(int index)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder getContentValidationStatsBuilder(int index)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

getContentValidationStatsBuilderList()

public List<NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder> getContentValidationStatsBuilderList()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
List<Builder>

getContentValidationStatsCount()

public int getContentValidationStatsCount()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
int

getContentValidationStatsList()

public List<NearestNeighborSearchOperationMetadata.ContentValidationStats> getContentValidationStatsList()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
List<ContentValidationStats>

getContentValidationStatsOrBuilder(int index)

public NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder getContentValidationStatsOrBuilder(int index)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder

getContentValidationStatsOrBuilderList()

public List<? extends NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder> getContentValidationStatsOrBuilderList()

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder>

getDataBytesCount()

public long getDataBytesCount()

The ingested data size in bytes.

int64 data_bytes_count = 2;

Returns
Type Description
long

The dataBytesCount.

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata getDefaultInstanceForType()
Returns
Type Description
NearestNeighborSearchOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata other)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(NearestNeighborSearchOperationMetadata other)
Parameter
Name Description
other NearestNeighborSearchOperationMetadata
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder
Overrides

removeContentValidationStats(int index)

public NearestNeighborSearchOperationMetadata.Builder removeContentValidationStats(int index)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

setContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats value)

public NearestNeighborSearchOperationMetadata.Builder setContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats value)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
Name Description
index int
value NearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

setContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.Builder setContentValidationStats(int index, NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder builderForValue)

The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
Name Description
index int
builderForValue NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

setDataBytesCount(long value)

public NearestNeighborSearchOperationMetadata.Builder setDataBytesCount(long value)

The ingested data size in bytes.

int64 data_bytes_count = 2;

Parameter
Name Description
value long

The dataBytesCount to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.Builder

This builder for chaining.