Class RelCommon.Hint.SavedComputation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RelCommon.Hint.SavedComputation.Builder>
io.substrait.proto.RelCommon.Hint.SavedComputation.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RelCommon.Hint.SavedComputationOrBuilder, Cloneable
Enclosing class:
RelCommon.Hint.SavedComputation

public static final class RelCommon.Hint.SavedComputation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RelCommon.Hint.SavedComputation.Builder> implements RelCommon.Hint.SavedComputationOrBuilder
Protobuf type substrait.RelCommon.Hint.SavedComputation
  • 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<RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RelCommon.Hint.SavedComputation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<RelCommon.Hint.SavedComputation.Builder>
    • setField

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • clearField

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • clearOneof

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • setRepeatedField

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • addRepeatedField

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • mergeFrom

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • mergeFrom

    • isInitialized

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

      public RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
      Throws:
      IOException
    • getComputationId

      public int getComputationId()
       The value corresponds to a plan unique number for that datastructure.  Any particular
       computation may be saved only once but it may be loaded multiple times.
       
      int32 computation_id = 1;
      Specified by:
      getComputationId in interface RelCommon.Hint.SavedComputationOrBuilder
      Returns:
      The computationId.
    • setComputationId

      public RelCommon.Hint.SavedComputation.Builder setComputationId(int value)
       The value corresponds to a plan unique number for that datastructure.  Any particular
       computation may be saved only once but it may be loaded multiple times.
       
      int32 computation_id = 1;
      Parameters:
      value - The computationId to set.
      Returns:
      This builder for chaining.
    • clearComputationId

      public RelCommon.Hint.SavedComputation.Builder clearComputationId()
       The value corresponds to a plan unique number for that datastructure.  Any particular
       computation may be saved only once but it may be loaded multiple times.
       
      int32 computation_id = 1;
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of this computation.  While a plan may use COMPUTATION_TYPE_UNKNOWN for all
       of its types it is recommended to use a more specific type so that the optimization
       is more portable.  The consumer should be able to decide if an unknown type here
       matches the same unknown type at a different plan and ignore the optimization if they
       are mismatched.
       
      .substrait.RelCommon.Hint.ComputationType type = 2;
      Specified by:
      getTypeValue in interface RelCommon.Hint.SavedComputationOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public RelCommon.Hint.SavedComputation.Builder setTypeValue(int value)
       The type of this computation.  While a plan may use COMPUTATION_TYPE_UNKNOWN for all
       of its types it is recommended to use a more specific type so that the optimization
       is more portable.  The consumer should be able to decide if an unknown type here
       matches the same unknown type at a different plan and ignore the optimization if they
       are mismatched.
       
      .substrait.RelCommon.Hint.ComputationType type = 2;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

       The type of this computation.  While a plan may use COMPUTATION_TYPE_UNKNOWN for all
       of its types it is recommended to use a more specific type so that the optimization
       is more portable.  The consumer should be able to decide if an unknown type here
       matches the same unknown type at a different plan and ignore the optimization if they
       are mismatched.
       
      .substrait.RelCommon.Hint.ComputationType type = 2;
      Specified by:
      getType in interface RelCommon.Hint.SavedComputationOrBuilder
      Returns:
      The type.
    • setType

       The type of this computation.  While a plan may use COMPUTATION_TYPE_UNKNOWN for all
       of its types it is recommended to use a more specific type so that the optimization
       is more portable.  The consumer should be able to decide if an unknown type here
       matches the same unknown type at a different plan and ignore the optimization if they
       are mismatched.
       
      .substrait.RelCommon.Hint.ComputationType type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The type of this computation.  While a plan may use COMPUTATION_TYPE_UNKNOWN for all
       of its types it is recommended to use a more specific type so that the optimization
       is more portable.  The consumer should be able to decide if an unknown type here
       matches the same unknown type at a different plan and ignore the optimization if they
       are mismatched.
       
      .substrait.RelCommon.Hint.ComputationType type = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>
    • mergeUnknownFields

      public final RelCommon.Hint.SavedComputation.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<RelCommon.Hint.SavedComputation.Builder>