• 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 PubsubConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.PubsubConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. Name of the subscription. Format is
31    * `projects/{project}/subscriptions/{subscription}`.
32    * </pre>
33    *
34    * <code>
35    * string subscription = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
36    * </code>
37    *
38    * @return The subscription.
39    */
getSubscription()40   java.lang.String getSubscription();
41   /**
42    *
43    *
44    * <pre>
45    * Output only. Name of the subscription. Format is
46    * `projects/{project}/subscriptions/{subscription}`.
47    * </pre>
48    *
49    * <code>
50    * string subscription = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
51    * </code>
52    *
53    * @return The bytes for subscription.
54    */
getSubscriptionBytes()55   com.google.protobuf.ByteString getSubscriptionBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * The name of the topic from which this subscription is receiving messages.
62    * Format is `projects/{project}/topics/{topic}`.
63    * </pre>
64    *
65    * <code>string topic = 2 [(.google.api.resource_reference) = { ... }</code>
66    *
67    * @return The topic.
68    */
getTopic()69   java.lang.String getTopic();
70   /**
71    *
72    *
73    * <pre>
74    * The name of the topic from which this subscription is receiving messages.
75    * Format is `projects/{project}/topics/{topic}`.
76    * </pre>
77    *
78    * <code>string topic = 2 [(.google.api.resource_reference) = { ... }</code>
79    *
80    * @return The bytes for topic.
81    */
getTopicBytes()82   com.google.protobuf.ByteString getTopicBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * Service account that will make the push request.
89    * </pre>
90    *
91    * <code>string service_account_email = 3 [(.google.api.resource_reference) = { ... }</code>
92    *
93    * @return The serviceAccountEmail.
94    */
getServiceAccountEmail()95   java.lang.String getServiceAccountEmail();
96   /**
97    *
98    *
99    * <pre>
100    * Service account that will make the push request.
101    * </pre>
102    *
103    * <code>string service_account_email = 3 [(.google.api.resource_reference) = { ... }</code>
104    *
105    * @return The bytes for serviceAccountEmail.
106    */
getServiceAccountEmailBytes()107   com.google.protobuf.ByteString getServiceAccountEmailBytes();
108 
109   /**
110    *
111    *
112    * <pre>
113    * Potential issues with the underlying Pub/Sub subscription configuration.
114    * Only populated on get requests.
115    * </pre>
116    *
117    * <code>.google.devtools.cloudbuild.v1.PubsubConfig.State state = 4;</code>
118    *
119    * @return The enum numeric value on the wire for state.
120    */
getStateValue()121   int getStateValue();
122   /**
123    *
124    *
125    * <pre>
126    * Potential issues with the underlying Pub/Sub subscription configuration.
127    * Only populated on get requests.
128    * </pre>
129    *
130    * <code>.google.devtools.cloudbuild.v1.PubsubConfig.State state = 4;</code>
131    *
132    * @return The state.
133    */
getState()134   com.google.cloudbuild.v1.PubsubConfig.State getState();
135 }
136