Class PlanNode.ShortRepresentation.Builder (6.74.1)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PlanNode.ShortRepresentation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

build()

public PlanNode.ShortRepresentation build()
Returns
Type Description
PlanNode.ShortRepresentation

buildPartial()

public PlanNode.ShortRepresentation buildPartial()
Returns
Type Description
PlanNode.ShortRepresentation

clear()

public PlanNode.ShortRepresentation.Builder clear()
Returns
Type Description
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
Type Description
PlanNode.ShortRepresentation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PlanNode.ShortRepresentation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PlanNode.ShortRepresentation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

clearSubqueries()

public PlanNode.ShortRepresentation.Builder clearSubqueries()
Returns
Type Description
PlanNode.ShortRepresentation.Builder

clone()

public PlanNode.ShortRepresentation.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public PlanNode.ShortRepresentation getDefaultInstanceForType()
Returns
Type Description
PlanNode.ShortRepresentation

getDescription()

public String getDescription()

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

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableSubqueries() (deprecated)

public Map<String,Integer> getMutableSubqueries()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Integer>

getSubqueries() (deprecated)

public Map<String,Integer> getSubqueries()

Use #getSubqueriesMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue int
Returns
Type Description
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
Name Description
key String
Returns
Type Description
int

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PlanNode.ShortRepresentation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PlanNode.ShortRepresentation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

mergeFrom(PlanNode.ShortRepresentation other)

public PlanNode.ShortRepresentation.Builder mergeFrom(PlanNode.ShortRepresentation other)
Parameter
Name Description
other PlanNode.ShortRepresentation
Returns
Type Description
PlanNode.ShortRepresentation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PlanNode.ShortRepresentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,Integer>
Returns
Type Description
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
Name Description
key String
value int
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
value String

The description to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
PlanNode.ShortRepresentation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PlanNode.ShortRepresentation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PlanNode.ShortRepresentation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides