Class ChalkException.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
ai.chalk.protos.chalk.common.v1.ChalkException.Builder
All Implemented Interfaces:
ChalkExceptionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ChalkException

public static final class ChalkException.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder> implements ChalkExceptionOrBuilder
Protobuf type chalk.common.v1.ChalkException
  • Method Details

    • 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.Builder<ChalkException.Builder>
    • clear

      public ChalkException.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • getDefaultInstanceForType

      public ChalkException getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ChalkException build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ChalkException buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public ChalkException.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • setField

      public ChalkException.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • clearField

      public ChalkException.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • clearOneof

      public ChalkException.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • setRepeatedField

      public ChalkException.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • addRepeatedField

      public ChalkException.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • mergeFrom

      public ChalkException.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChalkException.Builder>
    • mergeFrom

      public ChalkException.Builder mergeFrom(ChalkException other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • mergeFrom

      public ChalkException.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChalkException.Builder>
      Throws:
      IOException
    • getKind

      public String getKind()
       The name of the class of the exception.
       
      string kind = 1 [json_name = "kind"];
      Specified by:
      getKind in interface ChalkExceptionOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       The name of the class of the exception.
       
      string kind = 1 [json_name = "kind"];
      Specified by:
      getKindBytes in interface ChalkExceptionOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public ChalkException.Builder setKind(String value)
       The name of the class of the exception.
       
      string kind = 1 [json_name = "kind"];
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public ChalkException.Builder clearKind()
       The name of the class of the exception.
       
      string kind = 1 [json_name = "kind"];
      Returns:
      This builder for chaining.
    • setKindBytes

      public ChalkException.Builder setKindBytes(com.google.protobuf.ByteString value)
       The name of the class of the exception.
       
      string kind = 1 [json_name = "kind"];
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       The message taken from the exception.
       
      string message = 2 [json_name = "message"];
      Specified by:
      getMessage in interface ChalkExceptionOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       The message taken from the exception.
       
      string message = 2 [json_name = "message"];
      Specified by:
      getMessageBytes in interface ChalkExceptionOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public ChalkException.Builder setMessage(String value)
       The message taken from the exception.
       
      string message = 2 [json_name = "message"];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public ChalkException.Builder clearMessage()
       The message taken from the exception.
       
      string message = 2 [json_name = "message"];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public ChalkException.Builder setMessageBytes(com.google.protobuf.ByteString value)
       The message taken from the exception.
       
      string message = 2 [json_name = "message"];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getStacktrace

      public String getStacktrace()
       The stacktrace produced by the code.
       
      string stacktrace = 3 [json_name = "stacktrace"];
      Specified by:
      getStacktrace in interface ChalkExceptionOrBuilder
      Returns:
      The stacktrace.
    • getStacktraceBytes

      public com.google.protobuf.ByteString getStacktraceBytes()
       The stacktrace produced by the code.
       
      string stacktrace = 3 [json_name = "stacktrace"];
      Specified by:
      getStacktraceBytes in interface ChalkExceptionOrBuilder
      Returns:
      The bytes for stacktrace.
    • setStacktrace

      public ChalkException.Builder setStacktrace(String value)
       The stacktrace produced by the code.
       
      string stacktrace = 3 [json_name = "stacktrace"];
      Parameters:
      value - The stacktrace to set.
      Returns:
      This builder for chaining.
    • clearStacktrace

      public ChalkException.Builder clearStacktrace()
       The stacktrace produced by the code.
       
      string stacktrace = 3 [json_name = "stacktrace"];
      Returns:
      This builder for chaining.
    • setStacktraceBytes

      public ChalkException.Builder setStacktraceBytes(com.google.protobuf.ByteString value)
       The stacktrace produced by the code.
       
      string stacktrace = 3 [json_name = "stacktrace"];
      Parameters:
      value - The bytes for stacktrace to set.
      Returns:
      This builder for chaining.
    • getInternalStacktrace

      public String getInternalStacktrace()
       The stacktrace produced by the code, full detail.
       
      string internal_stacktrace = 4 [json_name = "internalStacktrace"];
      Specified by:
      getInternalStacktrace in interface ChalkExceptionOrBuilder
      Returns:
      The internalStacktrace.
    • getInternalStacktraceBytes

      public com.google.protobuf.ByteString getInternalStacktraceBytes()
       The stacktrace produced by the code, full detail.
       
      string internal_stacktrace = 4 [json_name = "internalStacktrace"];
      Specified by:
      getInternalStacktraceBytes in interface ChalkExceptionOrBuilder
      Returns:
      The bytes for internalStacktrace.
    • setInternalStacktrace

      public ChalkException.Builder setInternalStacktrace(String value)
       The stacktrace produced by the code, full detail.
       
      string internal_stacktrace = 4 [json_name = "internalStacktrace"];
      Parameters:
      value - The internalStacktrace to set.
      Returns:
      This builder for chaining.
    • clearInternalStacktrace

      public ChalkException.Builder clearInternalStacktrace()
       The stacktrace produced by the code, full detail.
       
      string internal_stacktrace = 4 [json_name = "internalStacktrace"];
      Returns:
      This builder for chaining.
    • setInternalStacktraceBytes

      public ChalkException.Builder setInternalStacktraceBytes(com.google.protobuf.ByteString value)
       The stacktrace produced by the code, full detail.
       
      string internal_stacktrace = 4 [json_name = "internalStacktrace"];
      Parameters:
      value - The bytes for internalStacktrace to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ChalkException.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>
    • mergeUnknownFields

      public final ChalkException.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChalkException.Builder>