Package com.google.cloudbuild.v1
Interface BuildApprovalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BuildApproval,BuildApproval.Builder
@Generated
public interface BuildApprovalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Output only.Output only.getState()Output only.intOutput only.booleanOutput only.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
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
hasConfig
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:
- Whether the config field is set.
-
getConfig
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:
- The config.
-
getConfigOrBuilder
ApprovalConfigOrBuilder getConfigOrBuilder()Output only. Configuration for manual approval of this build.
.google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasResult
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:
- Whether the result field is set.
-
getResult
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:
- The result.
-
getResultOrBuilder
ApprovalResultOrBuilder getResultOrBuilder()Output only. Result of manual approval for this Build.
.google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-