• 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 TargetVpnGatewayOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetVpnGateway)
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] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
105    * </pre>
106    *
107    * <code>repeated string forwarding_rules = 315821365;</code>
108    *
109    * @return A list containing the forwardingRules.
110    */
getForwardingRulesList()111   java.util.List<java.lang.String> getForwardingRulesList();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
117    * </pre>
118    *
119    * <code>repeated string forwarding_rules = 315821365;</code>
120    *
121    * @return The count of forwardingRules.
122    */
getForwardingRulesCount()123   int getForwardingRulesCount();
124   /**
125    *
126    *
127    * <pre>
128    * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
129    * </pre>
130    *
131    * <code>repeated string forwarding_rules = 315821365;</code>
132    *
133    * @param index The index of the element to return.
134    * @return The forwardingRules at the given index.
135    */
getForwardingRules(int index)136   java.lang.String getForwardingRules(int index);
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
142    * </pre>
143    *
144    * <code>repeated string forwarding_rules = 315821365;</code>
145    *
146    * @param index The index of the value to return.
147    * @return The bytes of the forwardingRules at the given index.
148    */
getForwardingRulesBytes(int index)149   com.google.protobuf.ByteString getForwardingRulesBytes(int index);
150 
151   /**
152    *
153    *
154    * <pre>
155    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
156    * </pre>
157    *
158    * <code>optional uint64 id = 3355;</code>
159    *
160    * @return Whether the id field is set.
161    */
hasId()162   boolean hasId();
163   /**
164    *
165    *
166    * <pre>
167    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
168    * </pre>
169    *
170    * <code>optional uint64 id = 3355;</code>
171    *
172    * @return The id.
173    */
getId()174   long getId();
175 
176   /**
177    *
178    *
179    * <pre>
180    * [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
181    * </pre>
182    *
183    * <code>optional string kind = 3292052;</code>
184    *
185    * @return Whether the kind field is set.
186    */
hasKind()187   boolean hasKind();
188   /**
189    *
190    *
191    * <pre>
192    * [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
193    * </pre>
194    *
195    * <code>optional string kind = 3292052;</code>
196    *
197    * @return The kind.
198    */
getKind()199   java.lang.String getKind();
200   /**
201    *
202    *
203    * <pre>
204    * [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
205    * </pre>
206    *
207    * <code>optional string kind = 3292052;</code>
208    *
209    * @return The bytes for kind.
210    */
getKindBytes()211   com.google.protobuf.ByteString getKindBytes();
212 
213   /**
214    *
215    *
216    * <pre>
217    * 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.
218    * </pre>
219    *
220    * <code>optional string name = 3373707;</code>
221    *
222    * @return Whether the name field is set.
223    */
hasName()224   boolean hasName();
225   /**
226    *
227    *
228    * <pre>
229    * 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.
230    * </pre>
231    *
232    * <code>optional string name = 3373707;</code>
233    *
234    * @return The name.
235    */
getName()236   java.lang.String getName();
237   /**
238    *
239    *
240    * <pre>
241    * 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.
242    * </pre>
243    *
244    * <code>optional string name = 3373707;</code>
245    *
246    * @return The bytes for name.
247    */
getNameBytes()248   com.google.protobuf.ByteString getNameBytes();
249 
250   /**
251    *
252    *
253    * <pre>
254    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
255    * </pre>
256    *
257    * <code>optional string network = 232872494;</code>
258    *
259    * @return Whether the network field is set.
260    */
hasNetwork()261   boolean hasNetwork();
262   /**
263    *
264    *
265    * <pre>
266    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
267    * </pre>
268    *
269    * <code>optional string network = 232872494;</code>
270    *
271    * @return The network.
272    */
getNetwork()273   java.lang.String getNetwork();
274   /**
275    *
276    *
277    * <pre>
278    * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
279    * </pre>
280    *
281    * <code>optional string network = 232872494;</code>
282    *
283    * @return The bytes for network.
284    */
getNetworkBytes()285   com.google.protobuf.ByteString getNetworkBytes();
286 
287   /**
288    *
289    *
290    * <pre>
291    * [Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
292    * </pre>
293    *
294    * <code>optional string region = 138946292;</code>
295    *
296    * @return Whether the region field is set.
297    */
hasRegion()298   boolean hasRegion();
299   /**
300    *
301    *
302    * <pre>
303    * [Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
304    * </pre>
305    *
306    * <code>optional string region = 138946292;</code>
307    *
308    * @return The region.
309    */
getRegion()310   java.lang.String getRegion();
311   /**
312    *
313    *
314    * <pre>
315    * [Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
316    * </pre>
317    *
318    * <code>optional string region = 138946292;</code>
319    *
320    * @return The bytes for region.
321    */
getRegionBytes()322   com.google.protobuf.ByteString getRegionBytes();
323 
324   /**
325    *
326    *
327    * <pre>
328    * [Output Only] Server-defined URL for the resource.
329    * </pre>
330    *
331    * <code>optional string self_link = 456214797;</code>
332    *
333    * @return Whether the selfLink field is set.
334    */
hasSelfLink()335   boolean hasSelfLink();
336   /**
337    *
338    *
339    * <pre>
340    * [Output Only] Server-defined URL for the resource.
341    * </pre>
342    *
343    * <code>optional string self_link = 456214797;</code>
344    *
345    * @return The selfLink.
346    */
getSelfLink()347   java.lang.String getSelfLink();
348   /**
349    *
350    *
351    * <pre>
352    * [Output Only] Server-defined URL for the resource.
353    * </pre>
354    *
355    * <code>optional string self_link = 456214797;</code>
356    *
357    * @return The bytes for selfLink.
358    */
getSelfLinkBytes()359   com.google.protobuf.ByteString getSelfLinkBytes();
360 
361   /**
362    *
363    *
364    * <pre>
365    * [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
366    * Check the Status enum for the list of possible values.
367    * </pre>
368    *
369    * <code>optional string status = 181260274;</code>
370    *
371    * @return Whether the status field is set.
372    */
hasStatus()373   boolean hasStatus();
374   /**
375    *
376    *
377    * <pre>
378    * [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
379    * Check the Status enum for the list of possible values.
380    * </pre>
381    *
382    * <code>optional string status = 181260274;</code>
383    *
384    * @return The status.
385    */
getStatus()386   java.lang.String getStatus();
387   /**
388    *
389    *
390    * <pre>
391    * [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
392    * Check the Status enum for the list of possible values.
393    * </pre>
394    *
395    * <code>optional string status = 181260274;</code>
396    *
397    * @return The bytes for status.
398    */
getStatusBytes()399   com.google.protobuf.ByteString getStatusBytes();
400 
401   /**
402    *
403    *
404    * <pre>
405    * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
406    * </pre>
407    *
408    * <code>repeated string tunnels = 104561931;</code>
409    *
410    * @return A list containing the tunnels.
411    */
getTunnelsList()412   java.util.List<java.lang.String> getTunnelsList();
413   /**
414    *
415    *
416    * <pre>
417    * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
418    * </pre>
419    *
420    * <code>repeated string tunnels = 104561931;</code>
421    *
422    * @return The count of tunnels.
423    */
getTunnelsCount()424   int getTunnelsCount();
425   /**
426    *
427    *
428    * <pre>
429    * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
430    * </pre>
431    *
432    * <code>repeated string tunnels = 104561931;</code>
433    *
434    * @param index The index of the element to return.
435    * @return The tunnels at the given index.
436    */
getTunnels(int index)437   java.lang.String getTunnels(int index);
438   /**
439    *
440    *
441    * <pre>
442    * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
443    * </pre>
444    *
445    * <code>repeated string tunnels = 104561931;</code>
446    *
447    * @param index The index of the value to return.
448    * @return The bytes of the tunnels at the given index.
449    */
getTunnelsBytes(int index)450   com.google.protobuf.ByteString getTunnelsBytes(int index);
451 }
452