Interface ExecuteSqlMetadataOrBuilder (0.42.0)

public interface ExecuteSqlMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract 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
Type Description
String

The message.

getMessageBytes()

public abstract 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
Type Description
ByteString

The bytes for message.

getPartialResult()

public abstract 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
Type Description
boolean

The partialResult.

getSqlStatementExecutionDuration()

public abstract Duration getSqlStatementExecutionDuration()

The time duration taken to execute the sql statement.

.google.protobuf.Duration sql_statement_execution_duration = 3;

Returns
Type Description
Duration

The sqlStatementExecutionDuration.

getSqlStatementExecutionDurationOrBuilder()

public abstract DurationOrBuilder getSqlStatementExecutionDurationOrBuilder()

The time duration taken to execute the sql statement.

.google.protobuf.Duration sql_statement_execution_duration = 3;

Returns
Type Description
DurationOrBuilder

getStatus()

public abstract ExecuteSqlMetadata.Status getStatus()

Status of SQL execution.

.google.cloud.alloydb.v1.ExecuteSqlMetadata.Status status = 4;

Returns
Type Description
ExecuteSqlMetadata.Status

The status.

getStatusValue()

public abstract int getStatusValue()

Status of SQL execution.

.google.cloud.alloydb.v1.ExecuteSqlMetadata.Status status = 4;

Returns
Type Description
int

The enum numeric value on the wire for status.

hasSqlStatementExecutionDuration()

public abstract boolean hasSqlStatementExecutionDuration()

The time duration taken to execute the sql statement.

.google.protobuf.Duration sql_statement_execution_duration = 3;

Returns
Type Description
boolean

Whether the sqlStatementExecutionDuration field is set.