Google Cloud Ai Platform V1 Client - Class RecordError (1.4.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
Name Description
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
Type Description
int

setErrorType

The error type of this record.

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getSourceGcsUri

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

Returns
Type Description
string

setSourceGcsUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEmbeddingId

Empty if the embedding id is failed to parse.

Returns
Type Description
string

setEmbeddingId

Empty if the embedding id is failed to parse.

Parameter
Name Description
var string
Returns
Type Description
$this

getRawRecord

The original content of this record.

Returns
Type Description
string

setRawRecord

The original content of this record.

Parameter
Name Description
var string
Returns
Type Description
$this