Class NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder (3.56.0)

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

Protobuf type google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

Static Methods

getDescriptor()

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

Methods

addAllPartialErrors(Iterable<? extends NearestNeighborSearchOperationMetadata.RecordError> values)

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

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addPartialErrors(NearestNeighborSearchOperationMetadata.RecordError value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addPartialErrors(NearestNeighborSearchOperationMetadata.RecordError value)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addPartialErrors(NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addPartialErrors(NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError value)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addPartialErrorsBuilder()

public NearestNeighborSearchOperationMetadata.RecordError.Builder addPartialErrorsBuilder()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

addPartialErrorsBuilder(int index)

public NearestNeighborSearchOperationMetadata.RecordError.Builder addPartialErrorsBuilder(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

build()

public NearestNeighborSearchOperationMetadata.ContentValidationStats build()
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats

buildPartial()

public NearestNeighborSearchOperationMetadata.ContentValidationStats buildPartial()
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

clearInvalidRecordCount()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearInvalidRecordCount()

Number of records in this file we skipped due to validate errors.

int64 invalid_record_count = 3;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clearInvalidSparseRecordCount()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearInvalidSparseRecordCount()

Number of sparse records in this file we skipped due to validate errors.

int64 invalid_sparse_record_count = 6;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

clearPartialErrors()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearPartialErrors()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

clearSourceGcsUri()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearSourceGcsUri()

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clearValidRecordCount()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearValidRecordCount()

Number of records in this file that were successfully processed.

int64 valid_record_count = 2;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clearValidSparseRecordCount()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearValidSparseRecordCount()

Number of sparse records in this file that were successfully processed.

int64 valid_sparse_record_count = 5;

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clone()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clone()
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata.ContentValidationStats getDefaultInstanceForType()
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats

getDescriptorForType()

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

getInvalidRecordCount()

public long getInvalidRecordCount()

Number of records in this file we skipped due to validate errors.

int64 invalid_record_count = 3;

Returns
Type Description
long

The invalidRecordCount.

getInvalidSparseRecordCount()

public long getInvalidSparseRecordCount()

Number of sparse records in this file we skipped due to validate errors.

int64 invalid_sparse_record_count = 6;

Returns
Type Description
long

The invalidSparseRecordCount.

getPartialErrors(int index)

public NearestNeighborSearchOperationMetadata.RecordError getPartialErrors(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError

getPartialErrorsBuilder(int index)

public NearestNeighborSearchOperationMetadata.RecordError.Builder getPartialErrorsBuilder(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

getPartialErrorsBuilderList()

public List<NearestNeighborSearchOperationMetadata.RecordError.Builder> getPartialErrorsBuilderList()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
Type Description
List<Builder>

getPartialErrorsCount()

public int getPartialErrorsCount()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
Type Description
int

getPartialErrorsList()

public List<NearestNeighborSearchOperationMetadata.RecordError> getPartialErrorsList()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
Type Description
List<RecordError>

getPartialErrorsOrBuilder(int index)

public NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder getPartialErrorsOrBuilder(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder> getPartialErrorsOrBuilderList()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

getSourceGcsUri()

public String getSourceGcsUri()

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Returns
Type Description
String

The sourceGcsUri.

getSourceGcsUriBytes()

public ByteString getSourceGcsUriBytes()

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Returns
Type Description
ByteString

The bytes for sourceGcsUri.

getValidRecordCount()

public long getValidRecordCount()

Number of records in this file that were successfully processed.

int64 valid_record_count = 2;

Returns
Type Description
long

The validRecordCount.

getValidSparseRecordCount()

public long getValidSparseRecordCount()

Number of sparse records in this file that were successfully processed.

int64 valid_sparse_record_count = 5;

Returns
Type Description
long

The validSparseRecordCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata.ContentValidationStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

removePartialErrors(int index)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder removePartialErrors(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

setField(Descriptors.FieldDescriptor field, Object value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

setInvalidRecordCount(long value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setInvalidRecordCount(long value)

Number of records in this file we skipped due to validate errors.

int64 invalid_record_count = 3;

Parameter
Name Description
value long

The invalidRecordCount to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setInvalidSparseRecordCount(long value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setInvalidSparseRecordCount(long value)

Number of sparse records in this file we skipped due to validate errors.

int64 invalid_sparse_record_count = 6;

Parameter
Name Description
value long

The invalidSparseRecordCount to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError value)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

setPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setPartialErrors(int index, NearestNeighborSearchOperationMetadata.RecordError.Builder builderForValue)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

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

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

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

setSourceGcsUri(String value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setSourceGcsUri(String value)

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Parameter
Name Description
value String

The sourceGcsUri to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setSourceGcsUriBytes(ByteString value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setSourceGcsUriBytes(ByteString value)

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Parameter
Name Description
value ByteString

The bytes for sourceGcsUri to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

setValidRecordCount(long value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setValidRecordCount(long value)

Number of records in this file that were successfully processed.

int64 valid_record_count = 2;

Parameter
Name Description
value long

The validRecordCount to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setValidSparseRecordCount(long value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setValidSparseRecordCount(long value)

Number of sparse records in this file that were successfully processed.

int64 valid_sparse_record_count = 5;

Parameter
Name Description
value long

The validSparseRecordCount to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.