Class PlanNode.ShortRepresentation.Builder (6.62.0)

public static final class PlanNode.ShortRepresentation.Builder extends GeneratedMessageV3.Builder<PlanNode.ShortRepresentation.Builder> implements PlanNode.ShortRepresentationOrBuilder

Condensed representation of a node and its subtree. Only present for SCALAR PlanNode(s).

Protobuf type google.spanner.v1.PlanNode.ShortRepresentation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PlanNode.ShortRepresentation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

build()

public PlanNode.ShortRepresentation build()
Returns
TypeDescription
PlanNode.ShortRepresentation

buildPartial()

public PlanNode.ShortRepresentation buildPartial()
Returns
TypeDescription
PlanNode.ShortRepresentation

clear()

public PlanNode.ShortRepresentation.Builder clear()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

clearDescription()

public PlanNode.ShortRepresentation.Builder clearDescription()

A string representation of the expression subtree rooted at this node.

string description = 1;

Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PlanNode.ShortRepresentation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PlanNode.ShortRepresentation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

clearSubqueries()

public PlanNode.ShortRepresentation.Builder clearSubqueries()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

clone()

public PlanNode.ShortRepresentation.Builder clone()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

containsSubqueries(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public PlanNode.ShortRepresentation getDefaultInstanceForType()
Returns
TypeDescription
PlanNode.ShortRepresentation

getDescription()

public String getDescription()

A string representation of the expression subtree rooted at this node.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A string representation of the expression subtree rooted at this node.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableSubqueries()

public Map<String,Integer> getMutableSubqueries()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Integer>

getSubqueries()

public Map<String,Integer> getSubqueries()

Use #getSubqueriesMap() instead.

Returns
TypeDescription
Map<String,Integer>

getSubqueriesCount()

public int getSubqueriesCount()

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,Integer>

getSubqueriesOrDefault(String key, int defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getSubqueriesOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PlanNode.ShortRepresentation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PlanNode.ShortRepresentation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

mergeFrom(PlanNode.ShortRepresentation other)

public PlanNode.ShortRepresentation.Builder mergeFrom(PlanNode.ShortRepresentation other)
Parameter
NameDescription
otherPlanNode.ShortRepresentation
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PlanNode.ShortRepresentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

putAllSubqueries(Map<String,Integer> values)

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;

Parameter
NameDescription
valuesMap<String,Integer>
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

putSubqueries(String key, int value)

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;

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

removeSubqueries(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

setDescription(String value)

public PlanNode.ShortRepresentation.Builder setDescription(String value)

A string representation of the expression subtree rooted at this node.

string description = 1;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PlanNode.ShortRepresentation.Builder setDescriptionBytes(ByteString value)

A string representation of the expression subtree rooted at this node.

string description = 1;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PlanNode.ShortRepresentation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PlanNode.ShortRepresentation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PlanNode.ShortRepresentation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides