Interface ApproveBuildRequestOrBuilder (3.49.0)

public interface ApproveBuildRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovalResult()

public abstract ApprovalResult getApprovalResult()

Approval decision and metadata.

.google.devtools.cloudbuild.v1.ApprovalResult approval_result = 2;

Returns
Type Description
ApprovalResult

The approvalResult.

getApprovalResultOrBuilder()

public abstract ApprovalResultOrBuilder getApprovalResultOrBuilder()

Approval decision and metadata.

.google.devtools.cloudbuild.v1.ApprovalResult approval_result = 2;

Returns
Type Description
ApprovalResultOrBuilder

getName()

public abstract String getName()

Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

hasApprovalResult()

public abstract boolean hasApprovalResult()

Approval decision and metadata.

.google.devtools.cloudbuild.v1.ApprovalResult approval_result = 2;

Returns
Type Description
boolean

Whether the approvalResult field is set.