/
AutoprovisioningNodePoolDefaultsOrBuilder.java
393 lines (380 loc) · 10.6 KB
/
AutoprovisioningNodePoolDefaultsOrBuilder.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1/cluster_service.proto
package com.google.container.v1;
public interface AutoprovisioningNodePoolDefaultsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.container.v1.AutoprovisioningNodePoolDefaults)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* <pre>
* Scopes that are used by NAP when creating node pools.
* </pre>
*
* <code>repeated string oauth_scopes = 1;</code>
*
* @return A list containing the oauthScopes.
*/
java.util.List<java.lang.String> getOauthScopesList();
/**
*
*
* <pre>
* Scopes that are used by NAP when creating node pools.
* </pre>
*
* <code>repeated string oauth_scopes = 1;</code>
*
* @return The count of oauthScopes.
*/
int getOauthScopesCount();
/**
*
*
* <pre>
* Scopes that are used by NAP when creating node pools.
* </pre>
*
* <code>repeated string oauth_scopes = 1;</code>
*
* @param index The index of the element to return.
* @return The oauthScopes at the given index.
*/
java.lang.String getOauthScopes(int index);
/**
*
*
* <pre>
* Scopes that are used by NAP when creating node pools.
* </pre>
*
* <code>repeated string oauth_scopes = 1;</code>
*
* @param index The index of the value to return.
* @return The bytes of the oauthScopes at the given index.
*/
com.google.protobuf.ByteString getOauthScopesBytes(int index);
/**
*
*
* <pre>
* The Google Cloud Platform Service Account to be used by the node VMs.
* </pre>
*
* <code>string service_account = 2;</code>
*
* @return The serviceAccount.
*/
java.lang.String getServiceAccount();
/**
*
*
* <pre>
* The Google Cloud Platform Service Account to be used by the node VMs.
* </pre>
*
* <code>string service_account = 2;</code>
*
* @return The bytes for serviceAccount.
*/
com.google.protobuf.ByteString getServiceAccountBytes();
/**
*
*
* <pre>
* Specifies the upgrade settings for NAP created node pools
* </pre>
*
* <code>.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;</code>
*
* @return Whether the upgradeSettings field is set.
*/
boolean hasUpgradeSettings();
/**
*
*
* <pre>
* Specifies the upgrade settings for NAP created node pools
* </pre>
*
* <code>.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;</code>
*
* @return The upgradeSettings.
*/
com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings();
/**
*
*
* <pre>
* Specifies the upgrade settings for NAP created node pools
* </pre>
*
* <code>.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;</code>
*/
com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder();
/**
*
*
* <pre>
* Specifies the node management options for NAP created node-pools.
* </pre>
*
* <code>.google.container.v1.NodeManagement management = 4;</code>
*
* @return Whether the management field is set.
*/
boolean hasManagement();
/**
*
*
* <pre>
* Specifies the node management options for NAP created node-pools.
* </pre>
*
* <code>.google.container.v1.NodeManagement management = 4;</code>
*
* @return The management.
*/
com.google.container.v1.NodeManagement getManagement();
/**
*
*
* <pre>
* Specifies the node management options for NAP created node-pools.
* </pre>
*
* <code>.google.container.v1.NodeManagement management = 4;</code>
*/
com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder();
/**
*
*
* <pre>
* Deprecated. Minimum CPU platform to be used for NAP created node pools.
* The instance may be scheduled on the specified or newer CPU platform.
* Applicable values are the friendly names of CPU platforms, such as
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
* To unset the min cpu platform field pass "automatic"
* as field value.
* </pre>
*
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3904
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
java.lang.String getMinCpuPlatform();
/**
*
*
* <pre>
* Deprecated. Minimum CPU platform to be used for NAP created node pools.
* The instance may be scheduled on the specified or newer CPU platform.
* Applicable values are the friendly names of CPU platforms, such as
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
* To unset the min cpu platform field pass "automatic"
* as field value.
* </pre>
*
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3904
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
com.google.protobuf.ByteString getMinCpuPlatformBytes();
/**
*
*
* <pre>
* Size of the disk attached to each node, specified in GB.
* The smallest allowed disk size is 10GB.
*
* If unspecified, the default disk size is 100GB.
* </pre>
*
* <code>int32 disk_size_gb = 6;</code>
*
* @return The diskSizeGb.
*/
int getDiskSizeGb();
/**
*
*
* <pre>
* Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
* 'pd-balanced')
*
* If unspecified, the default disk type is 'pd-standard'
* </pre>
*
* <code>string disk_type = 7;</code>
*
* @return The diskType.
*/
java.lang.String getDiskType();
/**
*
*
* <pre>
* Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
* 'pd-balanced')
*
* If unspecified, the default disk type is 'pd-standard'
* </pre>
*
* <code>string disk_type = 7;</code>
*
* @return The bytes for diskType.
*/
com.google.protobuf.ByteString getDiskTypeBytes();
/**
*
*
* <pre>
* Shielded Instance options.
* </pre>
*
* <code>.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;</code>
*
* @return Whether the shieldedInstanceConfig field is set.
*/
boolean hasShieldedInstanceConfig();
/**
*
*
* <pre>
* Shielded Instance options.
* </pre>
*
* <code>.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;</code>
*
* @return The shieldedInstanceConfig.
*/
com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig();
/**
*
*
* <pre>
* Shielded Instance options.
* </pre>
*
* <code>.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;</code>
*/
com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder();
/**
*
*
* <pre>
* The Customer Managed Encryption Key used to encrypt the boot disk attached
* to each node in the node pool. This should be of the form
* projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
* For more information about protecting resources with Cloud KMS Keys please
* see:
* https://cloud.google.com/compute/docs/disks/customer-managed-encryption
* </pre>
*
* <code>string boot_disk_kms_key = 9;</code>
*
* @return The bootDiskKmsKey.
*/
java.lang.String getBootDiskKmsKey();
/**
*
*
* <pre>
* The Customer Managed Encryption Key used to encrypt the boot disk attached
* to each node in the node pool. This should be of the form
* projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
* For more information about protecting resources with Cloud KMS Keys please
* see:
* https://cloud.google.com/compute/docs/disks/customer-managed-encryption
* </pre>
*
* <code>string boot_disk_kms_key = 9;</code>
*
* @return The bytes for bootDiskKmsKey.
*/
com.google.protobuf.ByteString getBootDiskKmsKeyBytes();
/**
*
*
* <pre>
* The image type to use for NAP created node. Please see
* https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
* available image types.
* </pre>
*
* <code>string image_type = 10;</code>
*
* @return The imageType.
*/
java.lang.String getImageType();
/**
*
*
* <pre>
* The image type to use for NAP created node. Please see
* https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
* available image types.
* </pre>
*
* <code>string image_type = 10;</code>
*
* @return The bytes for imageType.
*/
com.google.protobuf.ByteString getImageTypeBytes();
/**
*
*
* <pre>
* Enable or disable Kubelet read only port.
* </pre>
*
* <code>optional bool insecure_kubelet_readonly_port_enabled = 13;</code>
*
* @return Whether the insecureKubeletReadonlyPortEnabled field is set.
*/
boolean hasInsecureKubeletReadonlyPortEnabled();
/**
*
*
* <pre>
* Enable or disable Kubelet read only port.
* </pre>
*
* <code>optional bool insecure_kubelet_readonly_port_enabled = 13;</code>
*
* @return The insecureKubeletReadonlyPortEnabled.
*/
boolean getInsecureKubeletReadonlyPortEnabled();
}