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 NodeGroupNodeOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NodeGroupNode) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Accelerators for this node. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;</code> 34 */ getAcceleratorsList()35 java.util.List<com.google.cloud.compute.v1.AcceleratorConfig> getAcceleratorsList(); 36 /** 37 * 38 * 39 * <pre> 40 * Accelerators for this node. 41 * </pre> 42 * 43 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;</code> 44 */ getAccelerators(int index)45 com.google.cloud.compute.v1.AcceleratorConfig getAccelerators(int index); 46 /** 47 * 48 * 49 * <pre> 50 * Accelerators for this node. 51 * </pre> 52 * 53 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;</code> 54 */ getAcceleratorsCount()55 int getAcceleratorsCount(); 56 /** 57 * 58 * 59 * <pre> 60 * Accelerators for this node. 61 * </pre> 62 * 63 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;</code> 64 */ 65 java.util.List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()66 getAcceleratorsOrBuilderList(); 67 /** 68 * 69 * 70 * <pre> 71 * Accelerators for this node. 72 * </pre> 73 * 74 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;</code> 75 */ getAcceleratorsOrBuilder(int index)76 com.google.cloud.compute.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index); 77 78 /** 79 * 80 * 81 * <pre> 82 * Node resources that are reserved by all instances. 83 * </pre> 84 * 85 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118; 86 * </code> 87 * 88 * @return Whether the consumedResources field is set. 89 */ hasConsumedResources()90 boolean hasConsumedResources(); 91 /** 92 * 93 * 94 * <pre> 95 * Node resources that are reserved by all instances. 96 * </pre> 97 * 98 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118; 99 * </code> 100 * 101 * @return The consumedResources. 102 */ getConsumedResources()103 com.google.cloud.compute.v1.InstanceConsumptionInfo getConsumedResources(); 104 /** 105 * 106 * 107 * <pre> 108 * Node resources that are reserved by all instances. 109 * </pre> 110 * 111 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo consumed_resources = 334527118; 112 * </code> 113 */ getConsumedResourcesOrBuilder()114 com.google.cloud.compute.v1.InstanceConsumptionInfoOrBuilder getConsumedResourcesOrBuilder(); 115 116 /** 117 * 118 * 119 * <pre> 120 * CPU overcommit. 121 * Check the CpuOvercommitType enum for the list of possible values. 122 * </pre> 123 * 124 * <code>optional string cpu_overcommit_type = 247727959;</code> 125 * 126 * @return Whether the cpuOvercommitType field is set. 127 */ hasCpuOvercommitType()128 boolean hasCpuOvercommitType(); 129 /** 130 * 131 * 132 * <pre> 133 * CPU overcommit. 134 * Check the CpuOvercommitType enum for the list of possible values. 135 * </pre> 136 * 137 * <code>optional string cpu_overcommit_type = 247727959;</code> 138 * 139 * @return The cpuOvercommitType. 140 */ getCpuOvercommitType()141 java.lang.String getCpuOvercommitType(); 142 /** 143 * 144 * 145 * <pre> 146 * CPU overcommit. 147 * Check the CpuOvercommitType enum for the list of possible values. 148 * </pre> 149 * 150 * <code>optional string cpu_overcommit_type = 247727959;</code> 151 * 152 * @return The bytes for cpuOvercommitType. 153 */ getCpuOvercommitTypeBytes()154 com.google.protobuf.ByteString getCpuOvercommitTypeBytes(); 155 156 /** 157 * 158 * 159 * <pre> 160 * Local disk configurations. 161 * </pre> 162 * 163 * <code>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;</code> 164 */ getDisksList()165 java.util.List<com.google.cloud.compute.v1.LocalDisk> getDisksList(); 166 /** 167 * 168 * 169 * <pre> 170 * Local disk configurations. 171 * </pre> 172 * 173 * <code>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;</code> 174 */ getDisks(int index)175 com.google.cloud.compute.v1.LocalDisk getDisks(int index); 176 /** 177 * 178 * 179 * <pre> 180 * Local disk configurations. 181 * </pre> 182 * 183 * <code>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;</code> 184 */ getDisksCount()185 int getDisksCount(); 186 /** 187 * 188 * 189 * <pre> 190 * Local disk configurations. 191 * </pre> 192 * 193 * <code>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;</code> 194 */ getDisksOrBuilderList()195 java.util.List<? extends com.google.cloud.compute.v1.LocalDiskOrBuilder> getDisksOrBuilderList(); 196 /** 197 * 198 * 199 * <pre> 200 * Local disk configurations. 201 * </pre> 202 * 203 * <code>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;</code> 204 */ getDisksOrBuilder(int index)205 com.google.cloud.compute.v1.LocalDiskOrBuilder getDisksOrBuilder(int index); 206 207 /** 208 * 209 * 210 * <pre> 211 * Instance data that shows consumed resources on the node. 212 * </pre> 213 * 214 * <code> 215 * repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576; 216 * </code> 217 */ 218 java.util.List<com.google.cloud.compute.v1.InstanceConsumptionData> getInstanceConsumptionDataList()219 getInstanceConsumptionDataList(); 220 /** 221 * 222 * 223 * <pre> 224 * Instance data that shows consumed resources on the node. 225 * </pre> 226 * 227 * <code> 228 * repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576; 229 * </code> 230 */ getInstanceConsumptionData(int index)231 com.google.cloud.compute.v1.InstanceConsumptionData getInstanceConsumptionData(int index); 232 /** 233 * 234 * 235 * <pre> 236 * Instance data that shows consumed resources on the node. 237 * </pre> 238 * 239 * <code> 240 * repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576; 241 * </code> 242 */ getInstanceConsumptionDataCount()243 int getInstanceConsumptionDataCount(); 244 /** 245 * 246 * 247 * <pre> 248 * Instance data that shows consumed resources on the node. 249 * </pre> 250 * 251 * <code> 252 * repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576; 253 * </code> 254 */ 255 java.util.List<? extends com.google.cloud.compute.v1.InstanceConsumptionDataOrBuilder> getInstanceConsumptionDataOrBuilderList()256 getInstanceConsumptionDataOrBuilderList(); 257 /** 258 * 259 * 260 * <pre> 261 * Instance data that shows consumed resources on the node. 262 * </pre> 263 * 264 * <code> 265 * repeated .google.cloud.compute.v1.InstanceConsumptionData instance_consumption_data = 84715576; 266 * </code> 267 */ getInstanceConsumptionDataOrBuilder( int index)268 com.google.cloud.compute.v1.InstanceConsumptionDataOrBuilder getInstanceConsumptionDataOrBuilder( 269 int index); 270 271 /** 272 * 273 * 274 * <pre> 275 * Instances scheduled on this node. 276 * </pre> 277 * 278 * <code>repeated string instances = 29097598;</code> 279 * 280 * @return A list containing the instances. 281 */ getInstancesList()282 java.util.List<java.lang.String> getInstancesList(); 283 /** 284 * 285 * 286 * <pre> 287 * Instances scheduled on this node. 288 * </pre> 289 * 290 * <code>repeated string instances = 29097598;</code> 291 * 292 * @return The count of instances. 293 */ getInstancesCount()294 int getInstancesCount(); 295 /** 296 * 297 * 298 * <pre> 299 * Instances scheduled on this node. 300 * </pre> 301 * 302 * <code>repeated string instances = 29097598;</code> 303 * 304 * @param index The index of the element to return. 305 * @return The instances at the given index. 306 */ getInstances(int index)307 java.lang.String getInstances(int index); 308 /** 309 * 310 * 311 * <pre> 312 * Instances scheduled on this node. 313 * </pre> 314 * 315 * <code>repeated string instances = 29097598;</code> 316 * 317 * @param index The index of the value to return. 318 * @return The bytes of the instances at the given index. 319 */ getInstancesBytes(int index)320 com.google.protobuf.ByteString getInstancesBytes(int index); 321 322 /** 323 * 324 * 325 * <pre> 326 * The name of the node. 327 * </pre> 328 * 329 * <code>optional string name = 3373707;</code> 330 * 331 * @return Whether the name field is set. 332 */ hasName()333 boolean hasName(); 334 /** 335 * 336 * 337 * <pre> 338 * The name of the node. 339 * </pre> 340 * 341 * <code>optional string name = 3373707;</code> 342 * 343 * @return The name. 344 */ getName()345 java.lang.String getName(); 346 /** 347 * 348 * 349 * <pre> 350 * The name of the node. 351 * </pre> 352 * 353 * <code>optional string name = 3373707;</code> 354 * 355 * @return The bytes for name. 356 */ getNameBytes()357 com.google.protobuf.ByteString getNameBytes(); 358 359 /** 360 * 361 * 362 * <pre> 363 * The type of this node. 364 * </pre> 365 * 366 * <code>optional string node_type = 465832791;</code> 367 * 368 * @return Whether the nodeType field is set. 369 */ hasNodeType()370 boolean hasNodeType(); 371 /** 372 * 373 * 374 * <pre> 375 * The type of this node. 376 * </pre> 377 * 378 * <code>optional string node_type = 465832791;</code> 379 * 380 * @return The nodeType. 381 */ getNodeType()382 java.lang.String getNodeType(); 383 /** 384 * 385 * 386 * <pre> 387 * The type of this node. 388 * </pre> 389 * 390 * <code>optional string node_type = 465832791;</code> 391 * 392 * @return The bytes for nodeType. 393 */ getNodeTypeBytes()394 com.google.protobuf.ByteString getNodeTypeBytes(); 395 396 /** 397 * 398 * 399 * <pre> 400 * [Output Only] Reserved for future use. 401 * </pre> 402 * 403 * <code>optional bool satisfies_pzs = 480964267;</code> 404 * 405 * @return Whether the satisfiesPzs field is set. 406 */ hasSatisfiesPzs()407 boolean hasSatisfiesPzs(); 408 /** 409 * 410 * 411 * <pre> 412 * [Output Only] Reserved for future use. 413 * </pre> 414 * 415 * <code>optional bool satisfies_pzs = 480964267;</code> 416 * 417 * @return The satisfiesPzs. 418 */ getSatisfiesPzs()419 boolean getSatisfiesPzs(); 420 421 /** 422 * 423 * 424 * <pre> 425 * Binding properties for the physical server. 426 * </pre> 427 * 428 * <code>optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;</code> 429 * 430 * @return Whether the serverBinding field is set. 431 */ hasServerBinding()432 boolean hasServerBinding(); 433 /** 434 * 435 * 436 * <pre> 437 * Binding properties for the physical server. 438 * </pre> 439 * 440 * <code>optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;</code> 441 * 442 * @return The serverBinding. 443 */ getServerBinding()444 com.google.cloud.compute.v1.ServerBinding getServerBinding(); 445 /** 446 * 447 * 448 * <pre> 449 * Binding properties for the physical server. 450 * </pre> 451 * 452 * <code>optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;</code> 453 */ getServerBindingOrBuilder()454 com.google.cloud.compute.v1.ServerBindingOrBuilder getServerBindingOrBuilder(); 455 456 /** 457 * 458 * 459 * <pre> 460 * Server ID associated with this node. 461 * </pre> 462 * 463 * <code>optional string server_id = 339433367;</code> 464 * 465 * @return Whether the serverId field is set. 466 */ hasServerId()467 boolean hasServerId(); 468 /** 469 * 470 * 471 * <pre> 472 * Server ID associated with this node. 473 * </pre> 474 * 475 * <code>optional string server_id = 339433367;</code> 476 * 477 * @return The serverId. 478 */ getServerId()479 java.lang.String getServerId(); 480 /** 481 * 482 * 483 * <pre> 484 * Server ID associated with this node. 485 * </pre> 486 * 487 * <code>optional string server_id = 339433367;</code> 488 * 489 * @return The bytes for serverId. 490 */ getServerIdBytes()491 com.google.protobuf.ByteString getServerIdBytes(); 492 493 /** 494 * 495 * 496 * <pre> 497 * 498 * Check the Status enum for the list of possible values. 499 * </pre> 500 * 501 * <code>optional string status = 181260274;</code> 502 * 503 * @return Whether the status field is set. 504 */ hasStatus()505 boolean hasStatus(); 506 /** 507 * 508 * 509 * <pre> 510 * 511 * Check the Status enum for the list of possible values. 512 * </pre> 513 * 514 * <code>optional string status = 181260274;</code> 515 * 516 * @return The status. 517 */ getStatus()518 java.lang.String getStatus(); 519 /** 520 * 521 * 522 * <pre> 523 * 524 * Check the Status enum for the list of possible values. 525 * </pre> 526 * 527 * <code>optional string status = 181260274;</code> 528 * 529 * @return The bytes for status. 530 */ getStatusBytes()531 com.google.protobuf.ByteString getStatusBytes(); 532 533 /** 534 * 535 * 536 * <pre> 537 * Total amount of available resources on the node. 538 * </pre> 539 * 540 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698; 541 * </code> 542 * 543 * @return Whether the totalResources field is set. 544 */ hasTotalResources()545 boolean hasTotalResources(); 546 /** 547 * 548 * 549 * <pre> 550 * Total amount of available resources on the node. 551 * </pre> 552 * 553 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698; 554 * </code> 555 * 556 * @return The totalResources. 557 */ getTotalResources()558 com.google.cloud.compute.v1.InstanceConsumptionInfo getTotalResources(); 559 /** 560 * 561 * 562 * <pre> 563 * Total amount of available resources on the node. 564 * </pre> 565 * 566 * <code>optional .google.cloud.compute.v1.InstanceConsumptionInfo total_resources = 97406698; 567 * </code> 568 */ getTotalResourcesOrBuilder()569 com.google.cloud.compute.v1.InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder(); 570 } 571