- 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 ReadResult.Builder extends GeneratedMessageV3.Builder<ReadResult.Builder> implements ReadResultOrBuilderReadResult contains rows read.
Protobuf type google.spanner.executor.v1.ReadResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadResult.BuilderImplements
ReadResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRow(Iterable<? extends ValueList> values)
public ReadResult.Builder addAllRow(Iterable<? extends ValueList> values)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.spanner.executor.v1.ValueList> |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRow(ValueList value)
public ReadResult.Builder addRow(ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRow(ValueList.Builder builderForValue)
public ReadResult.Builder addRow(ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRow(int index, ValueList value)
public ReadResult.Builder addRow(int index, ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRow(int index, ValueList.Builder builderForValue)
public ReadResult.Builder addRow(int index, ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
addRowBuilder()
public ValueList.Builder addRowBuilder()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
addRowBuilder(int index)
public ValueList.Builder addRowBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
build()
public ReadResult build()| Returns | |
|---|---|
| Type | Description |
ReadResult |
|
buildPartial()
public ReadResult buildPartial()| Returns | |
|---|---|
| Type | Description |
ReadResult |
|
clear()
public ReadResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ReadResult.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
clearIndex()
public ReadResult.Builder clearIndex()Index name, if read from an index.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
clearRequestIndex()
public ReadResult.Builder clearRequestIndex()Request index (multiread only).
optional int32 request_index = 3;
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
clearRow()
public ReadResult.Builder clearRow()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
clearRowType()
public ReadResult.Builder clearRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
clearTable()
public ReadResult.Builder clearTable()Table name.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
clone()
public ReadResult.Builder clone()| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
getDefaultInstanceForType()
public ReadResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReadResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndex()
public String getIndex()Index name, if read from an index.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The index. |
getIndexBytes()
public ByteString getIndexBytes()Index name, if read from an index.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for index. |
getRequestIndex()
public int getRequestIndex()Request index (multiread only).
optional int32 request_index = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The requestIndex. |
getRow(int index)
public ValueList getRow(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList |
|
getRowBuilder(int index)
public ValueList.Builder getRowBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
getRowBuilderList()
public List<ValueList.Builder> getRowBuilderList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRowCount()
public int getRowCount()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRowList()
public List<ValueList> getRowList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
List<ValueList> |
|
getRowOrBuilder(int index)
public ValueListOrBuilder getRowOrBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueListOrBuilder |
|
getRowOrBuilderList()
public List<? extends ValueListOrBuilder> getRowOrBuilderList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.executor.v1.ValueListOrBuilder> |
|
getRowType()
public StructType getRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Returns | |
|---|---|
| Type | Description |
StructType |
The rowType. |
getRowTypeBuilder()
public StructType.Builder getRowTypeBuilder()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Returns | |
|---|---|
| Type | Description |
StructType.Builder |
|
getRowTypeOrBuilder()
public StructTypeOrBuilder getRowTypeOrBuilder()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Returns | |
|---|---|
| Type | Description |
StructTypeOrBuilder |
|
getTable()
public String getTable()Table name.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The table. |
getTableBytes()
public ByteString getTableBytes()Table name.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for table. |
hasIndex()
public boolean hasIndex()Index name, if read from an index.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the index field is set. |
hasRequestIndex()
public boolean hasRequestIndex()Request index (multiread only).
optional int32 request_index = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestIndex field is set. |
hasRowType()
public boolean hasRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rowType 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 ReadResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReadResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
mergeFrom(ReadResult other)
public ReadResult.Builder mergeFrom(ReadResult other)| Parameter | |
|---|---|
| Name | Description |
other |
ReadResult |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
mergeRowType(StructType value)
public ReadResult.Builder mergeRowType(StructType value)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StructType |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
removeRow(int index)
public ReadResult.Builder removeRow(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReadResult.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setIndex(String value)
public ReadResult.Builder setIndex(String value)Index name, if read from an index.
optional string index = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe index to set. |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
setIndexBytes(ByteString value)
public ReadResult.Builder setIndexBytes(ByteString value)Index name, if read from an index.
optional string index = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for index to set. |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setRequestIndex(int value)
public ReadResult.Builder setRequestIndex(int value)Request index (multiread only).
optional int32 request_index = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe requestIndex to set. |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
setRow(int index, ValueList value)
public ReadResult.Builder setRow(int index, ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setRow(int index, ValueList.Builder builderForValue)
public ReadResult.Builder setRow(int index, ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setRowType(StructType value)
public ReadResult.Builder setRowType(StructType value)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StructType |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setRowType(StructType.Builder builderForValue)
public ReadResult.Builder setRowType(StructType.Builder builderForValue)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StructType.Builder |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|
setTable(String value)
public ReadResult.Builder setTable(String value)Table name.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe table to set. |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public ReadResult.Builder setTableBytes(ByteString value)Table name.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for table to set. |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadResult.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReadResult.Builder |
|