Package ai.chalk.protos.chalk.common.v1
Class ChalkError
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.common.v1.ChalkError
- All Implemented Interfaces:
ChalkErrorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ChalkError
extends com.google.protobuf.GeneratedMessageV3
implements ChalkErrorOrBuilder
Protobuf type
chalk.common.v1.ChalkError- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.common.v1.ChalkErrorNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.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"];static ChalkErrorstatic final com.google.protobuf.Descriptors.DescriptorA 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.com.google.protobuf.Parser<ChalkError>The fully qualified name of the failing resolver, e.g.com.google.protobuf.ByteStringThe fully qualified name of the failing resolver, e.g.intbooleanA 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.inthashCode()booleanThe fully qualified name of the failing resolver, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ChalkError.Builderstatic ChalkError.BuildernewBuilder(ChalkError prototype) protected ChalkError.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ChalkErrorparseDelimitedFrom(InputStream input) static ChalkErrorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChalkErrorparseFrom(byte[] data) static ChalkErrorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChalkErrorparseFrom(com.google.protobuf.ByteString data) static ChalkErrorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChalkErrorparseFrom(com.google.protobuf.CodedInputStream input) static ChalkErrorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChalkErrorparseFrom(InputStream input) static ChalkErrorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChalkErrorparseFrom(ByteBuffer data) static ChalkErrorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ChalkError>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER- See Also:
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
DISPLAY_PRIMARY_KEY_FIELD_NUMBER
public static final int DISPLAY_PRIMARY_KEY_FIELD_NUMBER- See Also:
-
DISPLAY_PRIMARY_KEY_FQN_FIELD_NUMBER
public static final int DISPLAY_PRIMARY_KEY_FQN_FIELD_NUMBER- See Also:
-
EXCEPTION_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER- See Also:
-
FEATURE_FIELD_NUMBER
public static final int FEATURE_FIELD_NUMBER- See Also:
-
RESOLVER_FIELD_NUMBER
public static final int RESOLVER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCodeValue
public int getCodeValue().chalk.common.v1.ErrorCode code = 1 [json_name = "code"];- Specified by:
getCodeValuein interfaceChalkErrorOrBuilder- Returns:
- The enum numeric value on the wire for code.
-
getCode
.chalk.common.v1.ErrorCode code = 1 [json_name = "code"];- Specified by:
getCodein interfaceChalkErrorOrBuilder- Returns:
- The code.
-
getCategoryValue
public int getCategoryValue().chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];- Specified by:
getCategoryValuein interfaceChalkErrorOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
getCategory
.chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];- Specified by:
getCategoryin interfaceChalkErrorOrBuilder- Returns:
- The category.
-
getMessage
A readable description of the error message.
string message = 3 [json_name = "message"];- Specified by:
getMessagein interfaceChalkErrorOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()A readable description of the error message.
string message = 3 [json_name = "message"];- Specified by:
getMessageBytesin interfaceChalkErrorOrBuilder- Returns:
- The bytes for message.
-
hasDisplayPrimaryKey
public 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"];- Specified by:
hasDisplayPrimaryKeyin interfaceChalkErrorOrBuilder- Returns:
- Whether the displayPrimaryKey field is set.
-
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"];- Specified by:
getDisplayPrimaryKeyin interfaceChalkErrorOrBuilder- Returns:
- The displayPrimaryKey.
-
getDisplayPrimaryKeyBytes
public 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"];- Specified by:
getDisplayPrimaryKeyBytesin interfaceChalkErrorOrBuilder- Returns:
- The bytes for displayPrimaryKey.
-
hasDisplayPrimaryKeyFqn
public 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"];- Specified by:
hasDisplayPrimaryKeyFqnin interfaceChalkErrorOrBuilder- Returns:
- Whether the displayPrimaryKeyFqn field is set.
-
getDisplayPrimaryKeyFqn
If provided, can be used to add additional context to 'display_primary_key'.
optional string display_primary_key_fqn = 102 [json_name = "displayPrimaryKeyFqn"];- Specified by:
getDisplayPrimaryKeyFqnin interfaceChalkErrorOrBuilder- Returns:
- The displayPrimaryKeyFqn.
-
getDisplayPrimaryKeyFqnBytes
public 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"];- Specified by:
getDisplayPrimaryKeyFqnBytesin interfaceChalkErrorOrBuilder- Returns:
- The bytes for displayPrimaryKeyFqn.
-
hasException
public boolean hasException()The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];- Specified by:
hasExceptionin interfaceChalkErrorOrBuilder- Returns:
- Whether the exception field is set.
-
getException
The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];- Specified by:
getExceptionin interfaceChalkErrorOrBuilder- Returns:
- The exception.
-
getExceptionOrBuilder
The exception that caused the failure, if applicable.
optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];- Specified by:
getExceptionOrBuilderin interfaceChalkErrorOrBuilder
-
hasFeature
public boolean hasFeature()The fully qualified name of the failing feature, e.g. `user.identity.has_voip_phone`.
optional string feature = 104 [json_name = "feature"];- Specified by:
hasFeaturein interfaceChalkErrorOrBuilder- Returns:
- Whether the feature field is set.
-
getFeature
The fully qualified name of the failing feature, e.g. `user.identity.has_voip_phone`.
optional string feature = 104 [json_name = "feature"];- Specified by:
getFeaturein interfaceChalkErrorOrBuilder- Returns:
- The feature.
-
getFeatureBytes
public 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"];- Specified by:
getFeatureBytesin interfaceChalkErrorOrBuilder- Returns:
- The bytes for feature.
-
hasResolver
public boolean hasResolver()The fully qualified name of the failing resolver, e.g. `my.project.get_fraud_score`.
optional string resolver = 105 [json_name = "resolver"];- Specified by:
hasResolverin interfaceChalkErrorOrBuilder- Returns:
- Whether the resolver field is set.
-
getResolver
The fully qualified name of the failing resolver, e.g. `my.project.get_fraud_score`.
optional string resolver = 105 [json_name = "resolver"];- Specified by:
getResolverin interfaceChalkErrorOrBuilder- Returns:
- The resolver.
-
getResolverBytes
public 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"];- Specified by:
getResolverBytesin interfaceChalkErrorOrBuilder- Returns:
- The bytes for resolver.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ChalkError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChalkError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChalkError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChalkError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChalkError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChalkError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ChalkError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ChalkError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ChalkError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ChalkError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-