Google Cloud Ai Platform V1 Client - Class RecordError (0.22.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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ NearestNeighborSearchOperationMetadata

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.

Returns
TypeDescription
int

setErrorType

The error type of this record.

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceGcsUri

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

Returns
TypeDescription
string

setSourceGcsUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEmbeddingId

Empty if the embedding id is failed to parse.

Returns
TypeDescription
string

setEmbeddingId

Empty if the embedding id is failed to parse.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRawRecord

The original content of this record.

Returns
TypeDescription
string

setRawRecord

The original content of this record.

Parameter
NameDescription
var string
Returns
TypeDescription
$this