Class ExecuteSqlResponse (0.42.0)

public final class ExecuteSqlResponse extends GeneratedMessageV3 implements ExecuteSqlResponseOrBuilder

Execute a SQL statement response.

Protobuf type google.cloud.alloydb.v1.ExecuteSqlResponse

Static Fields

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

SQL_RESULTS_FIELD_NUMBER

public static final int SQL_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecuteSqlResponse getDefaultInstance()
Returns
Type Description
ExecuteSqlResponse

getDescriptor()

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

newBuilder()

public static ExecuteSqlResponse.Builder newBuilder()
Returns
Type Description
ExecuteSqlResponse.Builder

newBuilder(ExecuteSqlResponse prototype)

public static ExecuteSqlResponse.Builder newBuilder(ExecuteSqlResponse prototype)
Parameter
Name Description
prototype ExecuteSqlResponse
Returns
Type Description
ExecuteSqlResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExecuteSqlResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecuteSqlResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecuteSqlResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecuteSqlResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecuteSqlResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecuteSqlResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecuteSqlResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteSqlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecuteSqlResponse> parser()
Returns
Type Description
Parser<ExecuteSqlResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExecuteSqlResponse getDefaultInstanceForType()
Returns
Type Description
ExecuteSqlResponse

getMetadata()

public ExecuteSqlMetadata getMetadata()

Any additional metadata information regarding the execution of the sql statement.

.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;

Returns
Type Description
ExecuteSqlMetadata

The metadata.

getMetadataOrBuilder()

public ExecuteSqlMetadataOrBuilder getMetadataOrBuilder()

Any additional metadata information regarding the execution of the sql statement.

.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;

Returns
Type Description
ExecuteSqlMetadataOrBuilder

getParserForType()

public Parser<ExecuteSqlResponse> getParserForType()
Returns
Type Description
Parser<ExecuteSqlResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSqlResults(int index)

public SqlResult getSqlResults(int index)

SqlResult represents the results for the execution of sql statements.

repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResult

getSqlResultsCount()

public int getSqlResultsCount()

SqlResult represents the results for the execution of sql statements.

repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;

Returns
Type Description
int

getSqlResultsList()

public List<SqlResult> getSqlResultsList()

SqlResult represents the results for the execution of sql statements.

repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;

Returns
Type Description
List<SqlResult>

getSqlResultsOrBuilder(int index)

public SqlResultOrBuilder getSqlResultsOrBuilder(int index)

SqlResult represents the results for the execution of sql statements.

repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;

Parameter
Name Description
index int
Returns
Type Description
SqlResultOrBuilder

getSqlResultsOrBuilderList()

public List<? extends SqlResultOrBuilder> getSqlResultsOrBuilderList()

SqlResult represents the results for the execution of sql statements.

repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;

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

hasMetadata()

public boolean hasMetadata()

Any additional metadata information regarding the execution of the sql statement.

.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;

Returns
Type Description
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecuteSqlResponse.Builder newBuilderForType()
Returns
Type Description
ExecuteSqlResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecuteSqlResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecuteSqlResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExecuteSqlResponse.Builder toBuilder()
Returns
Type Description
ExecuteSqlResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException