Class SqlResultRow.Builder (0.42.0)

public static final class SqlResultRow.Builder extends GeneratedMessageV3.Builder<SqlResultRow.Builder> implements SqlResultRowOrBuilder

A single row from a sql result.

Protobuf type google.cloud.alloydb.v1.SqlResultRow

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllValues(Iterable<? extends SqlResultValue> values)

public SqlResultRow.Builder addAllValues(Iterable<? extends SqlResultValue> values)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.alloydb.v1.SqlResultValue>
Returns
Type Description
SqlResultRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlResultRow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlResultRow.Builder
Overrides

addValues(SqlResultValue value)

public SqlResultRow.Builder addValues(SqlResultValue value)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
value SqlResultValue
Returns
Type Description
SqlResultRow.Builder

addValues(SqlResultValue.Builder builderForValue)

public SqlResultRow.Builder addValues(SqlResultValue.Builder builderForValue)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
builderForValue SqlResultValue.Builder
Returns
Type Description
SqlResultRow.Builder

addValues(int index, SqlResultValue value)

public SqlResultRow.Builder addValues(int index, SqlResultValue value)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameters
Name Description
index int
value SqlResultValue
Returns
Type Description
SqlResultRow.Builder

addValues(int index, SqlResultValue.Builder builderForValue)

public SqlResultRow.Builder addValues(int index, SqlResultValue.Builder builderForValue)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameters
Name Description
index int
builderForValue SqlResultValue.Builder
Returns
Type Description
SqlResultRow.Builder

addValuesBuilder()

public SqlResultValue.Builder addValuesBuilder()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
SqlResultValue.Builder

addValuesBuilder(int index)

public SqlResultValue.Builder addValuesBuilder(int index)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultValue.Builder

build()

public SqlResultRow build()
Returns
Type Description
SqlResultRow

buildPartial()

public SqlResultRow buildPartial()
Returns
Type Description
SqlResultRow

clear()

public SqlResultRow.Builder clear()
Returns
Type Description
SqlResultRow.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SqlResultRow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SqlResultRow.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlResultRow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SqlResultRow.Builder
Overrides

clearValues()

public SqlResultRow.Builder clearValues()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
SqlResultRow.Builder

clone()

public SqlResultRow.Builder clone()
Returns
Type Description
SqlResultRow.Builder
Overrides

getDefaultInstanceForType()

public SqlResultRow getDefaultInstanceForType()
Returns
Type Description
SqlResultRow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValues(int index)

public SqlResultValue getValues(int index)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultValue

getValuesBuilder(int index)

public SqlResultValue.Builder getValuesBuilder(int index)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultValue.Builder

getValuesBuilderList()

public List<SqlResultValue.Builder> getValuesBuilderList()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
int

getValuesList()

public List<SqlResultValue> getValuesList()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
List<SqlResultValue>

getValuesOrBuilder(int index)

public SqlResultValueOrBuilder getValuesOrBuilder(int index)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultValueOrBuilder

getValuesOrBuilderList()

public List<? extends SqlResultValueOrBuilder> getValuesOrBuilderList()

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1.SqlResultValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlResultRow other)

public SqlResultRow.Builder mergeFrom(SqlResultRow other)
Parameter
Name Description
other SqlResultRow
Returns
Type Description
SqlResultRow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlResultRow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlResultRow.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlResultRow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlResultRow.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlResultRow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlResultRow.Builder
Overrides

removeValues(int index)

public SqlResultRow.Builder removeValues(int index)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultRow.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SqlResultRow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlResultRow.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SqlResultRow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SqlResultRow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlResultRow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlResultRow.Builder
Overrides

setValues(int index, SqlResultValue value)

public SqlResultRow.Builder setValues(int index, SqlResultValue value)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameters
Name Description
index int
value SqlResultValue
Returns
Type Description
SqlResultRow.Builder

setValues(int index, SqlResultValue.Builder builderForValue)

public SqlResultRow.Builder setValues(int index, SqlResultValue.Builder builderForValue)

List of values in a row of sql result.

repeated .google.cloud.alloydb.v1.SqlResultValue values = 1;

Parameters
Name Description
index int
builderForValue SqlResultValue.Builder
Returns
Type Description
SqlResultRow.Builder