com.google.cloudbuild.v1.BuildApprovalOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-build-v1 Show documentation
Show all versions of proto-google-cloud-build-v1 Show documentation
PROTO library for proto-google-cloud-build-v1
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/cloudbuild/v1/cloudbuild.proto
// Protobuf Java Version: 3.25.4
package com.google.cloudbuild.v1;
public interface BuildApprovalOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.BuildApproval)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The state of this build's approval.
*
*
*
* .google.devtools.cloudbuild.v1.BuildApproval.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
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];
*
*
* @return The state.
*/
com.google.cloudbuild.v1.BuildApproval.State getState();
/**
*
*
*
* Output only. Configuration for manual approval of this build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
*
*
*
* Output only. Configuration for manual approval of this build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The config.
*/
com.google.cloudbuild.v1.ApprovalConfig getConfig();
/**
*
*
*
* Output only. Configuration for manual approval of this build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalConfig config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloudbuild.v1.ApprovalConfigOrBuilder getConfigOrBuilder();
/**
*
*
*
* Output only. Result of manual approval for this Build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the result field is set.
*/
boolean hasResult();
/**
*
*
*
* Output only. Result of manual approval for this Build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The result.
*/
com.google.cloudbuild.v1.ApprovalResult getResult();
/**
*
*
*
* Output only. Result of manual approval for this Build.
*
*
*
* .google.devtools.cloudbuild.v1.ApprovalResult result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloudbuild.v1.ApprovalResultOrBuilder getResultOrBuilder();
}