Class ExpandRel.SwitchingField.Builder

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

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

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

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

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

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

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

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

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

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

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

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

      public List<Expression> getDuplicatesList()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
      Specified by:
      getDuplicatesList in interface ExpandRel.SwitchingFieldOrBuilder
    • getDuplicatesCount

      public int getDuplicatesCount()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
      Specified by:
      getDuplicatesCount in interface ExpandRel.SwitchingFieldOrBuilder
    • getDuplicates

      public Expression getDuplicates(int index)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
      Specified by:
      getDuplicates in interface ExpandRel.SwitchingFieldOrBuilder
    • setDuplicates

      public ExpandRel.SwitchingField.Builder setDuplicates(int index, Expression value)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • setDuplicates

      public ExpandRel.SwitchingField.Builder setDuplicates(int index, Expression.Builder builderForValue)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addDuplicates

      public ExpandRel.SwitchingField.Builder addDuplicates(Expression value)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addDuplicates

      public ExpandRel.SwitchingField.Builder addDuplicates(int index, Expression value)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addDuplicates

      public ExpandRel.SwitchingField.Builder addDuplicates(Expression.Builder builderForValue)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addDuplicates

      public ExpandRel.SwitchingField.Builder addDuplicates(int index, Expression.Builder builderForValue)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addAllDuplicates

      public ExpandRel.SwitchingField.Builder addAllDuplicates(Iterable<? extends Expression> values)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • clearDuplicates

      public ExpandRel.SwitchingField.Builder clearDuplicates()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • removeDuplicates

      public ExpandRel.SwitchingField.Builder removeDuplicates(int index)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • getDuplicatesBuilder

      public Expression.Builder getDuplicatesBuilder(int index)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • getDuplicatesOrBuilder

      public ExpressionOrBuilder getDuplicatesOrBuilder(int index)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
      Specified by:
      getDuplicatesOrBuilder in interface ExpandRel.SwitchingFieldOrBuilder
    • getDuplicatesOrBuilderList

      public List<? extends ExpressionOrBuilder> getDuplicatesOrBuilderList()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
      Specified by:
      getDuplicatesOrBuilderList in interface ExpandRel.SwitchingFieldOrBuilder
    • addDuplicatesBuilder

      public Expression.Builder addDuplicatesBuilder()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • addDuplicatesBuilder

      public Expression.Builder addDuplicatesBuilder(int index)
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • getDuplicatesBuilderList

      public List<Expression.Builder> getDuplicatesBuilderList()
       All duplicates must return the same type class but may differ in nullability.  The effective
       type of the output field will be nullable if any of the duplicate expressions are nullable.
       
      repeated .substrait.Expression duplicates = 1;
    • setUnknownFields

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

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