Class NearestNeighborSearchOperationMetadata.RecordError (3.35.0)

public static final class NearestNeighborSearchOperationMetadata.RecordError extends GeneratedMessageV3 implements NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder

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

Inheritance

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

Static Fields

EMBEDDING_ID_FIELD_NUMBER

public static final int EMBEDDING_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_TYPE_FIELD_NUMBER

public static final int ERROR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

RAW_RECORD_FIELD_NUMBER

public static final int RAW_RECORD_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_GCS_URI_FIELD_NUMBER

public static final int SOURCE_GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NearestNeighborSearchOperationMetadata.RecordError getDefaultInstance()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilder()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

newBuilder(NearestNeighborSearchOperationMetadata.RecordError prototype)

public static NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilder(NearestNeighborSearchOperationMetadata.RecordError prototype)
Parameter
NameDescription
prototypeNearestNeighborSearchOperationMetadata.RecordError
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

parseDelimitedFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NearestNeighborSearchOperationMetadata.RecordError> parser()
Returns
TypeDescription
Parser<RecordError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<NearestNeighborSearchOperationMetadata.RecordError> getParserForType()
Returns
TypeDescription
Parser<RecordError>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilderForType()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NearestNeighborSearchOperationMetadata.RecordError.Builder toBuilder()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException