Package com.google.cloud.alloydb.v1beta
Interface ExecuteSqlMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExecuteSqlMetadata,ExecuteSqlMetadata.Builder
@Generated
public interface ExecuteSqlMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMessage related to SQL execution.com.google.protobuf.ByteStringMessage related to SQL execution.booleanSet to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.com.google.protobuf.DurationThe time duration taken to execute the sql statement.com.google.protobuf.DurationOrBuilderThe time duration taken to execute the sql statement.Status of SQL execution.intStatus of SQL execution.booleanThe time duration taken to execute the sql statement.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessage
String getMessage()Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."
string message = 1;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."
string message = 1;- Returns:
- The bytes for message.
-
getPartialResult
boolean getPartialResult()Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.
bool partial_result = 2;- Returns:
- The partialResult.
-
hasSqlStatementExecutionDuration
boolean hasSqlStatementExecutionDuration()The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;- Returns:
- Whether the sqlStatementExecutionDuration field is set.
-
getSqlStatementExecutionDuration
com.google.protobuf.Duration getSqlStatementExecutionDuration()The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;- Returns:
- The sqlStatementExecutionDuration.
-
getSqlStatementExecutionDurationOrBuilder
com.google.protobuf.DurationOrBuilder getSqlStatementExecutionDurationOrBuilder()The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3; -
getStatusValue
int getStatusValue()Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
ExecuteSqlMetadata.Status getStatus()Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;- Returns:
- The status.
-