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 AzureNodePoolOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePool) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The name of this resource. 31 * Node pool names are formatted as 32 * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`. 33 * For more details on Google Cloud resource names, 34 * see [Resource Names](https://cloud.google.com/apis/design/resource_names) 35 * </pre> 36 * 37 * <code>string name = 1;</code> 38 * 39 * @return The name. 40 */ getName()41 java.lang.String getName(); 42 /** 43 * 44 * 45 * <pre> 46 * The name of this resource. 47 * Node pool names are formatted as 48 * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`. 49 * For more details on Google Cloud resource names, 50 * see [Resource Names](https://cloud.google.com/apis/design/resource_names) 51 * </pre> 52 * 53 * <code>string name = 1;</code> 54 * 55 * @return The bytes for name. 56 */ getNameBytes()57 com.google.protobuf.ByteString getNameBytes(); 58 59 /** 60 * 61 * 62 * <pre> 63 * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this 64 * node pool. 65 * </pre> 66 * 67 * <code>string version = 2 [(.google.api.field_behavior) = REQUIRED];</code> 68 * 69 * @return The version. 70 */ getVersion()71 java.lang.String getVersion(); 72 /** 73 * 74 * 75 * <pre> 76 * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this 77 * node pool. 78 * </pre> 79 * 80 * <code>string version = 2 [(.google.api.field_behavior) = REQUIRED];</code> 81 * 82 * @return The bytes for version. 83 */ getVersionBytes()84 com.google.protobuf.ByteString getVersionBytes(); 85 86 /** 87 * 88 * 89 * <pre> 90 * Required. The node configuration of the node pool. 91 * </pre> 92 * 93 * <code> 94 * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; 95 * </code> 96 * 97 * @return Whether the config field is set. 98 */ hasConfig()99 boolean hasConfig(); 100 /** 101 * 102 * 103 * <pre> 104 * Required. The node configuration of the node pool. 105 * </pre> 106 * 107 * <code> 108 * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; 109 * </code> 110 * 111 * @return The config. 112 */ getConfig()113 com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig(); 114 /** 115 * 116 * 117 * <pre> 118 * Required. The node configuration of the node pool. 119 * </pre> 120 * 121 * <code> 122 * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; 123 * </code> 124 */ getConfigOrBuilder()125 com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder(); 126 127 /** 128 * 129 * 130 * <pre> 131 * Required. The ARM ID of the subnet where the node pool VMs run. Make sure 132 * it's a subnet under the virtual network in the cluster configuration. 133 * </pre> 134 * 135 * <code>string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> 136 * 137 * @return The subnetId. 138 */ getSubnetId()139 java.lang.String getSubnetId(); 140 /** 141 * 142 * 143 * <pre> 144 * Required. The ARM ID of the subnet where the node pool VMs run. Make sure 145 * it's a subnet under the virtual network in the cluster configuration. 146 * </pre> 147 * 148 * <code>string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> 149 * 150 * @return The bytes for subnetId. 151 */ getSubnetIdBytes()152 com.google.protobuf.ByteString getSubnetIdBytes(); 153 154 /** 155 * 156 * 157 * <pre> 158 * Required. Autoscaler configuration for this node pool. 159 * </pre> 160 * 161 * <code> 162 * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; 163 * </code> 164 * 165 * @return Whether the autoscaling field is set. 166 */ hasAutoscaling()167 boolean hasAutoscaling(); 168 /** 169 * 170 * 171 * <pre> 172 * Required. Autoscaler configuration for this node pool. 173 * </pre> 174 * 175 * <code> 176 * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; 177 * </code> 178 * 179 * @return The autoscaling. 180 */ getAutoscaling()181 com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling(); 182 /** 183 * 184 * 185 * <pre> 186 * Required. Autoscaler configuration for this node pool. 187 * </pre> 188 * 189 * <code> 190 * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; 191 * </code> 192 */ getAutoscalingOrBuilder()193 com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); 194 195 /** 196 * 197 * 198 * <pre> 199 * Output only. The current state of the node pool. 200 * </pre> 201 * 202 * <code> 203 * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 204 * </code> 205 * 206 * @return The enum numeric value on the wire for state. 207 */ getStateValue()208 int getStateValue(); 209 /** 210 * 211 * 212 * <pre> 213 * Output only. The current state of the node pool. 214 * </pre> 215 * 216 * <code> 217 * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 218 * </code> 219 * 220 * @return The state. 221 */ getState()222 com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState(); 223 224 /** 225 * 226 * 227 * <pre> 228 * Output only. A globally unique identifier for the node pool. 229 * </pre> 230 * 231 * <code>string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 232 * 233 * @return The uid. 234 */ getUid()235 java.lang.String getUid(); 236 /** 237 * 238 * 239 * <pre> 240 * Output only. A globally unique identifier for the node pool. 241 * </pre> 242 * 243 * <code>string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 244 * 245 * @return The bytes for uid. 246 */ getUidBytes()247 com.google.protobuf.ByteString getUidBytes(); 248 249 /** 250 * 251 * 252 * <pre> 253 * Output only. If set, there are currently pending changes to the node 254 * pool. 255 * </pre> 256 * 257 * <code>bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 258 * 259 * @return The reconciling. 260 */ getReconciling()261 boolean getReconciling(); 262 263 /** 264 * 265 * 266 * <pre> 267 * Output only. The time at which this node pool was created. 268 * </pre> 269 * 270 * <code>.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 271 * </code> 272 * 273 * @return Whether the createTime field is set. 274 */ hasCreateTime()275 boolean hasCreateTime(); 276 /** 277 * 278 * 279 * <pre> 280 * Output only. The time at which this node pool was created. 281 * </pre> 282 * 283 * <code>.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 284 * </code> 285 * 286 * @return The createTime. 287 */ getCreateTime()288 com.google.protobuf.Timestamp getCreateTime(); 289 /** 290 * 291 * 292 * <pre> 293 * Output only. The time at which this node pool was created. 294 * </pre> 295 * 296 * <code>.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 297 * </code> 298 */ getCreateTimeOrBuilder()299 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 300 301 /** 302 * 303 * 304 * <pre> 305 * Output only. The time at which this node pool was last updated. 306 * </pre> 307 * 308 * <code>.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 309 * </code> 310 * 311 * @return Whether the updateTime field is set. 312 */ hasUpdateTime()313 boolean hasUpdateTime(); 314 /** 315 * 316 * 317 * <pre> 318 * Output only. The time at which this node pool was last updated. 319 * </pre> 320 * 321 * <code>.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 322 * </code> 323 * 324 * @return The updateTime. 325 */ getUpdateTime()326 com.google.protobuf.Timestamp getUpdateTime(); 327 /** 328 * 329 * 330 * <pre> 331 * Output only. The time at which this node pool was last updated. 332 * </pre> 333 * 334 * <code>.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; 335 * </code> 336 */ getUpdateTimeOrBuilder()337 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 338 339 /** 340 * 341 * 342 * <pre> 343 * Allows clients to perform consistent read-modify-writes 344 * through optimistic concurrency control. 345 * Can be sent on update and delete requests to ensure the 346 * client has an up-to-date value before proceeding. 347 * </pre> 348 * 349 * <code>string etag = 12;</code> 350 * 351 * @return The etag. 352 */ getEtag()353 java.lang.String getEtag(); 354 /** 355 * 356 * 357 * <pre> 358 * Allows clients to perform consistent read-modify-writes 359 * through optimistic concurrency control. 360 * Can be sent on update and delete requests to ensure the 361 * client has an up-to-date value before proceeding. 362 * </pre> 363 * 364 * <code>string etag = 12;</code> 365 * 366 * @return The bytes for etag. 367 */ getEtagBytes()368 com.google.protobuf.ByteString getEtagBytes(); 369 370 /** 371 * 372 * 373 * <pre> 374 * Optional. Annotations on the node pool. 375 * This field has the same restrictions as Kubernetes annotations. 376 * The total size of all keys and values combined is limited to 256k. 377 * Keys can have 2 segments: prefix (optional) and name (required), 378 * separated by a slash (/). 379 * Prefix must be a DNS subdomain. 380 * Name must be 63 characters or less, begin and end with alphanumerics, 381 * with dashes (-), underscores (_), dots (.), and alphanumerics between. 382 * </pre> 383 * 384 * <code>map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; 385 * </code> 386 */ getAnnotationsCount()387 int getAnnotationsCount(); 388 /** 389 * 390 * 391 * <pre> 392 * Optional. Annotations on the node pool. 393 * This field has the same restrictions as Kubernetes annotations. 394 * The total size of all keys and values combined is limited to 256k. 395 * Keys can have 2 segments: prefix (optional) and name (required), 396 * separated by a slash (/). 397 * Prefix must be a DNS subdomain. 398 * Name must be 63 characters or less, begin and end with alphanumerics, 399 * with dashes (-), underscores (_), dots (.), and alphanumerics between. 400 * </pre> 401 * 402 * <code>map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; 403 * </code> 404 */ containsAnnotations(java.lang.String key)405 boolean containsAnnotations(java.lang.String key); 406 /** Use {@link #getAnnotationsMap()} instead. */ 407 @java.lang.Deprecated getAnnotations()408 java.util.Map<java.lang.String, java.lang.String> getAnnotations(); 409 /** 410 * 411 * 412 * <pre> 413 * Optional. Annotations on the node pool. 414 * This field has the same restrictions as Kubernetes annotations. 415 * The total size of all keys and values combined is limited to 256k. 416 * Keys can have 2 segments: prefix (optional) and name (required), 417 * separated by a slash (/). 418 * Prefix must be a DNS subdomain. 419 * Name must be 63 characters or less, begin and end with alphanumerics, 420 * with dashes (-), underscores (_), dots (.), and alphanumerics between. 421 * </pre> 422 * 423 * <code>map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; 424 * </code> 425 */ getAnnotationsMap()426 java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap(); 427 /** 428 * 429 * 430 * <pre> 431 * Optional. Annotations on the node pool. 432 * This field has the same restrictions as Kubernetes annotations. 433 * The total size of all keys and values combined is limited to 256k. 434 * Keys can have 2 segments: prefix (optional) and name (required), 435 * separated by a slash (/). 436 * Prefix must be a DNS subdomain. 437 * Name must be 63 characters or less, begin and end with alphanumerics, 438 * with dashes (-), underscores (_), dots (.), and alphanumerics between. 439 * </pre> 440 * 441 * <code>map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; 442 * </code> 443 */ 444 /* nullable */ getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue)445 java.lang.String getAnnotationsOrDefault( 446 java.lang.String key, 447 /* nullable */ 448 java.lang.String defaultValue); 449 /** 450 * 451 * 452 * <pre> 453 * Optional. Annotations on the node pool. 454 * This field has the same restrictions as Kubernetes annotations. 455 * The total size of all keys and values combined is limited to 256k. 456 * Keys can have 2 segments: prefix (optional) and name (required), 457 * separated by a slash (/). 458 * Prefix must be a DNS subdomain. 459 * Name must be 63 characters or less, begin and end with alphanumerics, 460 * with dashes (-), underscores (_), dots (.), and alphanumerics between. 461 * </pre> 462 * 463 * <code>map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; 464 * </code> 465 */ getAnnotationsOrThrow(java.lang.String key)466 java.lang.String getAnnotationsOrThrow(java.lang.String key); 467 468 /** 469 * 470 * 471 * <pre> 472 * Required. The constraint on the maximum number of pods that can be run 473 * simultaneously on a node in the node pool. 474 * </pre> 475 * 476 * <code> 477 * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; 478 * </code> 479 * 480 * @return Whether the maxPodsConstraint field is set. 481 */ hasMaxPodsConstraint()482 boolean hasMaxPodsConstraint(); 483 /** 484 * 485 * 486 * <pre> 487 * Required. The constraint on the maximum number of pods that can be run 488 * simultaneously on a node in the node pool. 489 * </pre> 490 * 491 * <code> 492 * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; 493 * </code> 494 * 495 * @return The maxPodsConstraint. 496 */ getMaxPodsConstraint()497 com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(); 498 /** 499 * 500 * 501 * <pre> 502 * Required. The constraint on the maximum number of pods that can be run 503 * simultaneously on a node in the node pool. 504 * </pre> 505 * 506 * <code> 507 * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; 508 * </code> 509 */ getMaxPodsConstraintOrBuilder()510 com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder(); 511 512 /** 513 * 514 * 515 * <pre> 516 * Optional. The Azure availability zone of the nodes in this nodepool. 517 * When unspecified, it defaults to `1`. 518 * </pre> 519 * 520 * <code>string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];</code> 521 * 522 * @return The azureAvailabilityZone. 523 */ getAzureAvailabilityZone()524 java.lang.String getAzureAvailabilityZone(); 525 /** 526 * 527 * 528 * <pre> 529 * Optional. The Azure availability zone of the nodes in this nodepool. 530 * When unspecified, it defaults to `1`. 531 * </pre> 532 * 533 * <code>string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];</code> 534 * 535 * @return The bytes for azureAvailabilityZone. 536 */ getAzureAvailabilityZoneBytes()537 com.google.protobuf.ByteString getAzureAvailabilityZoneBytes(); 538 539 /** 540 * 541 * 542 * <pre> 543 * Output only. A set of errors found in the node pool. 544 * </pre> 545 * 546 * <code> 547 * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; 548 * </code> 549 */ getErrorsList()550 java.util.List<com.google.cloud.gkemulticloud.v1.AzureNodePoolError> getErrorsList(); 551 /** 552 * 553 * 554 * <pre> 555 * Output only. A set of errors found in the node pool. 556 * </pre> 557 * 558 * <code> 559 * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; 560 * </code> 561 */ getErrors(int index)562 com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index); 563 /** 564 * 565 * 566 * <pre> 567 * Output only. A set of errors found in the node pool. 568 * </pre> 569 * 570 * <code> 571 * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; 572 * </code> 573 */ getErrorsCount()574 int getErrorsCount(); 575 /** 576 * 577 * 578 * <pre> 579 * Output only. A set of errors found in the node pool. 580 * </pre> 581 * 582 * <code> 583 * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; 584 * </code> 585 */ 586 java.util.List<? extends com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> getErrorsOrBuilderList()587 getErrorsOrBuilderList(); 588 /** 589 * 590 * 591 * <pre> 592 * Output only. A set of errors found in the node pool. 593 * </pre> 594 * 595 * <code> 596 * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; 597 * </code> 598 */ getErrorsOrBuilder(int index)599 com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder(int index); 600 } 601