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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SqlResultImplements
SqlResultOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
SqlResult |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static SqlResult.Builder newBuilder()
Returns | |
---|---|
Type | Description |
SqlResult.Builder |
newBuilder(SqlResult prototype)
public static SqlResult.Builder newBuilder(SqlResult prototype)
Parameter | |
---|---|
Name | Description |
prototype |
SqlResult |
Returns | |
---|---|
Type | Description |
SqlResult.Builder |
parseDelimitedFrom(InputStream input)
public static SqlResult parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static SqlResult parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SqlResult parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SqlResult parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static SqlResult parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SqlResult parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlResult |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SqlResult> parser()
Returns | |
---|---|
Type | Description |
Parser<SqlResult> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
Returns | |
---|---|
Type | Description |
SqlResultColumn |
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;
Returns | |
---|---|
Type | Description |
List<SqlResultColumn> |
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 |
Returns | |
---|---|
Type | Description |
SqlResultColumnOrBuilder |
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()
Returns | |
---|---|
Type | Description |
SqlResult |
getParserForType()
public Parser<SqlResult> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<SqlResult> |
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 |
Returns | |
---|---|
Type | Description |
SqlResultRow |
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;
Returns | |
---|---|
Type | Description |
List<SqlResultRow> |
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 |
Returns | |
---|---|
Type | Description |
SqlResultRowOrBuilder |
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 |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public SqlResult.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
SqlResult.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
SqlResult.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public SqlResult.Builder toBuilder()
Returns | |
---|---|
Type | Description |
SqlResult.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |