public static final class ExecuteSqlResponse.Builder extends GeneratedMessageV3.Builder<ExecuteSqlResponse.Builder> implements ExecuteSqlResponseOrBuilder
Execute a SQL statement response.
Protobuf type google.cloud.alloydb.v1.ExecuteSqlResponse
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
addAllSqlResults(Iterable<? extends SqlResult> values)
public ExecuteSqlResponse.Builder addAllSqlResults(Iterable<? extends SqlResult> values)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1.SqlResult>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExecuteSqlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSqlResults(SqlResult value)
public ExecuteSqlResponse.Builder addSqlResults(SqlResult value)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
addSqlResults(SqlResult.Builder builderForValue)
public ExecuteSqlResponse.Builder addSqlResults(SqlResult.Builder builderForValue)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
addSqlResults(int index, SqlResult value)
public ExecuteSqlResponse.Builder addSqlResults(int index, SqlResult value)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
addSqlResults(int index, SqlResult.Builder builderForValue)
public ExecuteSqlResponse.Builder addSqlResults(int index, SqlResult.Builder builderForValue)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
addSqlResultsBuilder()
public SqlResult.Builder addSqlResultsBuilder()
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
addSqlResultsBuilder(int index)
public SqlResult.Builder addSqlResultsBuilder(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
|
build()
public ExecuteSqlResponse build()
buildPartial()
public ExecuteSqlResponse buildPartial()
clear()
public ExecuteSqlResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExecuteSqlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExecuteSqlResponse.Builder clearMetadata()
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecuteSqlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSqlResults()
public ExecuteSqlResponse.Builder clearSqlResults()
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
clone()
public ExecuteSqlResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ExecuteSqlResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExecuteSqlMetadata getMetadata()
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
public ExecuteSqlMetadata.Builder getMetadataBuilder()
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;
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
|
getSqlResultsBuilder(int index)
public SqlResult.Builder getSqlResultsBuilder(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
|
getSqlResultsBuilderList()
public List<SqlResult.Builder> getSqlResultsBuilderList()
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExecuteSqlResponse other)
public ExecuteSqlResponse.Builder mergeFrom(ExecuteSqlResponse other)
public ExecuteSqlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExecuteSqlResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ExecuteSqlResponse.Builder mergeMetadata(ExecuteSqlMetadata value)
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExecuteSqlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSqlResults(int index)
public ExecuteSqlResponse.Builder removeSqlResults(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExecuteSqlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExecuteSqlResponse.Builder setMetadata(ExecuteSqlMetadata value)
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
public ExecuteSqlResponse.Builder setMetadata(ExecuteSqlMetadata.Builder builderForValue)
Any additional metadata information regarding the execution of the sql
statement.
.google.cloud.alloydb.v1.ExecuteSqlMetadata metadata = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExecuteSqlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSqlResults(int index, SqlResult value)
public ExecuteSqlResponse.Builder setSqlResults(int index, SqlResult value)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
setSqlResults(int index, SqlResult.Builder builderForValue)
public ExecuteSqlResponse.Builder setSqlResults(int index, SqlResult.Builder builderForValue)
SqlResult represents the results for the execution of sql statements.
repeated .google.cloud.alloydb.v1.SqlResult sql_results = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecuteSqlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides