public final class SqlInstancesExecuteSqlResponse extends GeneratedMessage implements SqlInstancesExecuteSqlResponseOrBuilder
Execute SQL statements response.
Protobuf type google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SqlInstancesExecuteSqlResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlInstancesExecuteSqlResponse.Builder newBuilder()
newBuilder(SqlInstancesExecuteSqlResponse prototype)
public static SqlInstancesExecuteSqlResponse.Builder newBuilder(SqlInstancesExecuteSqlResponse prototype)
public static SqlInstancesExecuteSqlResponse parseDelimitedFrom(InputStream input)
public static SqlInstancesExecuteSqlResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlInstancesExecuteSqlResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesExecuteSqlResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlInstancesExecuteSqlResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesExecuteSqlResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesExecuteSqlResponse parseFrom(CodedInputStream input)
public static SqlInstancesExecuteSqlResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesExecuteSqlResponse parseFrom(InputStream input)
public static SqlInstancesExecuteSqlResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlInstancesExecuteSqlResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesExecuteSqlResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlInstancesExecuteSqlResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SqlInstancesExecuteSqlResponse getDefaultInstanceForType()
getMessages(int index)
public SqlInstancesExecuteSqlResponse.Message getMessages(int index)
A list of notices and warnings generated during query execution.
For PostgreSQL, this includes all notices and warnings.
For MySQL, this includes warnings generated by the last executed statement.
To retrieve all warnings for a multi-statement query, SHOW WARNINGS must
be executed after each statement.
repeated .google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.Message messages = 9;
| Parameter |
| Name |
Description |
index |
int
|
getMessagesCount()
public int getMessagesCount()
A list of notices and warnings generated during query execution.
For PostgreSQL, this includes all notices and warnings.
For MySQL, this includes warnings generated by the last executed statement.
To retrieve all warnings for a multi-statement query, SHOW WARNINGS must
be executed after each statement.
repeated .google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.Message messages = 9;
| Returns |
| Type |
Description |
int |
|
getMessagesList()
public List<SqlInstancesExecuteSqlResponse.Message> getMessagesList()
A list of notices and warnings generated during query execution.
For PostgreSQL, this includes all notices and warnings.
For MySQL, this includes warnings generated by the last executed statement.
To retrieve all warnings for a multi-statement query, SHOW WARNINGS must
be executed after each statement.
repeated .google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.Message messages = 9;
getMessagesOrBuilder(int index)
public SqlInstancesExecuteSqlResponse.MessageOrBuilder getMessagesOrBuilder(int index)
A list of notices and warnings generated during query execution.
For PostgreSQL, this includes all notices and warnings.
For MySQL, this includes warnings generated by the last executed statement.
To retrieve all warnings for a multi-statement query, SHOW WARNINGS must
be executed after each statement.
repeated .google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.Message messages = 9;
| Parameter |
| Name |
Description |
index |
int
|
getMessagesOrBuilderList()
public List<? extends SqlInstancesExecuteSqlResponse.MessageOrBuilder> getMessagesOrBuilderList()
A list of notices and warnings generated during query execution.
For PostgreSQL, this includes all notices and warnings.
For MySQL, this includes warnings generated by the last executed statement.
To retrieve all warnings for a multi-statement query, SHOW WARNINGS must
be executed after each statement.
repeated .google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.Message messages = 9;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.sql.v1beta4.SqlInstancesExecuteSqlResponse.MessageOrBuilder> |
|
public Metadata getMetadata()
The additional metadata information regarding the execution of the SQL
statements.
.google.cloud.sql.v1beta4.Metadata metadata = 6;
| Returns |
| Type |
Description |
Metadata |
The metadata.
|
public MetadataOrBuilder getMetadataOrBuilder()
The additional metadata information regarding the execution of the SQL
statements.
.google.cloud.sql.v1beta4.Metadata metadata = 6;
getParserForType()
public Parser<SqlInstancesExecuteSqlResponse> getParserForType()
Overrides
getResults(int index)
public QueryResult getResults(int index)
The list of results after executing all the SQL statements.
repeated .google.cloud.sql.v1beta4.QueryResult results = 7;
| Parameter |
| Name |
Description |
index |
int
|
getResultsCount()
public int getResultsCount()
The list of results after executing all the SQL statements.
repeated .google.cloud.sql.v1beta4.QueryResult results = 7;
| Returns |
| Type |
Description |
int |
|
getResultsList()
public List<QueryResult> getResultsList()
The list of results after executing all the SQL statements.
repeated .google.cloud.sql.v1beta4.QueryResult results = 7;
getResultsOrBuilder(int index)
public QueryResultOrBuilder getResultsOrBuilder(int index)
The list of results after executing all the SQL statements.
repeated .google.cloud.sql.v1beta4.QueryResult results = 7;
| Parameter |
| Name |
Description |
index |
int
|
getResultsOrBuilderList()
public List<? extends QueryResultOrBuilder> getResultsOrBuilderList()
The list of results after executing all the SQL statements.
repeated .google.cloud.sql.v1beta4.QueryResult results = 7;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.sql.v1beta4.QueryResultOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStatus()
public Status getStatus()
Contains the error from the database if the SQL execution failed.
.google.rpc.Status status = 8;
| Returns |
| Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
Contains the error from the database if the SQL execution failed.
.google.rpc.Status status = 8;
| Returns |
| Type |
Description |
com.google.rpc.StatusOrBuilder |
|
public boolean hasMetadata()
The additional metadata information regarding the execution of the SQL
statements.
.google.cloud.sql.v1beta4.Metadata metadata = 6;
| Returns |
| Type |
Description |
boolean |
Whether the metadata field is set.
|
hasStatus()
public boolean hasStatus()
Contains the error from the database if the SQL execution failed.
.google.rpc.Status status = 8;
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlInstancesExecuteSqlResponse.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SqlInstancesExecuteSqlResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SqlInstancesExecuteSqlResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides