Class PlanRel.Builder

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

public static final class PlanRel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanRel.Builder> implements PlanRelOrBuilder
 Either a relation or root relation
 
Protobuf type substrait.PlanRel
  • 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<PlanRel.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public PlanRel.Builder mergeFrom(PlanRel other)
    • isInitialized

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

      public PlanRel.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<PlanRel.Builder>
      Throws:
      IOException
    • getRelTypeCase

      public PlanRel.RelTypeCase getRelTypeCase()
      Specified by:
      getRelTypeCase in interface PlanRelOrBuilder
    • clearRelType

      public PlanRel.Builder clearRelType()
    • hasRel

      public boolean hasRel()
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
      Specified by:
      hasRel in interface PlanRelOrBuilder
      Returns:
      Whether the rel field is set.
    • getRel

      public Rel getRel()
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
      Specified by:
      getRel in interface PlanRelOrBuilder
      Returns:
      The rel.
    • setRel

      public PlanRel.Builder setRel(Rel value)
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
    • setRel

      public PlanRel.Builder setRel(Rel.Builder builderForValue)
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
    • mergeRel

      public PlanRel.Builder mergeRel(Rel value)
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
    • clearRel

      public PlanRel.Builder clearRel()
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
    • getRelBuilder

      public Rel.Builder getRelBuilder()
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
    • getRelOrBuilder

      public RelOrBuilder getRelOrBuilder()
       Any relation (used for references and CTEs)
       
      .substrait.Rel rel = 1;
      Specified by:
      getRelOrBuilder in interface PlanRelOrBuilder
    • hasRoot

      public boolean hasRoot()
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
      Specified by:
      hasRoot in interface PlanRelOrBuilder
      Returns:
      Whether the root field is set.
    • getRoot

      public RelRoot getRoot()
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
      Specified by:
      getRoot in interface PlanRelOrBuilder
      Returns:
      The root.
    • setRoot

      public PlanRel.Builder setRoot(RelRoot value)
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
    • setRoot

      public PlanRel.Builder setRoot(RelRoot.Builder builderForValue)
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
    • mergeRoot

      public PlanRel.Builder mergeRoot(RelRoot value)
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
    • clearRoot

      public PlanRel.Builder clearRoot()
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
    • getRootBuilder

      public RelRoot.Builder getRootBuilder()
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
    • getRootOrBuilder

      public RelRootOrBuilder getRootOrBuilder()
       The root of a relation tree
       
      .substrait.RelRoot root = 2;
      Specified by:
      getRootOrBuilder in interface PlanRelOrBuilder
    • setUnknownFields

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

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