Class Diagnostic.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
io.deephaven.proto.backplane.script.grpc.Diagnostic.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DiagnosticOrBuilder, Cloneable
Enclosing class:
Diagnostic

public static final class Diagnostic.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder> implements DiagnosticOrBuilder
Protobuf type io.deephaven.proto.backplane.script.grpc.Diagnostic
  • 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<Diagnostic.Builder>
    • clear

      public Diagnostic.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<Diagnostic.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<Diagnostic.Builder>
    • getDefaultInstanceForType

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

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

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

      public Diagnostic.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<Diagnostic.Builder>
    • setField

      public Diagnostic.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<Diagnostic.Builder>
    • clearField

      public Diagnostic.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<Diagnostic.Builder>
    • clearOneof

      public Diagnostic.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<Diagnostic.Builder>
    • setRepeatedField

      public Diagnostic.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<Diagnostic.Builder>
    • addRepeatedField

      public Diagnostic.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<Diagnostic.Builder>
    • mergeFrom

      public Diagnostic.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<Diagnostic.Builder>
    • mergeFrom

      public Diagnostic.Builder mergeFrom(Diagnostic other)
    • isInitialized

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

      public Diagnostic.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<Diagnostic.Builder>
      Throws:
      IOException
    • hasRange

      public boolean hasRange()
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
      Specified by:
      hasRange in interface DiagnosticOrBuilder
      Returns:
      Whether the range field is set.
    • getRange

      public DocumentRange getRange()
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
      Specified by:
      getRange in interface DiagnosticOrBuilder
      Returns:
      The range.
    • setRange

      public Diagnostic.Builder setRange(DocumentRange value)
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
    • setRange

      public Diagnostic.Builder setRange(DocumentRange.Builder builderForValue)
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
    • mergeRange

      public Diagnostic.Builder mergeRange(DocumentRange value)
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
    • clearRange

      public Diagnostic.Builder clearRange()
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
    • getRangeBuilder

      public DocumentRange.Builder getRangeBuilder()
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
    • getRangeOrBuilder

      public DocumentRangeOrBuilder getRangeOrBuilder()
      .io.deephaven.proto.backplane.script.grpc.DocumentRange range = 1;
      Specified by:
      getRangeOrBuilder in interface DiagnosticOrBuilder
    • getSeverityValue

      public int getSeverityValue()
      .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
      Specified by:
      getSeverityValue in interface DiagnosticOrBuilder
      Returns:
      The enum numeric value on the wire for severity.
    • setSeverityValue

      public Diagnostic.Builder setSeverityValue(int value)
      .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
      Parameters:
      value - The enum numeric value on the wire for severity to set.
      Returns:
      This builder for chaining.
    • getSeverity

      public Diagnostic.DiagnosticSeverity getSeverity()
      .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
      Specified by:
      getSeverity in interface DiagnosticOrBuilder
      Returns:
      The severity.
    • setSeverity

      .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public Diagnostic.Builder clearSeverity()
      .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticSeverity severity = 2;
      Returns:
      This builder for chaining.
    • hasCode

      public boolean hasCode()
      optional string code = 3;
      Specified by:
      hasCode in interface DiagnosticOrBuilder
      Returns:
      Whether the code field is set.
    • getCode

      public String getCode()
      optional string code = 3;
      Specified by:
      getCode in interface DiagnosticOrBuilder
      Returns:
      The code.
    • getCodeBytes

      public com.google.protobuf.ByteString getCodeBytes()
      optional string code = 3;
      Specified by:
      getCodeBytes in interface DiagnosticOrBuilder
      Returns:
      The bytes for code.
    • setCode

      public Diagnostic.Builder setCode(String value)
      optional string code = 3;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public Diagnostic.Builder clearCode()
      optional string code = 3;
      Returns:
      This builder for chaining.
    • setCodeBytes

      public Diagnostic.Builder setCodeBytes(com.google.protobuf.ByteString value)
      optional string code = 3;
      Parameters:
      value - The bytes for code to set.
      Returns:
      This builder for chaining.
    • hasCodeDescription

      public boolean hasCodeDescription()
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
      Specified by:
      hasCodeDescription in interface DiagnosticOrBuilder
      Returns:
      Whether the codeDescription field is set.
    • getCodeDescription

      public Diagnostic.CodeDescription getCodeDescription()
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
      Specified by:
      getCodeDescription in interface DiagnosticOrBuilder
      Returns:
      The codeDescription.
    • setCodeDescription

      public Diagnostic.Builder setCodeDescription(Diagnostic.CodeDescription value)
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
    • setCodeDescription

      public Diagnostic.Builder setCodeDescription(Diagnostic.CodeDescription.Builder builderForValue)
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
    • mergeCodeDescription

      public Diagnostic.Builder mergeCodeDescription(Diagnostic.CodeDescription value)
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
    • clearCodeDescription

      public Diagnostic.Builder clearCodeDescription()
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
    • getCodeDescriptionBuilder

      public Diagnostic.CodeDescription.Builder getCodeDescriptionBuilder()
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
    • getCodeDescriptionOrBuilder

      public Diagnostic.CodeDescriptionOrBuilder getCodeDescriptionOrBuilder()
      optional .io.deephaven.proto.backplane.script.grpc.Diagnostic.CodeDescription code_description = 4;
      Specified by:
      getCodeDescriptionOrBuilder in interface DiagnosticOrBuilder
    • hasSource

      public boolean hasSource()
      optional string source = 5;
      Specified by:
      hasSource in interface DiagnosticOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
      optional string source = 5;
      Specified by:
      getSource in interface DiagnosticOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      optional string source = 5;
      Specified by:
      getSourceBytes in interface DiagnosticOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public Diagnostic.Builder setSource(String value)
      optional string source = 5;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public Diagnostic.Builder clearSource()
      optional string source = 5;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public Diagnostic.Builder setSourceBytes(com.google.protobuf.ByteString value)
      optional string source = 5;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
      string message = 6;
      Specified by:
      getMessage in interface DiagnosticOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      string message = 6;
      Specified by:
      getMessageBytes in interface DiagnosticOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public Diagnostic.Builder setMessage(String value)
      string message = 6;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Diagnostic.Builder clearMessage()
      string message = 6;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Diagnostic.Builder setMessageBytes(com.google.protobuf.ByteString value)
      string message = 6;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getTagsList

      public List<Diagnostic.DiagnosticTag> getTagsList()
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Specified by:
      getTagsList in interface DiagnosticOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Specified by:
      getTagsCount in interface DiagnosticOrBuilder
      Returns:
      The count of tags.
    • getTags

      public Diagnostic.DiagnosticTag getTags(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Specified by:
      getTags in interface DiagnosticOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • setTags

      public Diagnostic.Builder setTags(int index, Diagnostic.DiagnosticTag value)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public Diagnostic.Builder addAllTags(Iterable<? extends Diagnostic.DiagnosticTag> values)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public Diagnostic.Builder clearTags()
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Returns:
      This builder for chaining.
    • getTagsValueList

      public List<Integer> getTagsValueList()
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Specified by:
      getTagsValueList in interface DiagnosticOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for tags.
    • getTagsValue

      public int getTagsValue(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Specified by:
      getTagsValue in interface DiagnosticOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of tags at the given index.
    • setTagsValue

      public Diagnostic.Builder setTagsValue(int index, int value)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for tags to set.
      Returns:
      This builder for chaining.
    • addTagsValue

      public Diagnostic.Builder addTagsValue(int value)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      value - The enum numeric value on the wire for tags to add.
      Returns:
      This builder for chaining.
    • addAllTagsValue

      public Diagnostic.Builder addAllTagsValue(Iterable<Integer> values)
      repeated .io.deephaven.proto.backplane.script.grpc.Diagnostic.DiagnosticTag tags = 7;
      Parameters:
      values - The enum numeric values on the wire for tags to add.
      Returns:
      This builder for chaining.
    • hasData

      public boolean hasData()
      optional bytes data = 9;
      Specified by:
      hasData in interface DiagnosticOrBuilder
      Returns:
      Whether the data field is set.
    • getData

      public com.google.protobuf.ByteString getData()
      optional bytes data = 9;
      Specified by:
      getData in interface DiagnosticOrBuilder
      Returns:
      The data.
    • setData

      public Diagnostic.Builder setData(com.google.protobuf.ByteString value)
      optional bytes data = 9;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public Diagnostic.Builder clearData()
      optional bytes data = 9;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Diagnostic.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<Diagnostic.Builder>
    • mergeUnknownFields

      public final Diagnostic.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<Diagnostic.Builder>