1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/devtools/cloudbuild/v1/cloudbuild.proto 18 19 package com.google.cloudbuild.v1; 20 21 public interface GetBuildRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.GetBuildRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The name of the `Build` to retrieve. 31 * Format: `projects/{project}/locations/{location}/builds/{build}` 32 * </pre> 33 * 34 * <code>string name = 4 [(.google.api.resource_reference) = { ... }</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * The name of the `Build` to retrieve. 44 * Format: `projects/{project}/locations/{location}/builds/{build}` 45 * </pre> 46 * 47 * <code>string name = 4 [(.google.api.resource_reference) = { ... }</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Required. ID of the project. 58 * </pre> 59 * 60 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 61 * 62 * @return The projectId. 63 */ getProjectId()64 java.lang.String getProjectId(); 65 /** 66 * 67 * 68 * <pre> 69 * Required. ID of the project. 70 * </pre> 71 * 72 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 73 * 74 * @return The bytes for projectId. 75 */ getProjectIdBytes()76 com.google.protobuf.ByteString getProjectIdBytes(); 77 78 /** 79 * 80 * 81 * <pre> 82 * Required. ID of the build. 83 * </pre> 84 * 85 * <code>string id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 86 * 87 * @return The id. 88 */ getId()89 java.lang.String getId(); 90 /** 91 * 92 * 93 * <pre> 94 * Required. ID of the build. 95 * </pre> 96 * 97 * <code>string id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 98 * 99 * @return The bytes for id. 100 */ getIdBytes()101 com.google.protobuf.ByteString getIdBytes(); 102 } 103