Package ai.chalk.protos.chalk.common.v1
Interface ChalkErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChalkError,ChalkError.Builder
public interface ChalkErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];int.chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];getCode().chalk.common.v1.ErrorCode code = 1 [json_name = "code"];int.chalk.common.v1.ErrorCode code = 1 [json_name = "code"];A human-readable hint that can be used to identify the entity that this error is associated with.com.google.protobuf.ByteStringA human-readable hint that can be used to identify the entity that this error is associated with.If provided, can be used to add additional context to 'display_primary_key'.com.google.protobuf.ByteStringIf provided, can be used to add additional context to 'display_primary_key'.The exception that caused the failure, if applicable.The exception that caused the failure, if applicable.The fully qualified name of the failing feature, e.g.com.google.protobuf.ByteStringThe fully qualified name of the failing feature, e.g.A readable description of the error message.com.google.protobuf.ByteStringA readable description of the error message.The fully qualified name of the failing resolver, e.g.com.google.protobuf.ByteStringThe fully qualified name of the failing resolver, e.g.booleanA human-readable hint that can be used to identify the entity that this error is associated with.booleanIf provided, can be used to add additional context to 'display_primary_key'.booleanThe exception that caused the failure, if applicable.booleanThe fully qualified name of the failing feature, e.g.booleanThe fully qualified name of the failing resolver, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCodeValue
int getCodeValue().chalk.common.v1.ErrorCode code = 1 [json_name = "code"];- Returns:
- The enum numeric value on the wire for code.
-
getCode
ErrorCode getCode().chalk.common.v1.ErrorCode code = 1 [json_name = "code"];- Returns:
- The code.
-
getCategoryValue
int getCategoryValue().chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];- Returns:
- The enum numeric value on the wire for category.
-
getCategory
ErrorCodeCategory getCategory().chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];- Returns:
- The category.
-
getMessage
String getMessage()A readable description of the error message.
string message = 3 [json_name = "message"];- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()A readable description of the error message.
string message = 3 [json_name = "message"];- Returns:
- The bytes for message.
-
hasDisplayPrimaryKey
boolean hasDisplayPrimaryKey()A human-readable hint that can be used to identify the entity that this error is associated with.
optional string display_primary_key = 101 [json_name = "displayPrimaryKey"];- Returns:
- Whether the displayPrimaryKey field is set.
-
getDisplayPrimaryKey
String getDisplayPrimaryKey()A human-readable hint that can be used to identify the entity that this error is associated with.
optional string display_primary_key = 101 [json_name = "displayPrimaryKey"];- Returns:
- The displayPrimaryKey.
-
getDisplayPrimaryKeyBytes
com.google.protobuf.ByteString getDisplayPrimaryKeyBytes()A human-readable hint that can be used to identify the entity that this error is associated with.
optional string display_primary_key = 101 [json_name = "displayPrimaryKey"];- Returns:
- The bytes for displayPrimaryKey.
-
hasDisplayPrimaryKeyFqn
boolean hasDisplayPrimaryKeyFqn()If provided, can be used to add additional context to 'display_primary_key'.
optional string display_primary_key_fqn = 102 [json_name = "displayPrimaryKeyFqn"];- Returns:
- Whether the displayPrimaryKeyFqn field is set.
-
getDisplayPrimaryKeyFqn
String getDisplayPrimaryKeyFqn()If provided, can be used to add additional context to 'display_primary_key'.
optional string display_primary_key_fqn = 102 [json_name = "displayPrimaryKeyFqn"];- Returns:
- The displayPrimaryKeyFqn.
-
getDisplayPrimaryKeyFqnBytes
com.google.protobuf.ByteString getDisplayPrimaryKeyFqnBytes()If provided, can be used to add additional context to 'display_primary_key'.
optional string display_primary_key_fqn = 102 [json_name = "displayPrimaryKeyFqn"];- Returns:
- The bytes for displayPrimaryKeyFqn.
-
hasException
boolean hasException()The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];- Returns:
- Whether the exception field is set.
-
getException
ChalkException getException()The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];- Returns:
- The exception.
-
getExceptionOrBuilder
ChalkExceptionOrBuilder getExceptionOrBuilder()The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"]; -
hasFeature
boolean hasFeature()The fully qualified name of the failing feature, e.g. `user.identity.has_voip_phone`.
optional string feature = 104 [json_name = "feature"];- Returns:
- Whether the feature field is set.
-
getFeature
String getFeature()The fully qualified name of the failing feature, e.g. `user.identity.has_voip_phone`.
optional string feature = 104 [json_name = "feature"];- Returns:
- The feature.
-
getFeatureBytes
com.google.protobuf.ByteString getFeatureBytes()The fully qualified name of the failing feature, e.g. `user.identity.has_voip_phone`.
optional string feature = 104 [json_name = "feature"];- Returns:
- The bytes for feature.
-
hasResolver
boolean hasResolver()The fully qualified name of the failing resolver, e.g. `my.project.get_fraud_score`.
optional string resolver = 105 [json_name = "resolver"];- Returns:
- Whether the resolver field is set.
-
getResolver
String getResolver()The fully qualified name of the failing resolver, e.g. `my.project.get_fraud_score`.
optional string resolver = 105 [json_name = "resolver"];- Returns:
- The resolver.
-
getResolverBytes
com.google.protobuf.ByteString getResolverBytes()The fully qualified name of the failing resolver, e.g. `my.project.get_fraud_score`.
optional string resolver = 105 [json_name = "resolver"];- Returns:
- The bytes for resolver.
-