public static final class SqlResult.Builder extends GeneratedMessageV3.Builder<SqlResult.Builder> implements SqlResultOrBuilder
SqlResult represents the result for the execution of a sql statement.
Protobuf type google.cloud.alloydb.v1alpha.SqlResult
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
addAllColumns(Iterable<? extends SqlResultColumn> values)
public SqlResult.Builder addAllColumns(Iterable<? extends SqlResultColumn> values)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1alpha.SqlResultColumn>
|
addAllRows(Iterable<? extends SqlResultRow> values)
public SqlResult.Builder addAllRows(Iterable<? extends SqlResultRow> values)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1alpha.SqlResultRow>
|
addColumns(SqlResultColumn value)
public SqlResult.Builder addColumns(SqlResultColumn value)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
addColumns(SqlResultColumn.Builder builderForValue)
public SqlResult.Builder addColumns(SqlResultColumn.Builder builderForValue)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
addColumns(int index, SqlResultColumn value)
public SqlResult.Builder addColumns(int index, SqlResultColumn value)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
addColumns(int index, SqlResultColumn.Builder builderForValue)
public SqlResult.Builder addColumns(int index, SqlResultColumn.Builder builderForValue)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
addColumnsBuilder()
public SqlResultColumn.Builder addColumnsBuilder()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
addColumnsBuilder(int index)
public SqlResultColumn.Builder addColumnsBuilder(int index)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRows(SqlResultRow value)
public SqlResult.Builder addRows(SqlResultRow value)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
addRows(SqlResultRow.Builder builderForValue)
public SqlResult.Builder addRows(SqlResultRow.Builder builderForValue)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
addRows(int index, SqlResultRow value)
public SqlResult.Builder addRows(int index, SqlResultRow value)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
addRows(int index, SqlResultRow.Builder builderForValue)
public SqlResult.Builder addRows(int index, SqlResultRow.Builder builderForValue)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
addRowsBuilder()
public SqlResultRow.Builder addRowsBuilder()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
addRowsBuilder(int index)
public SqlResultRow.Builder addRowsBuilder(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
build()
buildPartial()
public SqlResult buildPartial()
clear()
public SqlResult.Builder clear()
Overrides
clearColumns()
public SqlResult.Builder clearColumns()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
clearField(Descriptors.FieldDescriptor field)
public SqlResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRows()
public SqlResult.Builder clearRows()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
clone()
public SqlResult.Builder clone()
Overrides
getColumns(int index)
public SqlResultColumn getColumns(int index)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
getColumnsBuilder(int index)
public SqlResultColumn.Builder getColumnsBuilder(int index)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
getColumnsBuilderList()
public List<SqlResultColumn.Builder> getColumnsBuilderList()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
getColumnsCount()
public int getColumnsCount()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Returns |
Type |
Description |
int |
|
getColumnsList()
public List<SqlResultColumn> getColumnsList()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
getColumnsOrBuilder(int index)
public SqlResultColumnOrBuilder getColumnsOrBuilder(int index)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
getColumnsOrBuilderList()
public List<? extends SqlResultColumnOrBuilder> getColumnsOrBuilderList()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1alpha.SqlResultColumnOrBuilder> |
|
getDefaultInstanceForType()
public SqlResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRows(int index)
public SqlResultRow getRows(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
getRowsBuilder(int index)
public SqlResultRow.Builder getRowsBuilder(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
getRowsBuilderList()
public List<SqlResultRow.Builder> getRowsBuilderList()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
getRowsCount()
public int getRowsCount()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Returns |
Type |
Description |
int |
|
getRowsList()
public List<SqlResultRow> getRowsList()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
getRowsOrBuilder(int index)
public SqlResultRowOrBuilder getRowsOrBuilder(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
getRowsOrBuilderList()
public List<? extends SqlResultRowOrBuilder> getRowsOrBuilderList()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1alpha.SqlResultRowOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SqlResult other)
public SqlResult.Builder mergeFrom(SqlResult other)
public SqlResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SqlResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeColumns(int index)
public SqlResult.Builder removeColumns(int index)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
removeRows(int index)
public SqlResult.Builder removeRows(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
setColumns(int index, SqlResultColumn value)
public SqlResult.Builder setColumns(int index, SqlResultColumn value)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
setColumns(int index, SqlResultColumn.Builder builderForValue)
public SqlResult.Builder setColumns(int index, SqlResultColumn.Builder builderForValue)
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1alpha.SqlResultColumn columns = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SqlResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRows(int index, SqlResultRow value)
public SqlResult.Builder setRows(int index, SqlResultRow value)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
setRows(int index, SqlResultRow.Builder builderForValue)
public SqlResult.Builder setRows(int index, SqlResultRow.Builder builderForValue)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1alpha.SqlResultRow rows = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides