Package com.google.cloudbuild.v1
Interface ApprovalResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApprovalResult,ApprovalResult.Builder
@Generated
public interface ApprovalResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Required.intRequired.getUrl()Optional.com.google.protobuf.ByteStringOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getApproverAccount
String getApproverAccount()Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.
string approver_account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The approverAccount.
-
getApproverAccountBytes
com.google.protobuf.ByteString getApproverAccountBytes()Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.
string approver_account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for approverAccount.
-
hasApprovalTime
boolean hasApprovalTime()Output only. The time when the approval decision was made.
.google.protobuf.Timestamp approval_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the approvalTime field is set.
-
getApprovalTime
com.google.protobuf.Timestamp getApprovalTime()Output only. The time when the approval decision was made.
.google.protobuf.Timestamp approval_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The approvalTime.
-
getApprovalTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getApprovalTimeOrBuilder()Output only. The time when the approval decision was made.
.google.protobuf.Timestamp approval_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDecisionValue
int getDecisionValue()Required. The decision of this manual approval.
.google.devtools.cloudbuild.v1.ApprovalResult.Decision decision = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for decision.
-
getDecision
ApprovalResult.Decision getDecision()Required. The decision of this manual approval.
.google.devtools.cloudbuild.v1.ApprovalResult.Decision decision = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The decision.
-
getComment
String getComment()Optional. An optional comment for this manual approval result.
string comment = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Optional. An optional comment for this manual approval result.
string comment = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for comment.
-
getUrl
String getUrl()Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
string url = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
string url = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for url.
-