• 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 AccessConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AccessConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
31    * </pre>
32    *
33    * <code>optional string external_ipv6 = 532703707;</code>
34    *
35    * @return Whether the externalIpv6 field is set.
36    */
hasExternalIpv6()37   boolean hasExternalIpv6();
38   /**
39    *
40    *
41    * <pre>
42    * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
43    * </pre>
44    *
45    * <code>optional string external_ipv6 = 532703707;</code>
46    *
47    * @return The externalIpv6.
48    */
getExternalIpv6()49   java.lang.String getExternalIpv6();
50   /**
51    *
52    *
53    * <pre>
54    * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
55    * </pre>
56    *
57    * <code>optional string external_ipv6 = 532703707;</code>
58    *
59    * @return The bytes for externalIpv6.
60    */
getExternalIpv6Bytes()61   com.google.protobuf.ByteString getExternalIpv6Bytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * The prefix length of the external IPv6 range.
68    * </pre>
69    *
70    * <code>optional int32 external_ipv6_prefix_length = 425672143;</code>
71    *
72    * @return Whether the externalIpv6PrefixLength field is set.
73    */
hasExternalIpv6PrefixLength()74   boolean hasExternalIpv6PrefixLength();
75   /**
76    *
77    *
78    * <pre>
79    * The prefix length of the external IPv6 range.
80    * </pre>
81    *
82    * <code>optional int32 external_ipv6_prefix_length = 425672143;</code>
83    *
84    * @return The externalIpv6PrefixLength.
85    */
getExternalIpv6PrefixLength()86   int getExternalIpv6PrefixLength();
87 
88   /**
89    *
90    *
91    * <pre>
92    * [Output Only] Type of the resource. Always compute#accessConfig for access configs.
93    * </pre>
94    *
95    * <code>optional string kind = 3292052;</code>
96    *
97    * @return Whether the kind field is set.
98    */
hasKind()99   boolean hasKind();
100   /**
101    *
102    *
103    * <pre>
104    * [Output Only] Type of the resource. Always compute#accessConfig for access configs.
105    * </pre>
106    *
107    * <code>optional string kind = 3292052;</code>
108    *
109    * @return The kind.
110    */
getKind()111   java.lang.String getKind();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] Type of the resource. Always compute#accessConfig for access configs.
117    * </pre>
118    *
119    * <code>optional string kind = 3292052;</code>
120    *
121    * @return The bytes for kind.
122    */
getKindBytes()123   com.google.protobuf.ByteString getKindBytes();
124 
125   /**
126    *
127    *
128    * <pre>
129    * The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
130    * </pre>
131    *
132    * <code>optional string name = 3373707;</code>
133    *
134    * @return Whether the name field is set.
135    */
hasName()136   boolean hasName();
137   /**
138    *
139    *
140    * <pre>
141    * The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
142    * </pre>
143    *
144    * <code>optional string name = 3373707;</code>
145    *
146    * @return The name.
147    */
getName()148   java.lang.String getName();
149   /**
150    *
151    *
152    * <pre>
153    * The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
154    * </pre>
155    *
156    * <code>optional string name = 3373707;</code>
157    *
158    * @return The bytes for name.
159    */
getNameBytes()160   com.google.protobuf.ByteString getNameBytes();
161 
162   /**
163    *
164    *
165    * <pre>
166    * An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
167    * </pre>
168    *
169    * <code>optional string nat_i_p = 117634556;</code>
170    *
171    * @return Whether the natIP field is set.
172    */
hasNatIP()173   boolean hasNatIP();
174   /**
175    *
176    *
177    * <pre>
178    * An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
179    * </pre>
180    *
181    * <code>optional string nat_i_p = 117634556;</code>
182    *
183    * @return The natIP.
184    */
getNatIP()185   java.lang.String getNatIP();
186   /**
187    *
188    *
189    * <pre>
190    * An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
191    * </pre>
192    *
193    * <code>optional string nat_i_p = 117634556;</code>
194    *
195    * @return The bytes for natIP.
196    */
getNatIPBytes()197   com.google.protobuf.ByteString getNatIPBytes();
198 
199   /**
200    *
201    *
202    * <pre>
203    * This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
204    * Check the NetworkTier enum for the list of possible values.
205    * </pre>
206    *
207    * <code>optional string network_tier = 517397843;</code>
208    *
209    * @return Whether the networkTier field is set.
210    */
hasNetworkTier()211   boolean hasNetworkTier();
212   /**
213    *
214    *
215    * <pre>
216    * This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
217    * Check the NetworkTier enum for the list of possible values.
218    * </pre>
219    *
220    * <code>optional string network_tier = 517397843;</code>
221    *
222    * @return The networkTier.
223    */
getNetworkTier()224   java.lang.String getNetworkTier();
225   /**
226    *
227    *
228    * <pre>
229    * This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
230    * Check the NetworkTier enum for the list of possible values.
231    * </pre>
232    *
233    * <code>optional string network_tier = 517397843;</code>
234    *
235    * @return The bytes for networkTier.
236    */
getNetworkTierBytes()237   com.google.protobuf.ByteString getNetworkTierBytes();
238 
239   /**
240    *
241    *
242    * <pre>
243    * The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
244    * </pre>
245    *
246    * <code>optional string public_ptr_domain_name = 316599167;</code>
247    *
248    * @return Whether the publicPtrDomainName field is set.
249    */
hasPublicPtrDomainName()250   boolean hasPublicPtrDomainName();
251   /**
252    *
253    *
254    * <pre>
255    * The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
256    * </pre>
257    *
258    * <code>optional string public_ptr_domain_name = 316599167;</code>
259    *
260    * @return The publicPtrDomainName.
261    */
getPublicPtrDomainName()262   java.lang.String getPublicPtrDomainName();
263   /**
264    *
265    *
266    * <pre>
267    * The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
268    * </pre>
269    *
270    * <code>optional string public_ptr_domain_name = 316599167;</code>
271    *
272    * @return The bytes for publicPtrDomainName.
273    */
getPublicPtrDomainNameBytes()274   com.google.protobuf.ByteString getPublicPtrDomainNameBytes();
275 
276   /**
277    *
278    *
279    * <pre>
280    * Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
281    * </pre>
282    *
283    * <code>optional bool set_public_ptr = 523870229;</code>
284    *
285    * @return Whether the setPublicPtr field is set.
286    */
hasSetPublicPtr()287   boolean hasSetPublicPtr();
288   /**
289    *
290    *
291    * <pre>
292    * Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
293    * </pre>
294    *
295    * <code>optional bool set_public_ptr = 523870229;</code>
296    *
297    * @return The setPublicPtr.
298    */
getSetPublicPtr()299   boolean getSetPublicPtr();
300 
301   /**
302    *
303    *
304    * <pre>
305    * The type of configuration. The default and only option is ONE_TO_ONE_NAT.
306    * Check the Type enum for the list of possible values.
307    * </pre>
308    *
309    * <code>optional string type = 3575610;</code>
310    *
311    * @return Whether the type field is set.
312    */
hasType()313   boolean hasType();
314   /**
315    *
316    *
317    * <pre>
318    * The type of configuration. The default and only option is ONE_TO_ONE_NAT.
319    * Check the Type enum for the list of possible values.
320    * </pre>
321    *
322    * <code>optional string type = 3575610;</code>
323    *
324    * @return The type.
325    */
getType()326   java.lang.String getType();
327   /**
328    *
329    *
330    * <pre>
331    * The type of configuration. The default and only option is ONE_TO_ONE_NAT.
332    * Check the Type enum for the list of possible values.
333    * </pre>
334    *
335    * <code>optional string type = 3575610;</code>
336    *
337    * @return The bytes for type.
338    */
getTypeBytes()339   com.google.protobuf.ByteString getTypeBytes();
340 }
341