public static final class PartitionReadRequest.Builder extends GeneratedMessageV3.Builder<PartitionReadRequest.Builder> implements PartitionReadRequestOrBuilder
The request for PartitionRead
Protobuf type google.spanner.v1.PartitionReadRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PartitionReadRequest.BuilderImplements
PartitionReadRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllColumns(Iterable<String> values)
public PartitionReadRequest.Builder addAllColumns(Iterable<String> values)
The columns of table to be returned for each row matching this request.
repeated string columns = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The columns to add. |
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
This builder for chaining. |
addColumns(String value)
public PartitionReadRequest.Builder addColumns(String value)
The columns of table to be returned for each row matching this request.
repeated string columns = 5;
Parameter | |
---|---|
Name | Description |
value |
String The columns to add. |
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
This builder for chaining. |
addColumnsBytes(ByteString value)
public PartitionReadRequest.Builder addColumnsBytes(ByteString value)
The columns of table to be returned for each row matching this request.
repeated string columns = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the columns to add. |
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionReadRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
build()
public PartitionReadRequest build()
Returns | |
---|---|
Type | Description |
PartitionReadRequest |
buildPartial()
public PartitionReadRequest buildPartial()
Returns | |
---|---|
Type | Description |
PartitionReadRequest |
clear()
public PartitionReadRequest.Builder clear()
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
clearColumns()
public PartitionReadRequest.Builder clearColumns()
The columns of table to be returned for each row matching this request.
repeated string columns = 5;
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PartitionReadRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
clearIndex()
public PartitionReadRequest.Builder clearIndex()
If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.
string index = 4;
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
This builder for chaining. |
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 to be yielded, unless
index is present. If
index is present, then
key_set instead names
index keys in 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];
Returns | |
---|---|
Type | Description |
PartitionReadRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionReadRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
|