Class NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder (3.19.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError>
Returns
TypeDescription
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
NameDescription
valueNearestNeighborSearchOperationMetadata.RecordError
Returns
TypeDescription
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
NameDescription
builderForValueNearestNeighborSearchOperationMetadata.RecordError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNearestNeighborSearchOperationMetadata.RecordError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNearestNeighborSearchOperationMetadata.RecordError.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NearestNeighborSearchOperationMetadata.ContentValidationStats build()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats

buildPartial()

public NearestNeighborSearchOperationMetadata.ContentValidationStats buildPartial()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats

clear()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clear()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata.ContentValidationStats getDefaultInstanceForType()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInvalidRecordCount()

public long getInvalidRecordCount()

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

int64 invalid_record_count = 3;

Returns
TypeDescription
long

The invalidRecordCount.

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The validRecordCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata.ContentValidationStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The invalidRecordCount to set.

Returns
TypeDescription
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
NameDescription
indexint
valueNearestNeighborSearchOperationMetadata.RecordError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNearestNeighborSearchOperationMetadata.RecordError.Builder
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

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

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceGcsUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceGcsUri to set.

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The validRecordCount to set.

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

This builder for chaining.