• 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 VpnGatewayOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.VpnGateway)
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    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
105    * </pre>
106    *
107    * <code>optional uint64 id = 3355;</code>
108    *
109    * @return Whether the id field is set.
110    */
hasId()111   boolean hasId();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
117    * </pre>
118    *
119    * <code>optional uint64 id = 3355;</code>
120    *
121    * @return The id.
122    */
getId()123   long getId();
124 
125   /**
126    *
127    *
128    * <pre>
129    * [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
130    * </pre>
131    *
132    * <code>optional string kind = 3292052;</code>
133    *
134    * @return Whether the kind field is set.
135    */
hasKind()136   boolean hasKind();
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
142    * </pre>
143    *
144    * <code>optional string kind = 3292052;</code>
145    *
146    * @return The kind.
147    */
getKind()148   java.lang.String getKind();
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
154    * </pre>
155    *
156    * <code>optional string kind = 3292052;</code>
157    *
158    * @return The bytes for kind.
159    */
getKindBytes()160   com.google.protobuf.ByteString getKindBytes();
161 
162   /**
163    *
164    *
165    * <pre>
166    * A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
167    * </pre>
168    *
169    * <code>optional string label_fingerprint = 178124825;</code>
170    *
171    * @return Whether the labelFingerprint field is set.
172    */
hasLabelFingerprint()173   boolean hasLabelFingerprint();
174   /**
175    *
176    *
177    * <pre>
178    * A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
179    * </pre>
180    *
181    * <code>optional string label_fingerprint = 178124825;</code>
182    *
183    * @return The labelFingerprint.
184    */
getLabelFingerprint()185   java.lang.String getLabelFingerprint();
186   /**
187    *
188    *
189    * <pre>
190    * A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
191    * </pre>
192    *
193    * <code>optional string label_fingerprint = 178124825;</code>
194    *
195    * @return The bytes for labelFingerprint.
196    */
getLabelFingerprintBytes()197   com.google.protobuf.ByteString getLabelFingerprintBytes();
198 
199   /**
200    *
201    *
202    * <pre>
203    * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
204    * </pre>
205    *
206    * <code>map&lt;string, string&gt; labels = 500195327;</code>
207    */
getLabelsCount()208   int getLabelsCount();
209   /**
210    *
211    *
212    * <pre>
213    * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
214    * </pre>
215    *
216    * <code>map&lt;string, string&gt; labels = 500195327;</code>
217    */
containsLabels(java.lang.String key)218   boolean containsLabels(java.lang.String key);
219   /** Use {@link #getLabelsMap()} instead. */
220   @java.lang.Deprecated
getLabels()221   java.util.Map<java.lang.String, java.lang.String> getLabels();
222   /**
223    *
224    *
225    * <pre>
226    * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
227    * </pre>
228    *
229    * <code>map&lt;string, string&gt; labels = 500195327;</code>
230    */
getLabelsMap()231   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
232   /**
233    *
234    *
235    * <pre>
236    * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
237    * </pre>
238    *
239    * <code>map&lt;string, string&gt; labels = 500195327;</code>
240    */
241   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)242   java.lang.String getLabelsOrDefault(
243       java.lang.String key,
244       /* nullable */
245       java.lang.String defaultValue);
246   /**
247    *
248    *
249    * <pre>
250    * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
251    * </pre>
252    *
253    * <code>map&lt;string, string&gt; labels = 500195327;</code>
254    */
getLabelsOrThrow(java.lang.String key)255   java.lang.String getLabelsOrThrow(java.lang.String key);
256 
257   /**
258    *
259    *
260    * <pre>
261    * 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.
262    * </pre>
263    *
264    * <code>optional string name = 3373707;</code>
265    *
266    * @return Whether the name field is set.
267    */
hasName()268   boolean hasName();
269   /**
270    *
271    *
272    * <pre>
273    * 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.
274    * </pre>
275    *
276    * <code>optional string name = 3373707;</code>
277    *
278    * @return The name.
279    */
getName()280   java.lang.String getName();
281   /**
282    *
283    *
284    * <pre>
285    * 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.
286    * </pre>
287    *
288    * <code>optional string name = 3373707;</code>
289    *
290    * @return The bytes for name.
291    */
getNameBytes()292   com.google.protobuf.ByteString getNameBytes();
293 
294   /**
295    *
296    *
297    * <pre>
298    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
299    * </pre>
300    *
301    * <code>optional string network = 232872494;</code>
302    *
303    * @return Whether the network field is set.
304    */
hasNetwork()305   boolean hasNetwork();
306   /**
307    *
308    *
309    * <pre>
310    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
311    * </pre>
312    *
313    * <code>optional string network = 232872494;</code>
314    *
315    * @return The network.
316    */
getNetwork()317   java.lang.String getNetwork();
318   /**
319    *
320    *
321    * <pre>
322    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
323    * </pre>
324    *
325    * <code>optional string network = 232872494;</code>
326    *
327    * @return The bytes for network.
328    */
getNetworkBytes()329   com.google.protobuf.ByteString getNetworkBytes();
330 
331   /**
332    *
333    *
334    * <pre>
335    * [Output Only] URL of the region where the VPN gateway resides.
336    * </pre>
337    *
338    * <code>optional string region = 138946292;</code>
339    *
340    * @return Whether the region field is set.
341    */
hasRegion()342   boolean hasRegion();
343   /**
344    *
345    *
346    * <pre>
347    * [Output Only] URL of the region where the VPN gateway resides.
348    * </pre>
349    *
350    * <code>optional string region = 138946292;</code>
351    *
352    * @return The region.
353    */
getRegion()354   java.lang.String getRegion();
355   /**
356    *
357    *
358    * <pre>
359    * [Output Only] URL of the region where the VPN gateway resides.
360    * </pre>
361    *
362    * <code>optional string region = 138946292;</code>
363    *
364    * @return The bytes for region.
365    */
getRegionBytes()366   com.google.protobuf.ByteString getRegionBytes();
367 
368   /**
369    *
370    *
371    * <pre>
372    * [Output Only] Server-defined URL for the resource.
373    * </pre>
374    *
375    * <code>optional string self_link = 456214797;</code>
376    *
377    * @return Whether the selfLink field is set.
378    */
hasSelfLink()379   boolean hasSelfLink();
380   /**
381    *
382    *
383    * <pre>
384    * [Output Only] Server-defined URL for the resource.
385    * </pre>
386    *
387    * <code>optional string self_link = 456214797;</code>
388    *
389    * @return The selfLink.
390    */
getSelfLink()391   java.lang.String getSelfLink();
392   /**
393    *
394    *
395    * <pre>
396    * [Output Only] Server-defined URL for the resource.
397    * </pre>
398    *
399    * <code>optional string self_link = 456214797;</code>
400    *
401    * @return The bytes for selfLink.
402    */
getSelfLinkBytes()403   com.google.protobuf.ByteString getSelfLinkBytes();
404 
405   /**
406    *
407    *
408    * <pre>
409    * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
410    * Check the StackType enum for the list of possible values.
411    * </pre>
412    *
413    * <code>optional string stack_type = 425908881;</code>
414    *
415    * @return Whether the stackType field is set.
416    */
hasStackType()417   boolean hasStackType();
418   /**
419    *
420    *
421    * <pre>
422    * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
423    * Check the StackType enum for the list of possible values.
424    * </pre>
425    *
426    * <code>optional string stack_type = 425908881;</code>
427    *
428    * @return The stackType.
429    */
getStackType()430   java.lang.String getStackType();
431   /**
432    *
433    *
434    * <pre>
435    * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
436    * Check the StackType enum for the list of possible values.
437    * </pre>
438    *
439    * <code>optional string stack_type = 425908881;</code>
440    *
441    * @return The bytes for stackType.
442    */
getStackTypeBytes()443   com.google.protobuf.ByteString getStackTypeBytes();
444 
445   /**
446    *
447    *
448    * <pre>
449    * The list of VPN interfaces associated with this VPN gateway.
450    * </pre>
451    *
452    * <code>
453    * repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
454    * </code>
455    */
getVpnInterfacesList()456   java.util.List<com.google.cloud.compute.v1.VpnGatewayVpnGatewayInterface> getVpnInterfacesList();
457   /**
458    *
459    *
460    * <pre>
461    * The list of VPN interfaces associated with this VPN gateway.
462    * </pre>
463    *
464    * <code>
465    * repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
466    * </code>
467    */
getVpnInterfaces(int index)468   com.google.cloud.compute.v1.VpnGatewayVpnGatewayInterface getVpnInterfaces(int index);
469   /**
470    *
471    *
472    * <pre>
473    * The list of VPN interfaces associated with this VPN gateway.
474    * </pre>
475    *
476    * <code>
477    * repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
478    * </code>
479    */
getVpnInterfacesCount()480   int getVpnInterfacesCount();
481   /**
482    *
483    *
484    * <pre>
485    * The list of VPN interfaces associated with this VPN gateway.
486    * </pre>
487    *
488    * <code>
489    * repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
490    * </code>
491    */
492   java.util.List<? extends com.google.cloud.compute.v1.VpnGatewayVpnGatewayInterfaceOrBuilder>
getVpnInterfacesOrBuilderList()493       getVpnInterfacesOrBuilderList();
494   /**
495    *
496    *
497    * <pre>
498    * The list of VPN interfaces associated with this VPN gateway.
499    * </pre>
500    *
501    * <code>
502    * repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
503    * </code>
504    */
getVpnInterfacesOrBuilder( int index)505   com.google.cloud.compute.v1.VpnGatewayVpnGatewayInterfaceOrBuilder getVpnInterfacesOrBuilder(
506       int index);
507 }
508