Class NearestNeighborSearchOperationMetadata.Builder (3.36.0)

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

Runtime operation metadata with regard to Matching Engine Index.

Protobuf type google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats>
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
valueNearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
builderForValueNearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
NameDescription
indexint
valueNearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
NameDescription
indexint
builderForValueNearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NearestNeighborSearchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

build()

public NearestNeighborSearchOperationMetadata build()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata

buildPartial()

public NearestNeighborSearchOperationMetadata buildPartial()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata

clear()

public NearestNeighborSearchOperationMetadata.Builder clear()
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder

clearDataBytesCount()

public NearestNeighborSearchOperationMetadata.Builder clearDataBytesCount()

The ingested data size in bytes.

int64 data_bytes_count = 2;

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NearestNeighborSearchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NearestNeighborSearchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

clone()

public NearestNeighborSearchOperationMetadata.Builder clone()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder>

getDataBytesCount()

public long getDataBytesCount()

The ingested data size in bytes.

int64 data_bytes_count = 2;

Returns
TypeDescription
long

The dataBytesCount.

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata other)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(NearestNeighborSearchOperationMetadata other)
Parameter
NameDescription
otherNearestNeighborSearchOperationMetadata
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NearestNeighborSearchOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NearestNeighborSearchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
NameDescription
indexint
valueNearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
TypeDescription
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.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats content_validation_stats = 1;

Parameters
NameDescription
indexint
builderForValueNearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder

setDataBytesCount(long value)

public NearestNeighborSearchOperationMetadata.Builder setDataBytesCount(long value)

The ingested data size in bytes.

int64 data_bytes_count = 2;

Parameter
NameDescription
valuelong

The dataBytesCount to set.

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NearestNeighborSearchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NearestNeighborSearchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NearestNeighborSearchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.Builder
Overrides