- 6.102.0 (latest)
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class ReadAction.Builder extends GeneratedMessageV3.Builder<ReadAction.Builder> implements ReadActionOrBuilderA single read request.
Protobuf type google.spanner.executor.v1.ReadAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadAction.BuilderImplements
ReadActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllColumn(Iterable<String> values)
public ReadAction.Builder addAllColumn(Iterable<String> values)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The column to add. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
addColumn(String value)
public ReadAction.Builder addColumn(String value)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe column to add. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
addColumnBytes(ByteString value)
public ReadAction.Builder addColumnBytes(ByteString value)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the column to add. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
build()
public ReadAction build()| Returns | |
|---|---|
| Type | Description |
ReadAction |
|
buildPartial()
public ReadAction buildPartial()| Returns | |
|---|---|
| Type | Description |
ReadAction |
|
clear()
public ReadAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
clearColumn()
public ReadAction.Builder clearColumn()List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ReadAction.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
clearIndex()
public ReadAction.Builder clearIndex()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
clearKeys()
public ReadAction.Builder clearKeys()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
clearLimit()
public ReadAction.Builder clearLimit()Limit on number of rows to read. If set, must be positive.
int32 limit = 5;
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
clearTable()
public ReadAction.Builder clearTable()The table to read at.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
clone()
public ReadAction.Builder clone()| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
getColumn(int index)
public String getColumn(int index)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The column at the given index. |
getColumnBytes(int index)
public ByteString getColumnBytes(int index)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the column at the given index. |
getColumnCount()
public int getColumnCount()List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of column. |
getColumnList()
public ProtocolStringList getColumnList()List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the column. |
getDefaultInstanceForType()
public ReadAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReadAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndex()
public String getIndex()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The index. |
getIndexBytes()
public ByteString getIndexBytes()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for index. |
getKeys()
public KeySet getKeys()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
KeySet |
The keys. |
getKeysBuilder()
public KeySet.Builder getKeysBuilder()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
KeySet.Builder |
|
getKeysOrBuilder()
public KeySetOrBuilder getKeysOrBuilder()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
KeySetOrBuilder |
|
getLimit()
public int getLimit()Limit on number of rows to read. If set, must be positive.
int32 limit = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The limit. |
getTable()
public String getTable()The table to read at.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The table. |
getTableBytes()
public ByteString getTableBytes()The table to read at.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for table. |
hasIndex()
public boolean hasIndex()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the index field is set. |
hasKeys()
public boolean hasKeys()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keys field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReadAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
mergeFrom(ReadAction other)
public ReadAction.Builder mergeFrom(ReadAction other)| Parameter | |
|---|---|
| Name | Description |
other |
ReadAction |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
mergeKeys(KeySet value)
public ReadAction.Builder mergeKeys(KeySet value)Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
KeySet |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
setColumn(int index, String value)
public ReadAction.Builder setColumn(int index, String value)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe column to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadAction.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
setIndex(String value)
public ReadAction.Builder setIndex(String value)The index to read at if it's an index read.
optional string index = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe index to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setIndexBytes(ByteString value)
public ReadAction.Builder setIndexBytes(ByteString value)The index to read at if it's an index read.
optional string index = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for index to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setKeys(KeySet value)
public ReadAction.Builder setKeys(KeySet value)Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
KeySet |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
setKeys(KeySet.Builder builderForValue)
public ReadAction.Builder setKeys(KeySet.Builder builderForValue)Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KeySet.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
setLimit(int value)
public ReadAction.Builder setLimit(int value)Limit on number of rows to read. If set, must be positive.
int32 limit = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe limit to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|
setTable(String value)
public ReadAction.Builder setTable(String value)The table to read at.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe table to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public ReadAction.Builder setTableBytes(ByteString value)The table to read at.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for table to set. |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadAction.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReadAction.Builder |
|