Package com.google.spanner.v1
Class PartitionReadRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
- com.google.spanner.v1.PartitionReadRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PartitionReadRequestOrBuilder,Cloneable
- Enclosing class:
- PartitionReadRequest
public static final class PartitionReadRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder> implements PartitionReadRequestOrBuilder
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
Protobuf typegoogle.spanner.v1.PartitionReadRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionReadRequest.BuilderaddAllColumns(Iterable<String> values)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.BuilderaddColumns(String value)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.BuilderaddColumnsBytes(com.google.protobuf.ByteString value)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PartitionReadRequestbuild()PartitionReadRequestbuildPartial()PartitionReadRequest.Builderclear()PartitionReadRequest.BuilderclearColumns()The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PartitionReadRequest.BuilderclearIndex()If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.BuilderclearKeySet()Required.PartitionReadRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PartitionReadRequest.BuilderclearPartitionOptions()Additional options that affect how many partitions are created.PartitionReadRequest.BuilderclearSession()Required.PartitionReadRequest.BuilderclearTable()Required.PartitionReadRequest.BuilderclearTransaction()Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.Builderclone()StringgetColumns(int index)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.com.google.protobuf.ByteStringgetColumnsBytes(int index)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.intgetColumnsCount()The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.com.google.protobuf.ProtocolStringListgetColumnsList()The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIndex()If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].com.google.protobuf.ByteStringgetIndexBytes()If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].KeySetgetKeySet()Required.KeySet.BuildergetKeySetBuilder()Required.KeySetOrBuildergetKeySetOrBuilder()Required.PartitionOptionsgetPartitionOptions()Additional options that affect how many partitions are created.PartitionOptions.BuildergetPartitionOptionsBuilder()Additional options that affect how many partitions are created.PartitionOptionsOrBuildergetPartitionOptionsOrBuilder()Additional options that affect how many partitions are created.StringgetSession()Required.com.google.protobuf.ByteStringgetSessionBytes()Required.StringgetTable()Required.com.google.protobuf.ByteStringgetTableBytes()Required.TransactionSelectorgetTransaction()Read only snapshot transactions are supported, read/write and single use transactions are not.TransactionSelector.BuildergetTransactionBuilder()Read only snapshot transactions are supported, read/write and single use transactions are not.TransactionSelectorOrBuildergetTransactionOrBuilder()Read only snapshot transactions are supported, read/write and single use transactions are not.booleanhasKeySet()Required.booleanhasPartitionOptions()Additional options that affect how many partitions are created.booleanhasTransaction()Read only snapshot transactions are supported, read/write and single use transactions are not.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PartitionReadRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PartitionReadRequest.BuildermergeFrom(com.google.protobuf.Message other)PartitionReadRequest.BuildermergeFrom(PartitionReadRequest other)PartitionReadRequest.BuildermergeKeySet(KeySet value)Required.PartitionReadRequest.BuildermergePartitionOptions(PartitionOptions value)Additional options that affect how many partitions are created.PartitionReadRequest.BuildermergeTransaction(TransactionSelector value)Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PartitionReadRequest.BuildersetColumns(int index, String value)The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PartitionReadRequest.BuildersetIndex(String value)If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.BuildersetIndexBytes(com.google.protobuf.ByteString value)If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.BuildersetKeySet(KeySet value)Required.PartitionReadRequest.BuildersetKeySet(KeySet.Builder builderForValue)Required.PartitionReadRequest.BuildersetPartitionOptions(PartitionOptions value)Additional options that affect how many partitions are created.PartitionReadRequest.BuildersetPartitionOptions(PartitionOptions.Builder builderForValue)Additional options that affect how many partitions are created.PartitionReadRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PartitionReadRequest.BuildersetSession(String value)Required.PartitionReadRequest.BuildersetSessionBytes(com.google.protobuf.ByteString value)Required.PartitionReadRequest.BuildersetTable(String value)Required.PartitionReadRequest.BuildersetTableBytes(com.google.protobuf.ByteString value)Required.PartitionReadRequest.BuildersetTransaction(TransactionSelector value)Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.BuildersetTransaction(TransactionSelector.Builder builderForValue)Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<PartitionReadRequest.Builder>
-
clear
public PartitionReadRequest.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<PartitionReadRequest.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<PartitionReadRequest.Builder>
-
getDefaultInstanceForType
public PartitionReadRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartitionReadRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartitionReadRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
setField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
clearField
public PartitionReadRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
clearOneof
public PartitionReadRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
setRepeatedField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
addRepeatedField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
mergeFrom
public PartitionReadRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartitionReadRequest.Builder>
-
mergeFrom
public PartitionReadRequest.Builder mergeFrom(PartitionReadRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
mergeFrom
public PartitionReadRequest.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<PartitionReadRequest.Builder>- Throws:
IOException
-
getSession
public String getSession()
Required. The session used to create the partitions.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getSessionin interfacePartitionReadRequestOrBuilder- Returns:
- The session.
-
getSessionBytes
public com.google.protobuf.ByteString getSessionBytes()
Required. The session used to create the partitions.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getSessionBytesin interfacePartitionReadRequestOrBuilder- Returns:
- The bytes for session.
-
setSession
public PartitionReadRequest.Builder setSession(String value)
Required. The session used to create the partitions.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The session to set.- Returns:
- This builder for chaining.
-
clearSession
public PartitionReadRequest.Builder clearSession()
Required. The session used to create the partitions.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setSessionBytes
public PartitionReadRequest.Builder setSessionBytes(com.google.protobuf.ByteString value)
Required. The session used to create the partitions.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for session to set.- Returns:
- This builder for chaining.
-
hasTransaction
public boolean hasTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
hasTransactionin interfacePartitionReadRequestOrBuilder- Returns:
- Whether the transaction field is set.
-
getTransaction
public TransactionSelector getTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
getTransactionin interfacePartitionReadRequestOrBuilder- Returns:
- The transaction.
-
setTransaction
public PartitionReadRequest.Builder setTransaction(TransactionSelector value)
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;
-
setTransaction
public PartitionReadRequest.Builder setTransaction(TransactionSelector.Builder builderForValue)
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;
-
mergeTransaction
public PartitionReadRequest.Builder mergeTransaction(TransactionSelector value)
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;
-
clearTransaction
public PartitionReadRequest.Builder clearTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;
-
getTransactionBuilder
public TransactionSelector.Builder getTransactionBuilder()
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;
-
getTransactionOrBuilder
public TransactionSelectorOrBuilder getTransactionOrBuilder()
Read only snapshot transactions are supported, read/write and single use transactions are not.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
getTransactionOrBuilderin interfacePartitionReadRequestOrBuilder
-
getTable
public String getTable()
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTablein interfacePartitionReadRequestOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTableBytesin interfacePartitionReadRequestOrBuilder- Returns:
- The bytes for table.
-
setTable
public PartitionReadRequest.Builder setTable(String value)
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
public PartitionReadRequest.Builder clearTable()
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTableBytes
public PartitionReadRequest.Builder setTableBytes(com.google.protobuf.ByteString value)
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
getIndex
public String getIndex()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
string index = 4;- Specified by:
getIndexin interfacePartitionReadRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
string index = 4;- Specified by:
getIndexBytesin interfacePartitionReadRequestOrBuilder- Returns:
- The bytes for index.
-
setIndex
public PartitionReadRequest.Builder setIndex(String value)
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
string index = 4;- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
public PartitionReadRequest.Builder clearIndex()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
string index = 4;- Returns:
- This builder for chaining.
-
setIndexBytes
public PartitionReadRequest.Builder setIndexBytes(com.google.protobuf.ByteString value)
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
string index = 4;- Parameters:
value- The bytes for index to set.- Returns:
- This builder for chaining.
-
getColumnsList
public com.google.protobuf.ProtocolStringList getColumnsList()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Specified by:
getColumnsListin interfacePartitionReadRequestOrBuilder- Returns:
- A list containing the columns.
-
getColumnsCount
public int getColumnsCount()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Specified by:
getColumnsCountin interfacePartitionReadRequestOrBuilder- Returns:
- The count of columns.
-
getColumns
public String getColumns(int index)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Specified by:
getColumnsin interfacePartitionReadRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The columns at the given index.
-
getColumnsBytes
public com.google.protobuf.ByteString getColumnsBytes(int index)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Specified by:
getColumnsBytesin interfacePartitionReadRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the columns at the given index.
-
setColumns
public PartitionReadRequest.Builder setColumns(int index, String value)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Parameters:
index- The index to set the value at.value- The columns to set.- Returns:
- This builder for chaining.
-
addColumns
public PartitionReadRequest.Builder addColumns(String value)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Parameters:
value- The columns to add.- Returns:
- This builder for chaining.
-
addAllColumns
public PartitionReadRequest.Builder addAllColumns(Iterable<String> values)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Parameters:
values- The columns to add.- Returns:
- This builder for chaining.
-
clearColumns
public PartitionReadRequest.Builder clearColumns()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Returns:
- This builder for chaining.
-
addColumnsBytes
public PartitionReadRequest.Builder addColumnsBytes(com.google.protobuf.ByteString value)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5;- Parameters:
value- The bytes of the columns to add.- Returns:
- This builder for chaining.
-
hasKeySet
public boolean hasKeySet()
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasKeySetin interfacePartitionReadRequestOrBuilder- Returns:
- Whether the keySet field is set.
-
getKeySet
public KeySet getKeySet()
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeySetin interfacePartitionReadRequestOrBuilder- Returns:
- The keySet.
-
setKeySet
public PartitionReadRequest.Builder setKeySet(KeySet value)
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
-
setKeySet
public PartitionReadRequest.Builder setKeySet(KeySet.Builder builderForValue)
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
-
mergeKeySet
public PartitionReadRequest.Builder mergeKeySet(KeySet value)
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
-
clearKeySet
public PartitionReadRequest.Builder clearKeySet()
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
-
getKeySetBuilder
public KeySet.Builder getKeySetBuilder()
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
-
getKeySetOrBuilder
public KeySetOrBuilder getKeySetOrBuilder()
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeySetOrBuilderin interfacePartitionReadRequestOrBuilder
-
hasPartitionOptions
public boolean hasPartitionOptions()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;- Specified by:
hasPartitionOptionsin interfacePartitionReadRequestOrBuilder- Returns:
- Whether the partitionOptions field is set.
-
getPartitionOptions
public PartitionOptions getPartitionOptions()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;- Specified by:
getPartitionOptionsin interfacePartitionReadRequestOrBuilder- Returns:
- The partitionOptions.
-
setPartitionOptions
public PartitionReadRequest.Builder setPartitionOptions(PartitionOptions value)
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
-
setPartitionOptions
public PartitionReadRequest.Builder setPartitionOptions(PartitionOptions.Builder builderForValue)
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
-
mergePartitionOptions
public PartitionReadRequest.Builder mergePartitionOptions(PartitionOptions value)
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
-
clearPartitionOptions
public PartitionReadRequest.Builder clearPartitionOptions()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
-
getPartitionOptionsBuilder
public PartitionOptions.Builder getPartitionOptionsBuilder()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
-
getPartitionOptionsOrBuilder
public PartitionOptionsOrBuilder getPartitionOptionsOrBuilder()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;- Specified by:
getPartitionOptionsOrBuilderin interfacePartitionReadRequestOrBuilder
-
setUnknownFields
public final PartitionReadRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
mergeUnknownFields
public final PartitionReadRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
-