Class PlanNode.ChildLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
com.google.spanner.v1.PlanNode.ChildLink.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PlanNode.ChildLinkOrBuilder, Cloneable
Enclosing class:
PlanNode.ChildLink

public static final class PlanNode.ChildLink.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder> implements PlanNode.ChildLinkOrBuilder
 Metadata associated with a parent-child relationship appearing in a
 [PlanNode][google.spanner.v1.PlanNode].
 
Protobuf type google.spanner.v1.PlanNode.ChildLink
  • 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<PlanNode.ChildLink.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<PlanNode.ChildLink.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<PlanNode.ChildLink.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public PlanNode.ChildLink.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<PlanNode.ChildLink.Builder>
      Throws:
      IOException
    • getChildIndex

      public int getChildIndex()
       The node to which the link points.
       
      int32 child_index = 1;
      Specified by:
      getChildIndex in interface PlanNode.ChildLinkOrBuilder
      Returns:
      The childIndex.
    • setChildIndex

      public PlanNode.ChildLink.Builder setChildIndex(int value)
       The node to which the link points.
       
      int32 child_index = 1;
      Parameters:
      value - The childIndex to set.
      Returns:
      This builder for chaining.
    • clearChildIndex

      public PlanNode.ChildLink.Builder clearChildIndex()
       The node to which the link points.
       
      int32 child_index = 1;
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       The type of the link. For example, in Hash Joins this could be used to
       distinguish between the build child and the probe child, or in the case
       of the child being an output variable, to represent the tag associated
       with the output variable.
       
      string type = 2;
      Specified by:
      getType in interface PlanNode.ChildLinkOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the link. For example, in Hash Joins this could be used to
       distinguish between the build child and the probe child, or in the case
       of the child being an output variable, to represent the tag associated
       with the output variable.
       
      string type = 2;
      Specified by:
      getTypeBytes in interface PlanNode.ChildLinkOrBuilder
      Returns:
      The bytes for type.
    • setType

      public PlanNode.ChildLink.Builder setType(String value)
       The type of the link. For example, in Hash Joins this could be used to
       distinguish between the build child and the probe child, or in the case
       of the child being an output variable, to represent the tag associated
       with the output variable.
       
      string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public PlanNode.ChildLink.Builder clearType()
       The type of the link. For example, in Hash Joins this could be used to
       distinguish between the build child and the probe child, or in the case
       of the child being an output variable, to represent the tag associated
       with the output variable.
       
      string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public PlanNode.ChildLink.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The type of the link. For example, in Hash Joins this could be used to
       distinguish between the build child and the probe child, or in the case
       of the child being an output variable, to represent the tag associated
       with the output variable.
       
      string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getVariable

      public String getVariable()
       Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
       to an output variable of the parent node. The field carries the name of
       the output variable.
       For example, a `TableScan` operator that reads rows from a table will
       have child links to the `SCALAR` nodes representing the output variables
       created for each column that is read by the operator. The corresponding
       `variable` fields will be set to the variable names assigned to the
       columns.
       
      string variable = 3;
      Specified by:
      getVariable in interface PlanNode.ChildLinkOrBuilder
      Returns:
      The variable.
    • getVariableBytes

      public com.google.protobuf.ByteString getVariableBytes()
       Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
       to an output variable of the parent node. The field carries the name of
       the output variable.
       For example, a `TableScan` operator that reads rows from a table will
       have child links to the `SCALAR` nodes representing the output variables
       created for each column that is read by the operator. The corresponding
       `variable` fields will be set to the variable names assigned to the
       columns.
       
      string variable = 3;
      Specified by:
      getVariableBytes in interface PlanNode.ChildLinkOrBuilder
      Returns:
      The bytes for variable.
    • setVariable

      public PlanNode.ChildLink.Builder setVariable(String value)
       Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
       to an output variable of the parent node. The field carries the name of
       the output variable.
       For example, a `TableScan` operator that reads rows from a table will
       have child links to the `SCALAR` nodes representing the output variables
       created for each column that is read by the operator. The corresponding
       `variable` fields will be set to the variable names assigned to the
       columns.
       
      string variable = 3;
      Parameters:
      value - The variable to set.
      Returns:
      This builder for chaining.
    • clearVariable

      public PlanNode.ChildLink.Builder clearVariable()
       Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
       to an output variable of the parent node. The field carries the name of
       the output variable.
       For example, a `TableScan` operator that reads rows from a table will
       have child links to the `SCALAR` nodes representing the output variables
       created for each column that is read by the operator. The corresponding
       `variable` fields will be set to the variable names assigned to the
       columns.
       
      string variable = 3;
      Returns:
      This builder for chaining.
    • setVariableBytes

      public PlanNode.ChildLink.Builder setVariableBytes(com.google.protobuf.ByteString value)
       Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
       to an output variable of the parent node. The field carries the name of
       the output variable.
       For example, a `TableScan` operator that reads rows from a table will
       have child links to the `SCALAR` nodes representing the output variables
       created for each column that is read by the operator. The corresponding
       `variable` fields will be set to the variable names assigned to the
       columns.
       
      string variable = 3;
      Parameters:
      value - The bytes for variable to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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