public static final class ResultSet.Builder extends GeneratedMessageV3.Builder<ResultSet.Builder> implements ResultSetOrBuilder
Results from Read or
ExecuteSql.
Protobuf type google.spanner.v1.ResultSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRows(Iterable<? extends ListValue> values)
public ResultSet.Builder addAllRows(Iterable<? extends ListValue> values)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.protobuf.ListValue>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResultSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRows(ListValue value)
public ResultSet.Builder addRows(ListValue value)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
addRows(ListValue.Builder builderForValue)
public ResultSet.Builder addRows(ListValue.Builder builderForValue)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
addRows(int index, ListValue value)
public ResultSet.Builder addRows(int index, ListValue value)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
addRows(int index, ListValue.Builder builderForValue)
public ResultSet.Builder addRows(int index, ListValue.Builder builderForValue)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
Builder
|
addRowsBuilder()
public ListValue.Builder addRowsBuilder()
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
addRowsBuilder(int index)
public ListValue.Builder addRowsBuilder(int index)
Each element in rows
is a row whose format is defined by
metadata.row_type. The ith element
in each row matches the ith field in
metadata.row_type. Elements are
encoded based on type as described
here.
repeated .google.protobuf.ListValue rows = 2;
Parameter |
Name |
Description |
index |
int
|
build()
buildPartial()
public ResultSet buildPartial()
clear()
public ResultSet.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)