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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type chalk.common.v1.ChalkError

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    .chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];
    int
    .chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];
    .chalk.common.v1.ErrorCode code = 1 [json_name = "code"];
    int
    .chalk.common.v1.ErrorCode code = 1 [json_name = "code"];
    static ChalkError
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    A human-readable hint that can be used to identify the entity that this error is associated with.
    com.google.protobuf.ByteString
    A 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.ByteString
    If 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.ByteString
    The fully qualified name of the failing feature, e.g.
    A readable description of the error message.
    com.google.protobuf.ByteString
    A readable description of the error message.
    com.google.protobuf.Parser<ChalkError>
     
    The fully qualified name of the failing resolver, e.g.
    com.google.protobuf.ByteString
    The fully qualified name of the failing resolver, e.g.
    int
     
    boolean
    A human-readable hint that can be used to identify the entity that this error is associated with.
    boolean
    If provided, can be used to add additional context to 'display_primary_key'.
    boolean
    The exception that caused the failure, if applicable.
    boolean
    The fully qualified name of the failing feature, e.g.
    int
     
    boolean
    The fully qualified name of the failing resolver, e.g.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static ChalkError
     
    static ChalkError
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ChalkError
    parseFrom(byte[] data)
     
    static ChalkError
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ChalkError
    parseFrom(com.google.protobuf.ByteString data)
     
    static ChalkError
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ChalkError
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ChalkError
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ChalkError
     
    static ChalkError
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ChalkError
     
    static ChalkError
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ChalkError>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getCodeValue

      public int getCodeValue()
      .chalk.common.v1.ErrorCode code = 1 [json_name = "code"];
      Specified by:
      getCodeValue in interface ChalkErrorOrBuilder
      Returns:
      The enum numeric value on the wire for code.
    • getCode

      public ErrorCode getCode()
      .chalk.common.v1.ErrorCode code = 1 [json_name = "code"];
      Specified by:
      getCode in interface ChalkErrorOrBuilder
      Returns:
      The code.
    • getCategoryValue

      public int getCategoryValue()
      .chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];
      Specified by:
      getCategoryValue in interface ChalkErrorOrBuilder
      Returns:
      The enum numeric value on the wire for category.
    • getCategory

      public ErrorCodeCategory getCategory()
      .chalk.common.v1.ErrorCodeCategory category = 2 [json_name = "category"];
      Specified by:
      getCategory in interface ChalkErrorOrBuilder
      Returns:
      The category.
    • getMessage

      public String getMessage()
       A readable description of the error message.
       
      string message = 3 [json_name = "message"];
      Specified by:
      getMessage in interface ChalkErrorOrBuilder
      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:
      getMessageBytes in interface ChalkErrorOrBuilder
      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:
      hasDisplayPrimaryKey in interface ChalkErrorOrBuilder
      Returns:
      Whether the displayPrimaryKey field is set.
    • getDisplayPrimaryKey

      public 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"];
      Specified by:
      getDisplayPrimaryKey in interface ChalkErrorOrBuilder
      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:
      getDisplayPrimaryKeyBytes in interface ChalkErrorOrBuilder
      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:
      hasDisplayPrimaryKeyFqn in interface ChalkErrorOrBuilder
      Returns:
      Whether the displayPrimaryKeyFqn field is set.
    • getDisplayPrimaryKeyFqn

      public 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"];
      Specified by:
      getDisplayPrimaryKeyFqn in interface ChalkErrorOrBuilder
      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:
      getDisplayPrimaryKeyFqnBytes in interface ChalkErrorOrBuilder
      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:
      hasException in interface ChalkErrorOrBuilder
      Returns:
      Whether the exception field is set.
    • getException

      public ChalkException getException()
       The exception that caused the failure, if applicable.
       
      optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];
      Specified by:
      getException in interface ChalkErrorOrBuilder
      Returns:
      The exception.
    • getExceptionOrBuilder

      public ChalkExceptionOrBuilder getExceptionOrBuilder()
       The exception that caused the failure, if applicable.
       
      optional .chalk.common.v1.ChalkException exception = 103 [json_name = "exception"];
      Specified by:
      getExceptionOrBuilder in interface ChalkErrorOrBuilder
    • 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:
      hasFeature in interface ChalkErrorOrBuilder
      Returns:
      Whether the feature field is set.
    • getFeature

      public String 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:
      getFeature in interface ChalkErrorOrBuilder
      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:
      getFeatureBytes in interface ChalkErrorOrBuilder
      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:
      hasResolver in interface ChalkErrorOrBuilder
      Returns:
      Whether the resolver field is set.
    • getResolver

      public String 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:
      getResolver in interface ChalkErrorOrBuilder
      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:
      getResolverBytes in interface ChalkErrorOrBuilder
      Returns:
      The bytes for resolver.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ChalkError parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ChalkError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ChalkError parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ChalkError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ChalkError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ChalkError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ChalkError.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ChalkError.Builder newBuilder()
    • newBuilder

      public static ChalkError.Builder newBuilder(ChalkError prototype)
    • toBuilder

      public ChalkError.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ChalkError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ChalkError getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ChalkError> parser()
    • getParserForType

      public com.google.protobuf.Parser<ChalkError> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ChalkError getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder