public final class ExecuteSqlResponse extends GeneratedMessageV3 implements ExecuteSqlResponseOrBuilder
Execute a SQL statement response.
Protobuf type google.cloud.alloydb.v1.ExecuteSqlResponse
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExecuteSqlResponse.Builder newBuilder()
newBuilder(ExecuteSqlResponse prototype)
public static ExecuteSqlResponse.Builder newBuilder(ExecuteSqlResponse prototype)
public static ExecuteSqlResponse parseDelimitedFrom(InputStream input)
public static ExecuteSqlResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExecuteSqlResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExecuteSqlResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlResponse parseFrom(CodedInputStream input)
public static ExecuteSqlResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlResponse parseFrom(InputStream input)
public static ExecuteSqlResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExecuteSqlResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExecuteSqlResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ExecuteSqlResponse getDefaultInstanceForType()
public ExecuteSqlMetadata getMetadata()
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
public ExecuteSqlMetadataOrBuilder getMetadataOrBuilder()
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
getParserForType()
public Parser<ExecuteSqlResponse> getParserForType()
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
|
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;
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
|
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> |
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExecuteSqlResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExecuteSqlResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExecuteSqlResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides