Class PlanNode.ShortRepresentation.Builder

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

public static final class PlanNode.ShortRepresentation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ShortRepresentation.Builder> implements PlanNode.ShortRepresentationOrBuilder
 Condensed representation of a node and its subtree. Only present for
 `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
 
Protobuf type google.spanner.v1.PlanNode.ShortRepresentation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ShortRepresentation.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ShortRepresentation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ShortRepresentation.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.ShortRepresentation.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.ShortRepresentation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

      public String getDescription()
       A string representation of the expression subtree rooted at this node.
       
      string description = 1;
      Specified by:
      getDescription in interface PlanNode.ShortRepresentationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A string representation of the expression subtree rooted at this node.
       
      string description = 1;
      Specified by:
      getDescriptionBytes in interface PlanNode.ShortRepresentationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public PlanNode.ShortRepresentation.Builder setDescription(String value)
       A string representation of the expression subtree rooted at this node.
       
      string description = 1;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public PlanNode.ShortRepresentation.Builder clearDescription()
       A string representation of the expression subtree rooted at this node.
       
      string description = 1;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public PlanNode.ShortRepresentation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       A string representation of the expression subtree rooted at this node.
       
      string description = 1;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getSubqueriesCount

      public int getSubqueriesCount()
      Description copied from interface: PlanNode.ShortRepresentationOrBuilder
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
      Specified by:
      getSubqueriesCount in interface PlanNode.ShortRepresentationOrBuilder
    • containsSubqueries

      public boolean containsSubqueries(String key)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
      Specified by:
      containsSubqueries in interface PlanNode.ShortRepresentationOrBuilder
    • getSubqueries

      @Deprecated public Map<String,Integer> getSubqueries()
      Deprecated.
      Use getSubqueriesMap() instead.
      Specified by:
      getSubqueries in interface PlanNode.ShortRepresentationOrBuilder
    • getSubqueriesMap

      public Map<String,Integer> getSubqueriesMap()
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
      Specified by:
      getSubqueriesMap in interface PlanNode.ShortRepresentationOrBuilder
    • getSubqueriesOrDefault

      public int getSubqueriesOrDefault(String key, int defaultValue)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
      Specified by:
      getSubqueriesOrDefault in interface PlanNode.ShortRepresentationOrBuilder
    • getSubqueriesOrThrow

      public int getSubqueriesOrThrow(String key)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
      Specified by:
      getSubqueriesOrThrow in interface PlanNode.ShortRepresentationOrBuilder
    • clearSubqueries

      public PlanNode.ShortRepresentation.Builder clearSubqueries()
    • removeSubqueries

      public PlanNode.ShortRepresentation.Builder removeSubqueries(String key)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
    • getMutableSubqueries

      @Deprecated public Map<String,Integer> getMutableSubqueries()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSubqueries

      public PlanNode.ShortRepresentation.Builder putSubqueries(String key, int value)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
    • putAllSubqueries

      public PlanNode.ShortRepresentation.Builder putAllSubqueries(Map<String,Integer> values)
       A mapping of (subquery variable name) -> (subquery node id) for cases
       where the `description` string of this node references a `SCALAR`
       subquery contained in the expression subtree rooted at this node. The
       referenced `SCALAR` subquery may not necessarily be a direct child of
       this node.
       
      map<string, int32> subqueries = 2;
    • setUnknownFields

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

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