Class Literal.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Literal.Builder mergeFrom(Literal other)
    • isInitialized

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

      public Literal.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<Literal.Builder>
      Throws:
      IOException
    • getValueCase

      public Literal.ValueCase getValueCase()
      Specified by:
      getValueCase in interface LiteralOrBuilder
    • clearValue

      public Literal.Builder clearValue()
    • hasStringValue

      public boolean hasStringValue()
      string string_value = 1;
      Specified by:
      hasStringValue in interface LiteralOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
      string string_value = 1;
      Specified by:
      getStringValue in interface LiteralOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
      string string_value = 1;
      Specified by:
      getStringValueBytes in interface LiteralOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public Literal.Builder setStringValue(String value)
      string string_value = 1;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public Literal.Builder clearStringValue()
      string string_value = 1;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public Literal.Builder setStringValueBytes(com.google.protobuf.ByteString value)
      string string_value = 1;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
      double double_value = 2;
      Specified by:
      hasDoubleValue in interface LiteralOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
      double double_value = 2;
      Specified by:
      getDoubleValue in interface LiteralOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public Literal.Builder setDoubleValue(double value)
      double double_value = 2;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public Literal.Builder clearDoubleValue()
      double double_value = 2;
      Returns:
      This builder for chaining.
    • hasBoolValue

      public boolean hasBoolValue()
      bool bool_value = 3;
      Specified by:
      hasBoolValue in interface LiteralOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
      bool bool_value = 3;
      Specified by:
      getBoolValue in interface LiteralOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public Literal.Builder setBoolValue(boolean value)
      bool bool_value = 3;
      Parameters:
      value - The boolValue to set.
      Returns:
      This builder for chaining.
    • clearBoolValue

      public Literal.Builder clearBoolValue()
      bool bool_value = 3;
      Returns:
      This builder for chaining.
    • hasLongValue

      public boolean hasLongValue()
      sint64 long_value = 4 [jstype = JS_STRING];
      Specified by:
      hasLongValue in interface LiteralOrBuilder
      Returns:
      Whether the longValue field is set.
    • getLongValue

      public long getLongValue()
      sint64 long_value = 4 [jstype = JS_STRING];
      Specified by:
      getLongValue in interface LiteralOrBuilder
      Returns:
      The longValue.
    • setLongValue

      public Literal.Builder setLongValue(long value)
      sint64 long_value = 4 [jstype = JS_STRING];
      Parameters:
      value - The longValue to set.
      Returns:
      This builder for chaining.
    • clearLongValue

      public Literal.Builder clearLongValue()
      sint64 long_value = 4 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • hasNanoTimeValue

      public boolean hasNanoTimeValue()
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Specified by:
      hasNanoTimeValue in interface LiteralOrBuilder
      Returns:
      Whether the nanoTimeValue field is set.
    • getNanoTimeValue

      public long getNanoTimeValue()
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Specified by:
      getNanoTimeValue in interface LiteralOrBuilder
      Returns:
      The nanoTimeValue.
    • setNanoTimeValue

      public Literal.Builder setNanoTimeValue(long value)
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Parameters:
      value - The nanoTimeValue to set.
      Returns:
      This builder for chaining.
    • clearNanoTimeValue

      public Literal.Builder clearNanoTimeValue()
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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