Enum ExecuteSqlMetadata.Status (0.52.0)

public enum ExecuteSqlMetadata.Status extends Enum<ExecuteSqlMetadata.Status> implements ProtocolMessageEnum

Status contains all valid statuses a SQL execution can end up in.

Protobuf enum google.cloud.oracledatabase.v1.ExecuteSqlMetadata.Status

Implements

ProtocolMessageEnum

Static Fields

Name Description
ERROR

The database returned an error while executing the SQL statement. message contains the error text returned by Oracle. sql_results is empty. The statement runs in autocommit mode; which changes are committed or rolled back follows Oracle Database behavior. Authentication failures, database availability errors, network errors, and timeouts are returned as API errors (AIP-193), not as ERROR.

ERROR = 3;

ERROR_VALUE

The database returned an error while executing the SQL statement. message contains the error text returned by Oracle. sql_results is empty. The statement runs in autocommit mode; which changes are committed or rolled back follows Oracle Database behavior. Authentication failures, database availability errors, network errors, and timeouts are returned as API errors (AIP-193), not as ERROR.

ERROR = 3;

OK

No error during SQL execution i.e. All SQL statements ran to completion. The "message" will be empty.

OK = 1;

OK_VALUE

No error during SQL execution i.e. All SQL statements ran to completion. The "message" will be empty.

OK = 1;

PARTIAL

Same as OK, except indicates that only partial results were returned. The "message" field will contain details on why results were truncated. partial_result is true if and only if status is PARTIAL.

PARTIAL = 2;

PARTIAL_VALUE

Same as OK, except indicates that only partial results were returned. The "message" field will contain details on why results were truncated. partial_result is true if and only if status is PARTIAL.

PARTIAL = 2;

STATUS_UNSPECIFIED

Default value. Not returned by the service.

STATUS_UNSPECIFIED = 0;

STATUS_UNSPECIFIED_VALUE

Default value. Not returned by the service.

STATUS_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()