Interface ApproveBuildRequestOrBuilder (3.21.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
TypeDescription
ApprovalResult

The approvalResult.

getApprovalResultOrBuilder()

public abstract ApprovalResultOrBuilder getApprovalResultOrBuilder()

Approval decision and metadata.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

hasApprovalResult()

public abstract boolean hasApprovalResult()

Approval decision and metadata.

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

Returns
TypeDescription
boolean

Whether the approvalResult field is set.