Enum ExecuteSqlPayload.PartialResultMode (0.1.0)

public enum ExecuteSqlPayload.PartialResultMode extends Enum<ExecuteSqlPayload.PartialResultMode> implements ProtocolMessageEnum

Controls how the API should respond when the SQL execution result exceeds 10 MB.

Protobuf enum google.cloud.sql.v1beta4.ExecuteSqlPayload.PartialResultMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALLOW_PARTIAL_RESULT

Return a truncated result and set partial_result to true if the result exceeds 10 MB or if only a partial result can be retrieved due to error. Don't throw an error.

ALLOW_PARTIAL_RESULT = 2;

ALLOW_PARTIAL_RESULT_VALUE

Return a truncated result and set partial_result to true if the result exceeds 10 MB or if only a partial result can be retrieved due to error. Don't throw an error.

ALLOW_PARTIAL_RESULT = 2;

FAIL_PARTIAL_RESULT

Throw an error if the result exceeds 10 MB or if only a partial result can be retrieved. Don't return the result.

FAIL_PARTIAL_RESULT = 1;

FAIL_PARTIAL_RESULT_VALUE

Throw an error if the result exceeds 10 MB or if only a partial result can be retrieved. Don't return the result.

FAIL_PARTIAL_RESULT = 1;

PARTIAL_RESULT_MODE_UNSPECIFIED

Unspecified mode, effectively the same as FAIL_PARTIAL_RESULT.

PARTIAL_RESULT_MODE_UNSPECIFIED = 0;

PARTIAL_RESULT_MODE_UNSPECIFIED_VALUE

Unspecified mode, effectively the same as FAIL_PARTIAL_RESULT.

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