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 | |
---|---|
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.
Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;
Returns | |
---|---|
Type | Description |
int |
setErrorType
The error type of this record.
Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;
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.
Generated from protobuf field string error_message = 2;
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.
Generated from protobuf field string error_message = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSourceGcsUri
Cloud Storage URI pointing to the original file in user's bucket.
Generated from protobuf field string source_gcs_uri = 3;
Returns | |
---|---|
Type | Description |
string |
setSourceGcsUri
Cloud Storage URI pointing to the original file in user's bucket.
Generated from protobuf field string source_gcs_uri = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEmbeddingId
Empty if the embedding id is failed to parse.
Generated from protobuf field string embedding_id = 4;
Returns | |
---|---|
Type | Description |
string |
setEmbeddingId
Empty if the embedding id is failed to parse.
Generated from protobuf field string embedding_id = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRawRecord
The original content of this record.
Generated from protobuf field string raw_record = 5;
Returns | |
---|---|
Type | Description |
string |
setRawRecord
The original content of this record.
Generated from protobuf field string raw_record = 5;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |