Class NearestNeighborSearchOperationMetadata.RecordError.Builder (3.41.0)

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

Protobuf type google.cloud.aiplatform.v1beta1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEmbeddingId()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearEmbeddingId()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
TypeDescription
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
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearErrorType()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearErrorType()

The error type of this record.

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

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRawRecord()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clearRawRecord()

The original content of this record.

string raw_record = 5;

Returns
TypeDescription
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
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmbeddingId()

public String getEmbeddingId()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
TypeDescription
String

The embeddingId.

getEmbeddingIdBytes()

public ByteString getEmbeddingIdBytes()

Empty if the embedding id is failed to parse.

string embedding_id = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for errorMessage.

getErrorType()

public NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType getErrorType()

The error type of this record.

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

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType

The errorType.

getErrorTypeValue()

public int getErrorTypeValue()

The error type of this record.

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

Returns
TypeDescription
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
TypeDescription
String

The rawRecord.

getRawRecordBytes()

public ByteString getRawRecordBytes()

The original content of this record.

string raw_record = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceGcsUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NearestNeighborSearchOperationMetadata.RecordError other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The embeddingId to set.

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

The bytes for embeddingId to set.

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

The errorMessage to set.

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

The bytes for errorMessage to set.

Returns
TypeDescription
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.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Parameter
NameDescription
valueNearestNeighborSearchOperationMetadata.RecordError.RecordErrorType

The errorType to set.

Returns
TypeDescription
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.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The rawRecord to set.

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

The bytes for rawRecord to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceGcsUri to set.

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

The bytes for sourceGcsUri to set.

Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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