• 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/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface TargetGrpcProxyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetGrpcProxy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] Creation timestamp in RFC3339 text format.
31    * </pre>
32    *
33    * <code>optional string creation_timestamp = 30525366;</code>
34    *
35    * @return Whether the creationTimestamp field is set.
36    */
hasCreationTimestamp()37   boolean hasCreationTimestamp();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] Creation timestamp in RFC3339 text format.
43    * </pre>
44    *
45    * <code>optional string creation_timestamp = 30525366;</code>
46    *
47    * @return The creationTimestamp.
48    */
getCreationTimestamp()49   java.lang.String getCreationTimestamp();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] Creation timestamp in RFC3339 text format.
55    * </pre>
56    *
57    * <code>optional string creation_timestamp = 30525366;</code>
58    *
59    * @return The bytes for creationTimestamp.
60    */
getCreationTimestampBytes()61   com.google.protobuf.ByteString getCreationTimestampBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * An optional description of this resource. Provide this property when you create the resource.
68    * </pre>
69    *
70    * <code>optional string description = 422937596;</code>
71    *
72    * @return Whether the description field is set.
73    */
hasDescription()74   boolean hasDescription();
75   /**
76    *
77    *
78    * <pre>
79    * An optional description of this resource. Provide this property when you create the resource.
80    * </pre>
81    *
82    * <code>optional string description = 422937596;</code>
83    *
84    * @return The description.
85    */
getDescription()86   java.lang.String getDescription();
87   /**
88    *
89    *
90    * <pre>
91    * An optional description of this resource. Provide this property when you create the resource.
92    * </pre>
93    *
94    * <code>optional string description = 422937596;</code>
95    *
96    * @return The bytes for description.
97    */
getDescriptionBytes()98   com.google.protobuf.ByteString getDescriptionBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.
105    * </pre>
106    *
107    * <code>optional string fingerprint = 234678500;</code>
108    *
109    * @return Whether the fingerprint field is set.
110    */
hasFingerprint()111   boolean hasFingerprint();
112   /**
113    *
114    *
115    * <pre>
116    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.
117    * </pre>
118    *
119    * <code>optional string fingerprint = 234678500;</code>
120    *
121    * @return The fingerprint.
122    */
getFingerprint()123   java.lang.String getFingerprint();
124   /**
125    *
126    *
127    * <pre>
128    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.
129    * </pre>
130    *
131    * <code>optional string fingerprint = 234678500;</code>
132    *
133    * @return The bytes for fingerprint.
134    */
getFingerprintBytes()135   com.google.protobuf.ByteString getFingerprintBytes();
136 
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] The unique identifier for the resource type. The server generates this identifier.
142    * </pre>
143    *
144    * <code>optional uint64 id = 3355;</code>
145    *
146    * @return Whether the id field is set.
147    */
hasId()148   boolean hasId();
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] The unique identifier for the resource type. The server generates this identifier.
154    * </pre>
155    *
156    * <code>optional uint64 id = 3355;</code>
157    *
158    * @return The id.
159    */
getId()160   long getId();
161 
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
167    * </pre>
168    *
169    * <code>optional string kind = 3292052;</code>
170    *
171    * @return Whether the kind field is set.
172    */
hasKind()173   boolean hasKind();
174   /**
175    *
176    *
177    * <pre>
178    * [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
179    * </pre>
180    *
181    * <code>optional string kind = 3292052;</code>
182    *
183    * @return The kind.
184    */
getKind()185   java.lang.String getKind();
186   /**
187    *
188    *
189    * <pre>
190    * [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
191    * </pre>
192    *
193    * <code>optional string kind = 3292052;</code>
194    *
195    * @return The bytes for kind.
196    */
getKindBytes()197   com.google.protobuf.ByteString getKindBytes();
198 
199   /**
200    *
201    *
202    * <pre>
203    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
204    * </pre>
205    *
206    * <code>optional string name = 3373707;</code>
207    *
208    * @return Whether the name field is set.
209    */
hasName()210   boolean hasName();
211   /**
212    *
213    *
214    * <pre>
215    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
216    * </pre>
217    *
218    * <code>optional string name = 3373707;</code>
219    *
220    * @return The name.
221    */
getName()222   java.lang.String getName();
223   /**
224    *
225    *
226    * <pre>
227    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
228    * </pre>
229    *
230    * <code>optional string name = 3373707;</code>
231    *
232    * @return The bytes for name.
233    */
getNameBytes()234   com.google.protobuf.ByteString getNameBytes();
235 
236   /**
237    *
238    *
239    * <pre>
240    * [Output Only] Server-defined URL for the resource.
241    * </pre>
242    *
243    * <code>optional string self_link = 456214797;</code>
244    *
245    * @return Whether the selfLink field is set.
246    */
hasSelfLink()247   boolean hasSelfLink();
248   /**
249    *
250    *
251    * <pre>
252    * [Output Only] Server-defined URL for the resource.
253    * </pre>
254    *
255    * <code>optional string self_link = 456214797;</code>
256    *
257    * @return The selfLink.
258    */
getSelfLink()259   java.lang.String getSelfLink();
260   /**
261    *
262    *
263    * <pre>
264    * [Output Only] Server-defined URL for the resource.
265    * </pre>
266    *
267    * <code>optional string self_link = 456214797;</code>
268    *
269    * @return The bytes for selfLink.
270    */
getSelfLinkBytes()271   com.google.protobuf.ByteString getSelfLinkBytes();
272 
273   /**
274    *
275    *
276    * <pre>
277    * [Output Only] Server-defined URL with id for the resource.
278    * </pre>
279    *
280    * <code>optional string self_link_with_id = 44520962;</code>
281    *
282    * @return Whether the selfLinkWithId field is set.
283    */
hasSelfLinkWithId()284   boolean hasSelfLinkWithId();
285   /**
286    *
287    *
288    * <pre>
289    * [Output Only] Server-defined URL with id for the resource.
290    * </pre>
291    *
292    * <code>optional string self_link_with_id = 44520962;</code>
293    *
294    * @return The selfLinkWithId.
295    */
getSelfLinkWithId()296   java.lang.String getSelfLinkWithId();
297   /**
298    *
299    *
300    * <pre>
301    * [Output Only] Server-defined URL with id for the resource.
302    * </pre>
303    *
304    * <code>optional string self_link_with_id = 44520962;</code>
305    *
306    * @return The bytes for selfLinkWithId.
307    */
getSelfLinkWithIdBytes()308   com.google.protobuf.ByteString getSelfLinkWithIdBytes();
309 
310   /**
311    *
312    *
313    * <pre>
314    * URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC.
315    * </pre>
316    *
317    * <code>optional string url_map = 367020684;</code>
318    *
319    * @return Whether the urlMap field is set.
320    */
hasUrlMap()321   boolean hasUrlMap();
322   /**
323    *
324    *
325    * <pre>
326    * URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC.
327    * </pre>
328    *
329    * <code>optional string url_map = 367020684;</code>
330    *
331    * @return The urlMap.
332    */
getUrlMap()333   java.lang.String getUrlMap();
334   /**
335    *
336    *
337    * <pre>
338    * URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC.
339    * </pre>
340    *
341    * <code>optional string url_map = 367020684;</code>
342    *
343    * @return The bytes for urlMap.
344    */
getUrlMapBytes()345   com.google.protobuf.ByteString getUrlMapBytes();
346 
347   /**
348    *
349    *
350    * <pre>
351    * If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use "xds:///" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use "xds:///" scheme in the target URI of the service it is connecting to
352    * </pre>
353    *
354    * <code>optional bool validate_for_proxyless = 101822888;</code>
355    *
356    * @return Whether the validateForProxyless field is set.
357    */
hasValidateForProxyless()358   boolean hasValidateForProxyless();
359   /**
360    *
361    *
362    * <pre>
363    * If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use "xds:///" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use "xds:///" scheme in the target URI of the service it is connecting to
364    * </pre>
365    *
366    * <code>optional bool validate_for_proxyless = 101822888;</code>
367    *
368    * @return The validateForProxyless.
369    */
getValidateForProxyless()370   boolean getValidateForProxyless();
371 }
372