Class NearestNeighborSearchOperationMetadata.RecordError.Builder (3.19.0)

See more code actions.
public static final class NearestNeighborSearchOperationMetadata.RecordError.Builder extends GeneratedMessageV3.Builder<NearestNeighborSearchOperationMetadata.RecordError.Builder> implements NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder

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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NearestNeighborSearchOperationMetadata.RecordError.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public NearestNeighborSearchOperationMetadata.RecordError build()

buildPartial()

public NearestNeighborSearchOperationMetadata.RecordError buildPartial()

clear()

public NearestNeighborSearchOperationMetadata.RecordError.Builder clear()
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.v1.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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata.RecordError getDefaultInstanceForType()

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

getErrorTypeValue()

public int getErrorTypeValue()

The error type of this record.

.google.cloud.aiplatform.v1.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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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