Class: Google::Cloud::AIPlatform::V1::NearestNeighborSearchOperationMetadata::RecordError
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::NearestNeighborSearchOperationMetadata::RecordError
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/index_service.rb
Defined Under Namespace
Modules: RecordErrorType
Instance Attribute Summary collapse
-
#embedding_id ⇒ ::String
Empty if the embedding id is failed to parse.
-
#error_message ⇒ ::String
A human-readable message that is shown to the user to help them fix the error.
-
#error_type ⇒ ::Google::Cloud::AIPlatform::V1::NearestNeighborSearchOperationMetadata::RecordError::RecordErrorType
The error type of this record.
-
#raw_record ⇒ ::String
The original content of this record.
-
#source_gcs_uri ⇒ ::String
Cloud Storage URI pointing to the original file in user's bucket.
Instance Attribute Details
#embedding_id ⇒ ::String
Returns Empty if the embedding id is failed to parse.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/aiplatform/v1/index_service.rb', line 166 class RecordError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module RecordErrorType # Default, shall not be used. ERROR_TYPE_UNSPECIFIED = 0 # The record is empty. EMPTY_LINE = 1 # Invalid json format. INVALID_JSON_SYNTAX = 2 # Invalid csv format. INVALID_CSV_SYNTAX = 3 # Invalid avro format. INVALID_AVRO_SYNTAX = 4 # The embedding id is not valid. INVALID_EMBEDDING_ID = 5 # The size of the embedding vectors does not match with the specified # dimension. EMBEDDING_SIZE_MISMATCH = 6 # The `namespace` field is missing. NAMESPACE_MISSING = 7 end end |
#error_message ⇒ ::String
Returns 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.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/aiplatform/v1/index_service.rb', line 166 class RecordError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module RecordErrorType # Default, shall not be used. ERROR_TYPE_UNSPECIFIED = 0 # The record is empty. EMPTY_LINE = 1 # Invalid json format. INVALID_JSON_SYNTAX = 2 # Invalid csv format. INVALID_CSV_SYNTAX = 3 # Invalid avro format. INVALID_AVRO_SYNTAX = 4 # The embedding id is not valid. INVALID_EMBEDDING_ID = 5 # The size of the embedding vectors does not match with the specified # dimension. EMBEDDING_SIZE_MISMATCH = 6 # The `namespace` field is missing. NAMESPACE_MISSING = 7 end end |
#error_type ⇒ ::Google::Cloud::AIPlatform::V1::NearestNeighborSearchOperationMetadata::RecordError::RecordErrorType
Returns The error type of this record.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/aiplatform/v1/index_service.rb', line 166 class RecordError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module RecordErrorType # Default, shall not be used. ERROR_TYPE_UNSPECIFIED = 0 # The record is empty. EMPTY_LINE = 1 # Invalid json format. INVALID_JSON_SYNTAX = 2 # Invalid csv format. INVALID_CSV_SYNTAX = 3 # Invalid avro format. INVALID_AVRO_SYNTAX = 4 # The embedding id is not valid. INVALID_EMBEDDING_ID = 5 # The size of the embedding vectors does not match with the specified # dimension. EMBEDDING_SIZE_MISMATCH = 6 # The `namespace` field is missing. NAMESPACE_MISSING = 7 end end |
#raw_record ⇒ ::String
Returns The original content of this record.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/aiplatform/v1/index_service.rb', line 166 class RecordError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module RecordErrorType # Default, shall not be used. ERROR_TYPE_UNSPECIFIED = 0 # The record is empty. EMPTY_LINE = 1 # Invalid json format. INVALID_JSON_SYNTAX = 2 # Invalid csv format. INVALID_CSV_SYNTAX = 3 # Invalid avro format. INVALID_AVRO_SYNTAX = 4 # The embedding id is not valid. INVALID_EMBEDDING_ID = 5 # The size of the embedding vectors does not match with the specified # dimension. EMBEDDING_SIZE_MISMATCH = 6 # The `namespace` field is missing. NAMESPACE_MISSING = 7 end end |
#source_gcs_uri ⇒ ::String
Returns Cloud Storage URI pointing to the original file in user's bucket.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/aiplatform/v1/index_service.rb', line 166 class RecordError include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module RecordErrorType # Default, shall not be used. ERROR_TYPE_UNSPECIFIED = 0 # The record is empty. EMPTY_LINE = 1 # Invalid json format. INVALID_JSON_SYNTAX = 2 # Invalid csv format. INVALID_CSV_SYNTAX = 3 # Invalid avro format. INVALID_AVRO_SYNTAX = 4 # The embedding id is not valid. INVALID_EMBEDDING_ID = 5 # The size of the embedding vectors does not match with the specified # dimension. EMBEDDING_SIZE_MISMATCH = 6 # The `namespace` field is missing. NAMESPACE_MISSING = 7 end end |