Google Cloud Ai Platform V1 Client - Class RecordError (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RecordError.

Generated from protobuf message google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ error_type int

The error type of this record.

↳ error_message string

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.

↳ source_gcs_uri string

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

↳ embedding_id string

Empty if the embedding id is failed to parse.

↳ raw_record string

The original content of this record.

getErrorType

The error type of this record.

Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Returns
TypeDescription
int

setErrorType

The error type of this record.

Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

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.

Generated from protobuf field string error_message = 2;

Returns
TypeDescription
string

setErrorMessage

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.

Generated from protobuf field string error_message = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceGcsUri

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

Generated from protobuf field string source_gcs_uri = 3;

Returns
TypeDescription
string

setSourceGcsUri

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

Generated from protobuf field string source_gcs_uri = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEmbeddingId

Empty if the embedding id is failed to parse.

Generated from protobuf field string embedding_id = 4;

Returns
TypeDescription
string

setEmbeddingId

Empty if the embedding id is failed to parse.

Generated from protobuf field string embedding_id = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRawRecord

The original content of this record.

Generated from protobuf field string raw_record = 5;

Returns
TypeDescription
string

setRawRecord

The original content of this record.

Generated from protobuf field string raw_record = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this