Class ExpandRel.ExpandField.Builder

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

public static final class ExpandRel.ExpandField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExpandRel.ExpandField.Builder> implements ExpandRel.ExpandFieldOrBuilder
Protobuf type substrait.ExpandRel.ExpandField
  • 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<ExpandRel.ExpandField.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<ExpandRel.ExpandField.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<ExpandRel.ExpandField.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public ExpandRel.ExpandField.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<ExpandRel.ExpandField.Builder>
      Throws:
      IOException
    • getFieldTypeCase

      public ExpandRel.ExpandField.FieldTypeCase getFieldTypeCase()
      Specified by:
      getFieldTypeCase in interface ExpandRel.ExpandFieldOrBuilder
    • clearFieldType

      public ExpandRel.ExpandField.Builder clearFieldType()
    • hasSwitchingField

      public boolean hasSwitchingField()
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
      Specified by:
      hasSwitchingField in interface ExpandRel.ExpandFieldOrBuilder
      Returns:
      Whether the switchingField field is set.
    • getSwitchingField

      public ExpandRel.SwitchingField getSwitchingField()
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
      Specified by:
      getSwitchingField in interface ExpandRel.ExpandFieldOrBuilder
      Returns:
      The switchingField.
    • setSwitchingField

      public ExpandRel.ExpandField.Builder setSwitchingField(ExpandRel.SwitchingField value)
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
    • setSwitchingField

      public ExpandRel.ExpandField.Builder setSwitchingField(ExpandRel.SwitchingField.Builder builderForValue)
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
    • mergeSwitchingField

      public ExpandRel.ExpandField.Builder mergeSwitchingField(ExpandRel.SwitchingField value)
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
    • clearSwitchingField

      public ExpandRel.ExpandField.Builder clearSwitchingField()
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
    • getSwitchingFieldBuilder

      public ExpandRel.SwitchingField.Builder getSwitchingFieldBuilder()
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
    • getSwitchingFieldOrBuilder

      public ExpandRel.SwitchingFieldOrBuilder getSwitchingFieldOrBuilder()
       Field that switches output based on which duplicate is being output.  Every
       switching_field should contain the same number of duplicates (so that the output rows
       are of consistent size and type).  If there are not enough switching field definitions
       to match the other field definitions NULL will be returned to fill the extras.
       
      .substrait.ExpandRel.SwitchingField switching_field = 2;
      Specified by:
      getSwitchingFieldOrBuilder in interface ExpandRel.ExpandFieldOrBuilder
    • hasConsistentField

      public boolean hasConsistentField()
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
      Specified by:
      hasConsistentField in interface ExpandRel.ExpandFieldOrBuilder
      Returns:
      Whether the consistentField field is set.
    • getConsistentField

      public Expression getConsistentField()
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
      Specified by:
      getConsistentField in interface ExpandRel.ExpandFieldOrBuilder
      Returns:
      The consistentField.
    • setConsistentField

      public ExpandRel.ExpandField.Builder setConsistentField(Expression value)
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
    • setConsistentField

      public ExpandRel.ExpandField.Builder setConsistentField(Expression.Builder builderForValue)
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
    • mergeConsistentField

      public ExpandRel.ExpandField.Builder mergeConsistentField(Expression value)
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
    • clearConsistentField

      public ExpandRel.ExpandField.Builder clearConsistentField()
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
    • getConsistentFieldBuilder

      public Expression.Builder getConsistentFieldBuilder()
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
    • getConsistentFieldOrBuilder

      public ExpressionOrBuilder getConsistentFieldOrBuilder()
       Field that outputs the same value no matter which duplicate is being output.  Equivalent
       to a switching_field that lists the same expression multiple times.
       
      .substrait.Expression consistent_field = 3;
      Specified by:
      getConsistentFieldOrBuilder in interface ExpandRel.ExpandFieldOrBuilder
    • setUnknownFields

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

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