Class MathContext.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public MathContext.Builder mergeFrom(MathContext other)
    • isInitialized

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

      public MathContext.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<MathContext.Builder>
      Throws:
      IOException
    • getPrecision

      public int getPrecision()
      sint32 precision = 1;
      Specified by:
      getPrecision in interface MathContextOrBuilder
      Returns:
      The precision.
    • setPrecision

      public MathContext.Builder setPrecision(int value)
      sint32 precision = 1;
      Parameters:
      value - The precision to set.
      Returns:
      This builder for chaining.
    • clearPrecision

      public MathContext.Builder clearPrecision()
      sint32 precision = 1;
      Returns:
      This builder for chaining.
    • getRoundingModeValue

      public int getRoundingModeValue()
      .io.deephaven.proto.backplane.grpc.MathContext.RoundingMode rounding_mode = 2;
      Specified by:
      getRoundingModeValue in interface MathContextOrBuilder
      Returns:
      The enum numeric value on the wire for roundingMode.
    • setRoundingModeValue

      public MathContext.Builder setRoundingModeValue(int value)
      .io.deephaven.proto.backplane.grpc.MathContext.RoundingMode rounding_mode = 2;
      Parameters:
      value - The enum numeric value on the wire for roundingMode to set.
      Returns:
      This builder for chaining.
    • getRoundingMode

      public MathContext.RoundingMode getRoundingMode()
      .io.deephaven.proto.backplane.grpc.MathContext.RoundingMode rounding_mode = 2;
      Specified by:
      getRoundingMode in interface MathContextOrBuilder
      Returns:
      The roundingMode.
    • setRoundingMode

      public MathContext.Builder setRoundingMode(MathContext.RoundingMode value)
      .io.deephaven.proto.backplane.grpc.MathContext.RoundingMode rounding_mode = 2;
      Parameters:
      value - The roundingMode to set.
      Returns:
      This builder for chaining.
    • clearRoundingMode

      public MathContext.Builder clearRoundingMode()
      .io.deephaven.proto.backplane.grpc.MathContext.RoundingMode rounding_mode = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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