Class NearestNeighborSearchOperationMetadata.RecordError.Builder (3.56.0)

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

Protobuf type google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEmbeddingId()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearEmbeddingId()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearErrorMessage()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearErrorMessage()

A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.

string error_message = 2;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearErrorType()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearErrorType()

The error type of this record.

.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRawRecord()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearRawRecord()

The original content of this record.

string raw_record = 5;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearSourceGcsUri()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearSourceGcsUri()

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

string source_gcs_uri = 3;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEmbeddingId()

public String getEmbeddingId()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
Type Description
String

The embeddingId.

getEmbeddingIdBytes()

public ByteString getEmbeddingIdBytes()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
Type Description
ByteString

The bytes for embeddingId.

getErrorMessage()

public String getErrorMessage()

A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getErrorType()

public NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType getErrorType()

The error type of this record.

.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType

The errorType.

getErrorTypeValue()

public int getErrorTypeValue()

The error type of this record.

.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for errorType.

getRawRecord()

public String getRawRecord()

The original content of this record.

string raw_record = 5;

Returns
Type Description
String

The rawRecord.

getRawRecordBytes()

public ByteString getRawRecordBytes()

The original content of this record.

string raw_record = 5;

Returns
Type Description
ByteString

The bytes for rawRecord.

getSourceGcsUri()

public String getSourceGcsUri()

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

string source_gcs_uri = 3;

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 = 3;

Returns
Type Description
ByteString

The bytes for sourceGcsUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata.RecordError other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEmbeddingId(String value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setEmbeddingId(String value)

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Parameter
Name Description
value String

The embeddingId to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setEmbeddingIdBytes(ByteString value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setEmbeddingIdBytes(ByteString value)

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Parameter
Name Description
value ByteString

The bytes for embeddingId to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setErrorMessage(String value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorMessage(String value)

A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.

string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorMessageBytes(ByteString value)

A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.

string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setErrorType(NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorType(NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType value)

The error type of this record.

.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Parameter
Name Description
value NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType

The errorType to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setErrorTypeValue(int value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorTypeValue(int value)

The error type of this record.

.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for errorType to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRawRecord(String value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setRawRecord(String value)

The original content of this record.

string raw_record = 5;

Parameter
Name Description
value String

The rawRecord to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setRawRecordBytes(ByteString value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setRawRecordBytes(ByteString value)

The original content of this record.

string raw_record = 5;

Parameter
Name Description
value ByteString

The bytes for rawRecord to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

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

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

setSourceGcsUri(String value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setSourceGcsUri(String value)

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

string source_gcs_uri = 3;

Parameter
Name Description
value String

The sourceGcsUri to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setSourceGcsUriBytes(ByteString value)

public NearestNeighborSearchOperationMetadata.RecordError.Builder setSourceGcsUriBytes(ByteString value)

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

string source_gcs_uri = 3;

Parameter
Name Description
value ByteString

The bytes for sourceGcsUri to set.

Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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