Class PlanNode.ChildLink.Builder (6.50.1)

public static final class PlanNode.ChildLink.Builder extends GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder> implements PlanNode.ChildLinkOrBuilder

Metadata associated with a parent-child relationship appearing in a PlanNode.

Protobuf type google.spanner.v1.PlanNode.ChildLink

Static Methods

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

Methods

public PlanNode.ChildLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink build()
Returns
TypeDescription
PlanNode.ChildLink
public PlanNode.ChildLink buildPartial()
Returns
TypeDescription
PlanNode.ChildLink
public PlanNode.ChildLink.Builder clear()
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder clearChildIndex()

The node to which the link points.

int32 child_index = 1;

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
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
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clearVariable()

Only present if the child node is 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
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clone()
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public int getChildIndex()

The node to which the link points.

int32 child_index = 1;

Returns
TypeDescription
int

The childIndex.

public PlanNode.ChildLink getDefaultInstanceForType()
Returns
TypeDescription
PlanNode.ChildLink
public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
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;

Returns
TypeDescription
String

The type.

public 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;

Returns
TypeDescription
ByteString

The bytes for type.

public String getVariable()

Only present if the child node is 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
TypeDescription
String

The variable.

public ByteString getVariableBytes()

Only present if the child node is 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
TypeDescription
ByteString

The bytes for variable.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public PlanNode.ChildLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
Exceptions
TypeDescription
IOException
public PlanNode.ChildLink.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
Parameter
NameDescription
otherPlanNode.ChildLink
Returns
TypeDescription
PlanNode.ChildLink.Builder
public final PlanNode.ChildLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setChildIndex(int value)

The node to which the link points.

int32 child_index = 1;

Parameter
NameDescription
valueint

The childIndex to set.

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
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;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setTypeBytes(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;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public final PlanNode.ChildLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setVariable(String value)

Only present if the child node is 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;

Parameter
NameDescription
valueString

The variable to set.

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setVariableBytes(ByteString value)

Only present if the child node is 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;

Parameter
NameDescription
valueByteString

The bytes for variable to set.

Returns
TypeDescription
PlanNode.ChildLink.Builder

This builder for chaining.