• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 SecretManagerSecretOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.SecretManagerSecret)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Resource name of the SecretVersion. In format:
31    * projects/&#42;&#47;secrets/&#42;&#47;versions/&#42;
32    * </pre>
33    *
34    * <code>string version_name = 1 [(.google.api.resource_reference) = { ... }</code>
35    *
36    * @return The versionName.
37    */
getVersionName()38   java.lang.String getVersionName();
39   /**
40    *
41    *
42    * <pre>
43    * Resource name of the SecretVersion. In format:
44    * projects/&#42;&#47;secrets/&#42;&#47;versions/&#42;
45    * </pre>
46    *
47    * <code>string version_name = 1 [(.google.api.resource_reference) = { ... }</code>
48    *
49    * @return The bytes for versionName.
50    */
getVersionNameBytes()51   com.google.protobuf.ByteString getVersionNameBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Environment variable name to associate with the secret.
58    * Secret environment variables must be unique across all of a build's
59    * secrets, and must be used by at least one build step.
60    * </pre>
61    *
62    * <code>string env = 2;</code>
63    *
64    * @return The env.
65    */
getEnv()66   java.lang.String getEnv();
67   /**
68    *
69    *
70    * <pre>
71    * Environment variable name to associate with the secret.
72    * Secret environment variables must be unique across all of a build's
73    * secrets, and must be used by at least one build step.
74    * </pre>
75    *
76    * <code>string env = 2;</code>
77    *
78    * @return The bytes for env.
79    */
getEnvBytes()80   com.google.protobuf.ByteString getEnvBytes();
81 }
82