Interface BuildApprovalOrBuilder (3.48.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the result field is set.