Enum ExecuteSqlMetadata.Status (0.42.0)

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

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ERROR

Error during SQL execution. Atleast 1 SQL statement execution resulted in a error. Side effects of other statements are rolled back. The "message" field will contain human readable error given by Postgres of the first bad SQL statement. SQL execution errors don't constitute API errors as defined in https://google.aip.dev/193 but will be returned as part of this message.

ERROR = 3;

ERROR_VALUE

Error during SQL execution. Atleast 1 SQL statement execution resulted in a error. Side effects of other statements are rolled back. The "message" field will contain human readable error given by Postgres of the first bad SQL statement. SQL execution errors don't constitute API errors as defined in https://google.aip.dev/193 but will be returned as part of this message.

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 = 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 = 2;

STATUS_UNSPECIFIED

The status is unknown.

STATUS_UNSPECIFIED = 0;

STATUS_UNSPECIFIED_VALUE

The status is unknown.

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()