• 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/gkemulticloud/v1/azure_resources.proto
18 
19 package com.google.cloud.gkemulticloud.v1;
20 
21 public interface AzureNodeConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodeConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
31    * See [Supported VM
32    * sizes](/anthos/clusters/docs/azure/reference/supported-vms) for options.
33    * When unspecified, it defaults to `Standard_DS2_v2`.
34    * </pre>
35    *
36    * <code>string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
37    *
38    * @return The vmSize.
39    */
getVmSize()40   java.lang.String getVmSize();
41   /**
42    *
43    *
44    * <pre>
45    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
46    * See [Supported VM
47    * sizes](/anthos/clusters/docs/azure/reference/supported-vms) for options.
48    * When unspecified, it defaults to `Standard_DS2_v2`.
49    * </pre>
50    *
51    * <code>string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
52    *
53    * @return The bytes for vmSize.
54    */
getVmSizeBytes()55   com.google.protobuf.ByteString getVmSizeBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Optional. Configuration related to the root volume provisioned for each
62    * node pool machine.
63    * When unspecified, it defaults to a 32-GiB Azure Disk.
64    * </pre>
65    *
66    * <code>
67    * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
68    * </code>
69    *
70    * @return Whether the rootVolume field is set.
71    */
hasRootVolume()72   boolean hasRootVolume();
73   /**
74    *
75    *
76    * <pre>
77    * Optional. Configuration related to the root volume provisioned for each
78    * node pool machine.
79    * When unspecified, it defaults to a 32-GiB Azure Disk.
80    * </pre>
81    *
82    * <code>
83    * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
84    * </code>
85    *
86    * @return The rootVolume.
87    */
getRootVolume()88   com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume();
89   /**
90    *
91    *
92    * <pre>
93    * Optional. Configuration related to the root volume provisioned for each
94    * node pool machine.
95    * When unspecified, it defaults to a 32-GiB Azure Disk.
96    * </pre>
97    *
98    * <code>
99    * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];
100    * </code>
101    */
getRootVolumeOrBuilder()102   com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder();
103 
104   /**
105    *
106    *
107    * <pre>
108    * Optional. A set of tags to apply to all underlying Azure resources for this
109    * node pool. This currently only includes Virtual Machine Scale Sets.
110    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
111    * (.+-=_:&#64;/). Keys can be up to 127 Unicode characters. Values can be up to
112    * 255 Unicode characters.
113    * </pre>
114    *
115    * <code>map&lt;string, string&gt; tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
116    */
getTagsCount()117   int getTagsCount();
118   /**
119    *
120    *
121    * <pre>
122    * Optional. A set of tags to apply to all underlying Azure resources for this
123    * node pool. This currently only includes Virtual Machine Scale Sets.
124    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
125    * (.+-=_:&#64;/). Keys can be up to 127 Unicode characters. Values can be up to
126    * 255 Unicode characters.
127    * </pre>
128    *
129    * <code>map&lt;string, string&gt; tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
130    */
containsTags(java.lang.String key)131   boolean containsTags(java.lang.String key);
132   /** Use {@link #getTagsMap()} instead. */
133   @java.lang.Deprecated
getTags()134   java.util.Map<java.lang.String, java.lang.String> getTags();
135   /**
136    *
137    *
138    * <pre>
139    * Optional. A set of tags to apply to all underlying Azure resources for this
140    * node pool. This currently only includes Virtual Machine Scale Sets.
141    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
142    * (.+-=_:&#64;/). Keys can be up to 127 Unicode characters. Values can be up to
143    * 255 Unicode characters.
144    * </pre>
145    *
146    * <code>map&lt;string, string&gt; tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
147    */
getTagsMap()148   java.util.Map<java.lang.String, java.lang.String> getTagsMap();
149   /**
150    *
151    *
152    * <pre>
153    * Optional. A set of tags to apply to all underlying Azure resources for this
154    * node pool. This currently only includes Virtual Machine Scale Sets.
155    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
156    * (.+-=_:&#64;/). Keys can be up to 127 Unicode characters. Values can be up to
157    * 255 Unicode characters.
158    * </pre>
159    *
160    * <code>map&lt;string, string&gt; tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
161    */
162   /* nullable */
getTagsOrDefault( java.lang.String key, java.lang.String defaultValue)163   java.lang.String getTagsOrDefault(
164       java.lang.String key,
165       /* nullable */
166       java.lang.String defaultValue);
167   /**
168    *
169    *
170    * <pre>
171    * Optional. A set of tags to apply to all underlying Azure resources for this
172    * node pool. This currently only includes Virtual Machine Scale Sets.
173    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
174    * (.+-=_:&#64;/). Keys can be up to 127 Unicode characters. Values can be up to
175    * 255 Unicode characters.
176    * </pre>
177    *
178    * <code>map&lt;string, string&gt; tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
179    */
getTagsOrThrow(java.lang.String key)180   java.lang.String getTagsOrThrow(java.lang.String key);
181 
182   /**
183    *
184    *
185    * <pre>
186    * Optional. The OS image type to use on node pool instances.
187    * Can have a value of `ubuntu`, or `windows` if the cluster enables
188    * the Windows node pool preview feature.
189    * When unspecified, it defaults to `ubuntu`.
190    * </pre>
191    *
192    * <code>string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
193    *
194    * @return The imageType.
195    */
getImageType()196   java.lang.String getImageType();
197   /**
198    *
199    *
200    * <pre>
201    * Optional. The OS image type to use on node pool instances.
202    * Can have a value of `ubuntu`, or `windows` if the cluster enables
203    * the Windows node pool preview feature.
204    * When unspecified, it defaults to `ubuntu`.
205    * </pre>
206    *
207    * <code>string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
208    *
209    * @return The bytes for imageType.
210    */
getImageTypeBytes()211   com.google.protobuf.ByteString getImageTypeBytes();
212 
213   /**
214    *
215    *
216    * <pre>
217    * Required. SSH configuration for how to access the node pool machines.
218    * </pre>
219    *
220    * <code>
221    * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];
222    * </code>
223    *
224    * @return Whether the sshConfig field is set.
225    */
hasSshConfig()226   boolean hasSshConfig();
227   /**
228    *
229    *
230    * <pre>
231    * Required. SSH configuration for how to access the node pool machines.
232    * </pre>
233    *
234    * <code>
235    * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];
236    * </code>
237    *
238    * @return The sshConfig.
239    */
getSshConfig()240   com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig();
241   /**
242    *
243    *
244    * <pre>
245    * Required. SSH configuration for how to access the node pool machines.
246    * </pre>
247    *
248    * <code>
249    * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];
250    * </code>
251    */
getSshConfigOrBuilder()252   com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder();
253 
254   /**
255    *
256    *
257    * <pre>
258    * Optional. Proxy configuration for outbound HTTP(S) traffic.
259    * </pre>
260    *
261    * <code>
262    * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];
263    * </code>
264    *
265    * @return Whether the proxyConfig field is set.
266    */
hasProxyConfig()267   boolean hasProxyConfig();
268   /**
269    *
270    *
271    * <pre>
272    * Optional. Proxy configuration for outbound HTTP(S) traffic.
273    * </pre>
274    *
275    * <code>
276    * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];
277    * </code>
278    *
279    * @return The proxyConfig.
280    */
getProxyConfig()281   com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig();
282   /**
283    *
284    *
285    * <pre>
286    * Optional. Proxy configuration for outbound HTTP(S) traffic.
287    * </pre>
288    *
289    * <code>
290    * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];
291    * </code>
292    */
getProxyConfigOrBuilder()293   com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder();
294 
295   /**
296    *
297    *
298    * <pre>
299    * Optional. Configuration related to vm config encryption.
300    * </pre>
301    *
302    * <code>
303    * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];
304    * </code>
305    *
306    * @return Whether the configEncryption field is set.
307    */
hasConfigEncryption()308   boolean hasConfigEncryption();
309   /**
310    *
311    *
312    * <pre>
313    * Optional. Configuration related to vm config encryption.
314    * </pre>
315    *
316    * <code>
317    * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];
318    * </code>
319    *
320    * @return The configEncryption.
321    */
getConfigEncryption()322   com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption();
323   /**
324    *
325    *
326    * <pre>
327    * Optional. Configuration related to vm config encryption.
328    * </pre>
329    *
330    * <code>
331    * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];
332    * </code>
333    */
getConfigEncryptionOrBuilder()334   com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder();
335 
336   /**
337    *
338    *
339    * <pre>
340    * Optional. The initial taints assigned to nodes of this node pool.
341    * </pre>
342    *
343    * <code>
344    * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
345    * </code>
346    */
getTaintsList()347   java.util.List<com.google.cloud.gkemulticloud.v1.NodeTaint> getTaintsList();
348   /**
349    *
350    *
351    * <pre>
352    * Optional. The initial taints assigned to nodes of this node pool.
353    * </pre>
354    *
355    * <code>
356    * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
357    * </code>
358    */
getTaints(int index)359   com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index);
360   /**
361    *
362    *
363    * <pre>
364    * Optional. The initial taints assigned to nodes of this node pool.
365    * </pre>
366    *
367    * <code>
368    * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
369    * </code>
370    */
getTaintsCount()371   int getTaintsCount();
372   /**
373    *
374    *
375    * <pre>
376    * Optional. The initial taints assigned to nodes of this node pool.
377    * </pre>
378    *
379    * <code>
380    * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
381    * </code>
382    */
383   java.util.List<? extends com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>
getTaintsOrBuilderList()384       getTaintsOrBuilderList();
385   /**
386    *
387    *
388    * <pre>
389    * Optional. The initial taints assigned to nodes of this node pool.
390    * </pre>
391    *
392    * <code>
393    * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];
394    * </code>
395    */
getTaintsOrBuilder(int index)396   com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index);
397 
398   /**
399    *
400    *
401    * <pre>
402    * Optional. The initial labels assigned to nodes of this node pool. An object
403    * containing a list of "key": value pairs. Example: { "name": "wrench",
404    * "mass": "1.3kg", "count": "3" }.
405    * </pre>
406    *
407    * <code>map&lt;string, string&gt; labels = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
408    */
getLabelsCount()409   int getLabelsCount();
410   /**
411    *
412    *
413    * <pre>
414    * Optional. The initial labels assigned to nodes of this node pool. An object
415    * containing a list of "key": value pairs. Example: { "name": "wrench",
416    * "mass": "1.3kg", "count": "3" }.
417    * </pre>
418    *
419    * <code>map&lt;string, string&gt; labels = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
420    */
containsLabels(java.lang.String key)421   boolean containsLabels(java.lang.String key);
422   /** Use {@link #getLabelsMap()} instead. */
423   @java.lang.Deprecated
getLabels()424   java.util.Map<java.lang.String, java.lang.String> getLabels();
425   /**
426    *
427    *
428    * <pre>
429    * Optional. The initial labels assigned to nodes of this node pool. An object
430    * containing a list of "key": value pairs. Example: { "name": "wrench",
431    * "mass": "1.3kg", "count": "3" }.
432    * </pre>
433    *
434    * <code>map&lt;string, string&gt; labels = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
435    */
getLabelsMap()436   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
437   /**
438    *
439    *
440    * <pre>
441    * Optional. The initial labels assigned to nodes of this node pool. An object
442    * containing a list of "key": value pairs. Example: { "name": "wrench",
443    * "mass": "1.3kg", "count": "3" }.
444    * </pre>
445    *
446    * <code>map&lt;string, string&gt; labels = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
447    */
448   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)449   java.lang.String getLabelsOrDefault(
450       java.lang.String key,
451       /* nullable */
452       java.lang.String defaultValue);
453   /**
454    *
455    *
456    * <pre>
457    * Optional. The initial labels assigned to nodes of this node pool. An object
458    * containing a list of "key": value pairs. Example: { "name": "wrench",
459    * "mass": "1.3kg", "count": "3" }.
460    * </pre>
461    *
462    * <code>map&lt;string, string&gt; labels = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
463    */
getLabelsOrThrow(java.lang.String key)464   java.lang.String getLabelsOrThrow(java.lang.String key);
465 }
466