Package com.google.spanner.v1
Class PlanNode.ChildLink.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder> implements PlanNode.ChildLinkOrBuilder
Metadata associated with a parent-child relationship appearing in a [PlanNode][google.spanner.v1.PlanNode].
Protobuf typegoogle.spanner.v1.PlanNode.ChildLink
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanNode.ChildLink.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanNode.ChildLinkbuild()PlanNode.ChildLinkbuildPartial()PlanNode.ChildLink.Builderclear()PlanNode.ChildLink.BuilderclearChildIndex()The node to which the link points.PlanNode.ChildLink.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanNode.ChildLink.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanNode.ChildLink.BuilderclearType()The type of the link.PlanNode.ChildLink.BuilderclearVariable()Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an output variable of the parent node.PlanNode.ChildLink.Builderclone()intgetChildIndex()The node to which the link points.PlanNode.ChildLinkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetType()The type of the link.com.google.protobuf.ByteStringgetTypeBytes()The type of the link.StringgetVariable()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.ByteStringgetVariableBytes()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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanNode.ChildLink.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanNode.ChildLink.BuildermergeFrom(com.google.protobuf.Message other)PlanNode.ChildLink.BuildermergeFrom(PlanNode.ChildLink other)PlanNode.ChildLink.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanNode.ChildLink.BuildersetChildIndex(int value)The node to which the link points.PlanNode.ChildLink.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanNode.ChildLink.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanNode.ChildLink.BuildersetType(String value)The type of the link.PlanNode.ChildLink.BuildersetTypeBytes(com.google.protobuf.ByteString value)The type of the link.PlanNode.ChildLink.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanNode.ChildLink.BuildersetVariable(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.PlanNode.ChildLink.BuildersetVariableBytes(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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clear
public PlanNode.ChildLink.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
getDefaultInstanceForType
public PlanNode.ChildLink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanNode.ChildLink build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanNode.ChildLink buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanNode.ChildLink.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
setField
public PlanNode.ChildLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clearField
public PlanNode.ChildLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clearOneof
public PlanNode.ChildLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
setRepeatedField
public PlanNode.ChildLink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
addRepeatedField
public PlanNode.ChildLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
mergeFrom
public PlanNode.ChildLink.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanNode.ChildLink.Builder>
-
mergeFrom
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
mergeFrom
public PlanNode.ChildLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getChildIndexin interfacePlanNode.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:
getTypein interfacePlanNode.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:
getTypeBytesin interfacePlanNode.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:
getVariablein interfacePlanNode.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:
getVariableBytesin interfacePlanNode.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.
-
setUnknownFields
public final PlanNode.ChildLink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
mergeUnknownFields
public final PlanNode.ChildLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
-