public final class SqlResult extends GeneratedMessageV3 implements SqlResultOrBuilder
SqlResult represents the result for the execution of a sql statement.
Protobuf type google.cloud.alloydb.v1.SqlResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SqlResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlResult.Builder newBuilder()
newBuilder(SqlResult prototype)
public static SqlResult.Builder newBuilder(SqlResult prototype)
Parameter |
Name |
Description |
prototype |
SqlResult
|
public static SqlResult parseDelimitedFrom(InputStream input)
public static SqlResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(CodedInputStream input)
public static SqlResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(InputStream input)
public static SqlResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.v1.SqlResultColumn columns = 1;
Parameter |
Name |
Description |
index |
int
|
getColumnsCount()
public int getColumnsCount()
List of columns included in the result. This also includes the data type
of the column.
repeated .google.cloud.alloydb.v1.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.v1.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.v1.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.v1.SqlResultColumn columns = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1.SqlResultColumnOrBuilder> |
|
getDefaultInstanceForType()
public SqlResult getDefaultInstanceForType()
getParserForType()
public Parser<SqlResult> getParserForType()
Overrides
getRows(int index)
public SqlResultRow getRows(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
getRowsCount()
public int getRowsCount()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1.SqlResultRow rows = 2;
Returns |
Type |
Description |
int |
|
getRowsList()
public List<SqlResultRow> getRowsList()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1.SqlResultRow rows = 2;
getRowsOrBuilder(int index)
public SqlResultRowOrBuilder getRowsOrBuilder(int index)
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1.SqlResultRow rows = 2;
Parameter |
Name |
Description |
index |
int
|
getRowsOrBuilderList()
public List<? extends SqlResultRowOrBuilder> getRowsOrBuilderList()
Rows returned by the SQL statement.
repeated .google.cloud.alloydb.v1.SqlResultRow rows = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1.SqlResultRowOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SqlResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides