Package com.google.spanner.executor.v1
Class ChildPartitionsRecord.ChildPartition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ChildPartitionsRecord.ChildPartitionOrBuilder,Cloneable
- Enclosing class:
- ChildPartitionsRecord.ChildPartition
public static final class ChildPartitionsRecord.ChildPartition.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
implements ChildPartitionsRecord.ChildPartitionOrBuilder
A single child partition.Protobuf type
google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition-
Method Summary
Modifier and TypeMethodDescriptionaddAllParentPartitionTokens(Iterable<String> values) Parent partition tokens of this child partition.addParentPartitionTokens(String value) Parent partition tokens of this child partition.addParentPartitionTokensBytes(com.google.protobuf.ByteString value) Parent partition tokens of this child partition.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Parent partition tokens of this child partition.Partition token string used to identify the child partition in queries.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetParentPartitionTokens(int index) Parent partition tokens of this child partition.com.google.protobuf.ByteStringgetParentPartitionTokensBytes(int index) Parent partition tokens of this child partition.intParent partition tokens of this child partition.com.google.protobuf.ProtocolStringListParent partition tokens of this child partition.getToken()Partition token string used to identify the child partition in queries.com.google.protobuf.ByteStringPartition token string used to identify the child partition in queries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setParentPartitionTokens(int index, String value) Parent partition tokens of this child partition.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Partition token string used to identify the child partition in queries.setTokenBytes(com.google.protobuf.ByteString value) Partition token string used to identify the child partition in queries.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<ChildPartitionsRecord.ChildPartition.Builder>
-
setField
public ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.Builder>
-
clearField
public ChildPartitionsRecord.ChildPartition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-
clearOneof
public ChildPartitionsRecord.ChildPartition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-
setRepeatedField
public ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.Builder>
-
addRepeatedField
public ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-
mergeFrom
public ChildPartitionsRecord.ChildPartition.Builder mergeFrom(ChildPartitionsRecord.ChildPartition other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-
mergeFrom
public ChildPartitionsRecord.ChildPartition.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<ChildPartitionsRecord.ChildPartition.Builder>- Throws:
IOException
-
getToken
Partition token string used to identify the child partition in queries.
string token = 1;- Specified by:
getTokenin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()Partition token string used to identify the child partition in queries.
string token = 1;- Specified by:
getTokenBytesin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Returns:
- The bytes for token.
-
setToken
Partition token string used to identify the child partition in queries.
string token = 1;- Parameters:
value- The token to set.- Returns:
- This builder for chaining.
-
clearToken
Partition token string used to identify the child partition in queries.
string token = 1;- Returns:
- This builder for chaining.
-
setTokenBytes
public ChildPartitionsRecord.ChildPartition.Builder setTokenBytes(com.google.protobuf.ByteString value) Partition token string used to identify the child partition in queries.
string token = 1;- Parameters:
value- The bytes for token to set.- Returns:
- This builder for chaining.
-
getParentPartitionTokensList
public com.google.protobuf.ProtocolStringList getParentPartitionTokensList()Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Specified by:
getParentPartitionTokensListin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Returns:
- A list containing the parentPartitionTokens.
-
getParentPartitionTokensCount
public int getParentPartitionTokensCount()Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Specified by:
getParentPartitionTokensCountin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Returns:
- The count of parentPartitionTokens.
-
getParentPartitionTokens
Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Specified by:
getParentPartitionTokensin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parentPartitionTokens at the given index.
-
getParentPartitionTokensBytes
public com.google.protobuf.ByteString getParentPartitionTokensBytes(int index) Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Specified by:
getParentPartitionTokensBytesin interfaceChildPartitionsRecord.ChildPartitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parentPartitionTokens at the given index.
-
setParentPartitionTokens
public ChildPartitionsRecord.ChildPartition.Builder setParentPartitionTokens(int index, String value) Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Parameters:
index- The index to set the value at.value- The parentPartitionTokens to set.- Returns:
- This builder for chaining.
-
addParentPartitionTokens
Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Parameters:
value- The parentPartitionTokens to add.- Returns:
- This builder for chaining.
-
addAllParentPartitionTokens
public ChildPartitionsRecord.ChildPartition.Builder addAllParentPartitionTokens(Iterable<String> values) Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Parameters:
values- The parentPartitionTokens to add.- Returns:
- This builder for chaining.
-
clearParentPartitionTokens
Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Returns:
- This builder for chaining.
-
addParentPartitionTokensBytes
public ChildPartitionsRecord.ChildPartition.Builder addParentPartitionTokensBytes(com.google.protobuf.ByteString value) Parent partition tokens of this child partition.
repeated string parent_partition_tokens = 2;- Parameters:
value- The bytes of the parentPartitionTokens to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChildPartitionsRecord.ChildPartition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-
mergeUnknownFields
public final ChildPartitionsRecord.ChildPartition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.ChildPartition.Builder>
-