Package com.google.spanner.v1
Class PlanNode.ChildLink.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PlanNode.ChildLink
build()
PlanNode.ChildLink
buildPartial()
PlanNode.ChildLink.Builder
clear()
PlanNode.ChildLink.Builder
clearChildIndex()
The node to which the link points.PlanNode.ChildLink.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PlanNode.ChildLink.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PlanNode.ChildLink.Builder
clearType()
The type of the link.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.PlanNode.ChildLink.Builder
clone()
int
getChildIndex()
The node to which the link points.PlanNode.ChildLink
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getType()
The type of the link.com.google.protobuf.ByteString
getTypeBytes()
The type of the link.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PlanNode.ChildLink.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PlanNode.ChildLink.Builder
mergeFrom(com.google.protobuf.Message other)
PlanNode.ChildLink.Builder
mergeFrom(PlanNode.ChildLink other)
PlanNode.ChildLink.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PlanNode.ChildLink.Builder
setChildIndex(int value)
The node to which the link points.PlanNode.ChildLink.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PlanNode.ChildLink.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PlanNode.ChildLink.Builder
setType(String value)
The type of the link.PlanNode.ChildLink.Builder
setTypeBytes(com.google.protobuf.ByteString value)
The type of the link.PlanNode.ChildLink.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clear
public PlanNode.ChildLink.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
getDefaultInstanceForType
public PlanNode.ChildLink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanNode.ChildLink build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanNode.ChildLink buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanNode.ChildLink.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
setField
public PlanNode.ChildLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clearField
public PlanNode.ChildLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
clearOneof
public PlanNode.ChildLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
addRepeatedField
public PlanNode.ChildLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
mergeFrom
public PlanNode.ChildLink.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PlanNode.ChildLink.Builder>
-
mergeFrom
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getChildIndex
in 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:
getType
in 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:
getTypeBytes
in 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:
getVariable
in 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:
getVariableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
mergeUnknownFields
public final PlanNode.ChildLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder>
-
-