Interface BuildApprovalOrBuilder (3.16.0)

public interface BuildApprovalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract ApprovalConfig getConfig()

Output only. Configuration for manual approval of this build.

.google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApprovalConfig

The config.

getConfigOrBuilder()

public abstract ApprovalConfigOrBuilder getConfigOrBuilder()

Output only. Configuration for manual approval of this build.

.google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApprovalConfigOrBuilder

getResult()

public abstract ApprovalResult getResult()

Output only. Result of manual approval for this Build.

.google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApprovalResult

The result.

getResultOrBuilder()

public abstract ApprovalResultOrBuilder getResultOrBuilder()

Output only. Result of manual approval for this Build.

.google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApprovalResultOrBuilder

getState()

public abstract BuildApproval.State getState()

Output only. The state of this build's approval.

.google.devtools.cloudbuild.v1.BuildApproval.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BuildApproval.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of this build's approval.

.google.devtools.cloudbuild.v1.BuildApproval.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasConfig()

public abstract boolean hasConfig()

Output only. Configuration for manual approval of this build.

.google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the config field is set.

hasResult()

public abstract boolean hasResult()

Output only. Result of manual approval for this Build.

.google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the result field is set.