Class PlanNode.ChildLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 Summary

    Modifier and Type
    Method
    Description
     
     
     
    The node to which the link points.
    The type of the link.
    Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an output variable of the parent node.
    int
    The node to which the link points.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The type of the link.
    com.google.protobuf.ByteString
    The type of the link.
    Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an output variable of the parent node.
    com.google.protobuf.ByteString
    Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an output variable of the parent node.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setChildIndex(int value)
    The node to which the link points.
    setType(String value)
    The type of the link.
    setTypeBytes(com.google.protobuf.ByteString value)
    The type of the link.
    Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an output variable of the parent node.
    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.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.