Enum BuildApproval.State (3.6.0)

public enum BuildApproval.State extends Enum<BuildApproval.State> implements ProtocolMessageEnum

Specifies the current state of a build's approval.

Protobuf enum google.devtools.cloudbuild.v1.BuildApproval.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
APPROVED

Build approval has been approved.

APPROVED = 2;

APPROVED_VALUE

Build approval has been approved.

APPROVED = 2;

CANCELLED

Build was cancelled while it was still pending approval.

CANCELLED = 5;

CANCELLED_VALUE

Build was cancelled while it was still pending approval.

CANCELLED = 5;

PENDING

Build approval is pending.

PENDING = 1;

PENDING_VALUE

Build approval is pending.

PENDING = 1;

REJECTED

Build approval has been rejected.

REJECTED = 3;

REJECTED_VALUE

Build approval has been rejected.

REJECTED = 3;

STATE_UNSPECIFIED

Default enum type. This should not be used.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default enum type. This should not be used.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()