Package com.google.cloud.aiplatform.v1
Enum NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType
java.lang.Object
java.lang.Enum<NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType>
com.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType>
- Enclosing class:
- NearestNeighborSearchOperationMetadata.RecordError
public static enum NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType
extends Enum<NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere are multiple restricts with the same `namespace` value.The size of the dense embedding vectors does not match with the specified dimension.The record is empty.Default, shall not be used.Invalid avro format.Invalid csv format.Invalid dense embedding.The embedding id is not valid.File is not in UTF_8 format.Invalid json format.Numeric restrict has invalid numeric value specified.Error parsing sparse dimensions field.Invalid sparse embedding.Token restrict value is invalid.Numeric restrict has multiple values specified.The `namespace` field is missing.Numeric restrict has operator specified in datapoint.Generic catch-all error. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThere are multiple restricts with the same `namespace` value.static final intThe size of the dense embedding vectors does not match with the specified dimension.static final intThe record is empty.static final intDefault, shall not be used.static final intInvalid avro format.static final intInvalid csv format.static final intThe embedding id is not valid.static final intInvalid dense embedding.static final intFile is not in UTF_8 format.static final intInvalid json format.static final intNumeric restrict has invalid numeric value specified.static final intError parsing sparse dimensions field.static final intInvalid sparse embedding.static final intToken restrict value is invalid.static final intNumeric restrict has multiple values specified.static final intThe `namespace` field is missing.static final intNumeric restrict has operator specified in datapoint.static final intGeneric catch-all error. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR_TYPE_UNSPECIFIED
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType ERROR_TYPE_UNSPECIFIEDDefault, shall not be used.
ERROR_TYPE_UNSPECIFIED = 0; -
EMPTY_LINE
The record is empty.
EMPTY_LINE = 1; -
INVALID_JSON_SYNTAX
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_JSON_SYNTAXInvalid json format.
INVALID_JSON_SYNTAX = 2; -
INVALID_CSV_SYNTAX
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_CSV_SYNTAXInvalid csv format.
INVALID_CSV_SYNTAX = 3; -
INVALID_AVRO_SYNTAX
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_AVRO_SYNTAXInvalid avro format.
INVALID_AVRO_SYNTAX = 4; -
INVALID_EMBEDDING_ID
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_EMBEDDING_IDThe embedding id is not valid.
INVALID_EMBEDDING_ID = 5; -
EMBEDDING_SIZE_MISMATCH
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType EMBEDDING_SIZE_MISMATCHThe size of the dense embedding vectors does not match with the specified dimension.
EMBEDDING_SIZE_MISMATCH = 6; -
NAMESPACE_MISSING
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType NAMESPACE_MISSINGThe `namespace` field is missing.
NAMESPACE_MISSING = 7; -
PARSING_ERROR
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType PARSING_ERRORGeneric catch-all error. Only used for validation failure where the root cause cannot be easily retrieved programmatically.
PARSING_ERROR = 8; -
DUPLICATE_NAMESPACE
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType DUPLICATE_NAMESPACEThere are multiple restricts with the same `namespace` value.
DUPLICATE_NAMESPACE = 9; -
OP_IN_DATAPOINT
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType OP_IN_DATAPOINTNumeric restrict has operator specified in datapoint.
OP_IN_DATAPOINT = 10; -
MULTIPLE_VALUES
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType MULTIPLE_VALUESNumeric restrict has multiple values specified.
MULTIPLE_VALUES = 11; -
INVALID_NUMERIC_VALUE
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_NUMERIC_VALUENumeric restrict has invalid numeric value specified.
INVALID_NUMERIC_VALUE = 12; -
INVALID_ENCODING
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_ENCODINGFile is not in UTF_8 format.
INVALID_ENCODING = 13; -
INVALID_SPARSE_DIMENSIONS
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_SPARSE_DIMENSIONSError parsing sparse dimensions field.
INVALID_SPARSE_DIMENSIONS = 14; -
INVALID_TOKEN_VALUE
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_TOKEN_VALUEToken restrict value is invalid.
INVALID_TOKEN_VALUE = 15; -
INVALID_SPARSE_EMBEDDING
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_SPARSE_EMBEDDINGInvalid sparse embedding.
INVALID_SPARSE_EMBEDDING = 16; -
INVALID_EMBEDDING
public static final NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType INVALID_EMBEDDINGInvalid dense embedding.
INVALID_EMBEDDING = 17; -
UNRECOGNIZED
-
-
Field Details
-
ERROR_TYPE_UNSPECIFIED_VALUE
public static final int ERROR_TYPE_UNSPECIFIED_VALUEDefault, shall not be used.
ERROR_TYPE_UNSPECIFIED = 0;- See Also:
-
EMPTY_LINE_VALUE
public static final int EMPTY_LINE_VALUEThe record is empty.
EMPTY_LINE = 1;- See Also:
-
INVALID_JSON_SYNTAX_VALUE
public static final int INVALID_JSON_SYNTAX_VALUEInvalid json format.
INVALID_JSON_SYNTAX = 2;- See Also:
-
INVALID_CSV_SYNTAX_VALUE
public static final int INVALID_CSV_SYNTAX_VALUEInvalid csv format.
INVALID_CSV_SYNTAX = 3;- See Also:
-
INVALID_AVRO_SYNTAX_VALUE
public static final int INVALID_AVRO_SYNTAX_VALUEInvalid avro format.
INVALID_AVRO_SYNTAX = 4;- See Also:
-
INVALID_EMBEDDING_ID_VALUE
public static final int INVALID_EMBEDDING_ID_VALUEThe embedding id is not valid.
INVALID_EMBEDDING_ID = 5;- See Also:
-
EMBEDDING_SIZE_MISMATCH_VALUE
public static final int EMBEDDING_SIZE_MISMATCH_VALUEThe size of the dense embedding vectors does not match with the specified dimension.
EMBEDDING_SIZE_MISMATCH = 6;- See Also:
-
NAMESPACE_MISSING_VALUE
public static final int NAMESPACE_MISSING_VALUEThe `namespace` field is missing.
NAMESPACE_MISSING = 7;- See Also:
-
PARSING_ERROR_VALUE
public static final int PARSING_ERROR_VALUEGeneric catch-all error. Only used for validation failure where the root cause cannot be easily retrieved programmatically.
PARSING_ERROR = 8;- See Also:
-
DUPLICATE_NAMESPACE_VALUE
public static final int DUPLICATE_NAMESPACE_VALUEThere are multiple restricts with the same `namespace` value.
DUPLICATE_NAMESPACE = 9;- See Also:
-
OP_IN_DATAPOINT_VALUE
public static final int OP_IN_DATAPOINT_VALUENumeric restrict has operator specified in datapoint.
OP_IN_DATAPOINT = 10;- See Also:
-
MULTIPLE_VALUES_VALUE
public static final int MULTIPLE_VALUES_VALUENumeric restrict has multiple values specified.
MULTIPLE_VALUES = 11;- See Also:
-
INVALID_NUMERIC_VALUE_VALUE
public static final int INVALID_NUMERIC_VALUE_VALUENumeric restrict has invalid numeric value specified.
INVALID_NUMERIC_VALUE = 12;- See Also:
-
INVALID_ENCODING_VALUE
public static final int INVALID_ENCODING_VALUEFile is not in UTF_8 format.
INVALID_ENCODING = 13;- See Also:
-
INVALID_SPARSE_DIMENSIONS_VALUE
public static final int INVALID_SPARSE_DIMENSIONS_VALUEError parsing sparse dimensions field.
INVALID_SPARSE_DIMENSIONS = 14;- See Also:
-
INVALID_TOKEN_VALUE_VALUE
public static final int INVALID_TOKEN_VALUE_VALUEToken restrict value is invalid.
INVALID_TOKEN_VALUE = 15;- See Also:
-
INVALID_SPARSE_EMBEDDING_VALUE
public static final int INVALID_SPARSE_EMBEDDING_VALUEInvalid sparse embedding.
INVALID_SPARSE_EMBEDDING = 16;- See Also:
-
INVALID_EMBEDDING_VALUE
public static final int INVALID_EMBEDDING_VALUEInvalid dense embedding.
INVALID_EMBEDDING = 17;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType forNumber(int value) - Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-