Package com.google.spanner.v1
Class PartitionReadRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.Builder
addAllColumns(Iterable<String> values)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.Builder
addColumns(String value)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.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.PartitionReadRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PartitionReadRequest
build()
PartitionReadRequest
buildPartial()
PartitionReadRequest.Builder
clear()
PartitionReadRequest.Builder
clearColumns()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PartitionReadRequest.Builder
clearIndex()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.Builder
clearKeySet()
Required.PartitionReadRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PartitionReadRequest.Builder
clearPartitionOptions()
Additional options that affect how many partitions are created.PartitionReadRequest.Builder
clearSession()
Required.PartitionReadRequest.Builder
clearTable()
Required.PartitionReadRequest.Builder
clearTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.Builder
clone()
String
getColumns(int index)
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.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.int
getColumnsCount()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.com.google.protobuf.ProtocolStringList
getColumnsList()
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.PartitionReadRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIndex()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].com.google.protobuf.ByteString
getIndexBytes()
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].KeySet
getKeySet()
Required.KeySet.Builder
getKeySetBuilder()
Required.KeySetOrBuilder
getKeySetOrBuilder()
Required.PartitionOptions
getPartitionOptions()
Additional options that affect how many partitions are created.PartitionOptions.Builder
getPartitionOptionsBuilder()
Additional options that affect how many partitions are created.PartitionOptionsOrBuilder
getPartitionOptionsOrBuilder()
Additional options that affect how many partitions are created.String
getSession()
Required.com.google.protobuf.ByteString
getSessionBytes()
Required.String
getTable()
Required.com.google.protobuf.ByteString
getTableBytes()
Required.TransactionSelector
getTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.TransactionSelector.Builder
getTransactionBuilder()
Read only snapshot transactions are supported, read/write and single use transactions are not.TransactionSelectorOrBuilder
getTransactionOrBuilder()
Read only snapshot transactions are supported, read/write and single use transactions are not.boolean
hasKeySet()
Required.boolean
hasPartitionOptions()
Additional options that affect how many partitions are created.boolean
hasTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PartitionReadRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PartitionReadRequest.Builder
mergeFrom(com.google.protobuf.Message other)
PartitionReadRequest.Builder
mergeFrom(PartitionReadRequest other)
PartitionReadRequest.Builder
mergeKeySet(KeySet value)
Required.PartitionReadRequest.Builder
mergePartitionOptions(PartitionOptions value)
Additional options that affect how many partitions are created.PartitionReadRequest.Builder
mergeTransaction(TransactionSelector value)
Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.PartitionReadRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PartitionReadRequest.Builder
setIndex(String value)
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.Builder
setIndexBytes(com.google.protobuf.ByteString value)
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table].PartitionReadRequest.Builder
setKeySet(KeySet value)
Required.PartitionReadRequest.Builder
setKeySet(KeySet.Builder builderForValue)
Required.PartitionReadRequest.Builder
setPartitionOptions(PartitionOptions value)
Additional options that affect how many partitions are created.PartitionReadRequest.Builder
setPartitionOptions(PartitionOptions.Builder builderForValue)
Additional options that affect how many partitions are created.PartitionReadRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PartitionReadRequest.Builder
setSession(String value)
Required.PartitionReadRequest.Builder
setSessionBytes(com.google.protobuf.ByteString value)
Required.PartitionReadRequest.Builder
setTable(String value)
Required.PartitionReadRequest.Builder
setTableBytes(com.google.protobuf.ByteString value)
Required.PartitionReadRequest.Builder
setTransaction(TransactionSelector value)
Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.Builder
setTransaction(TransactionSelector.Builder builderForValue)
Read only snapshot transactions are supported, read/write and single use transactions are not.PartitionReadRequest.Builder
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, 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<PartitionReadRequest.Builder>
-
clear
public PartitionReadRequest.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<PartitionReadRequest.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<PartitionReadRequest.Builder>
-
getDefaultInstanceForType
public PartitionReadRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartitionReadRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartitionReadRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
setField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
clearField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
clearOneof
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
setRepeatedField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
addRepeatedField
public PartitionReadRequest.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<PartitionReadRequest.Builder>
-
mergeFrom
public PartitionReadRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartitionReadRequest.Builder>
-
mergeFrom
public PartitionReadRequest.Builder mergeFrom(PartitionReadRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSession
in 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:
getSessionBytes
in 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:
hasTransaction
in 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:
getTransaction
in 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:
getTransactionOrBuilder
in 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:
getTable
in 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:
getTableBytes
in 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:
getIndex
in 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:
getIndexBytes
in 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:
getColumnsList
in 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:
getColumnsCount
in 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:
getColumns
in 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:
getColumnsBytes
in 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:
hasKeySet
in 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:
getKeySet
in 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:
getKeySetOrBuilder
in interfacePartitionReadRequestOrBuilder
-
hasPartitionOptions
public boolean hasPartitionOptions()
Additional options that affect how many partitions are created.
.google.spanner.v1.PartitionOptions partition_options = 9;
- Specified by:
hasPartitionOptions
in 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:
getPartitionOptions
in 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:
getPartitionOptionsOrBuilder
in interfacePartitionReadRequestOrBuilder
-
setUnknownFields
public final PartitionReadRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
mergeUnknownFields
public final PartitionReadRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionReadRequest.Builder>
-
-