Class NearestNeighborSearchOperationMetadata.RecordError (3.42.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
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_TYPE_FIELD_NUMBER

public static final int ERROR_TYPE_FIELD_NUMBER
Field Value
Type Description
int

RAW_RECORD_FIELD_NUMBER

public static final int RAW_RECORD_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_GCS_URI_FIELD_NUMBER

public static final int SOURCE_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NearestNeighborSearchOperationMetadata.RecordError getDefaultInstance()
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError

getDescriptor()

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

newBuilder()

public static NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilder()
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

newBuilder(NearestNeighborSearchOperationMetadata.RecordError prototype)

public static NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilder(NearestNeighborSearchOperationMetadata.RecordError prototype)
Parameter
Name Description
prototype NearestNeighborSearchOperationMetadata.RecordError
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

parseDelimitedFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.RecordError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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

Returns
Type Description
int

The enum numeric value on the wire for errorType.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilderForType()
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NearestNeighborSearchOperationMetadata.RecordError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NearestNeighborSearchOperationMetadata.RecordError.Builder toBuilder()
Returns
Type Description
NearestNeighborSearchOperationMetadata.RecordError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException