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 DiskOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Disk) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The architecture of the disk. Valid values are ARM64 or X86_64. 31 * Check the Architecture enum for the list of possible values. 32 * </pre> 33 * 34 * <code>optional string architecture = 302803283;</code> 35 * 36 * @return Whether the architecture field is set. 37 */ hasArchitecture()38 boolean hasArchitecture(); 39 /** 40 * 41 * 42 * <pre> 43 * The architecture of the disk. Valid values are ARM64 or X86_64. 44 * Check the Architecture enum for the list of possible values. 45 * </pre> 46 * 47 * <code>optional string architecture = 302803283;</code> 48 * 49 * @return The architecture. 50 */ getArchitecture()51 java.lang.String getArchitecture(); 52 /** 53 * 54 * 55 * <pre> 56 * The architecture of the disk. Valid values are ARM64 or X86_64. 57 * Check the Architecture enum for the list of possible values. 58 * </pre> 59 * 60 * <code>optional string architecture = 302803283;</code> 61 * 62 * @return The bytes for architecture. 63 */ getArchitectureBytes()64 com.google.protobuf.ByteString getArchitectureBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * [Output Only] Creation timestamp in RFC3339 text format. 71 * </pre> 72 * 73 * <code>optional string creation_timestamp = 30525366;</code> 74 * 75 * @return Whether the creationTimestamp field is set. 76 */ hasCreationTimestamp()77 boolean hasCreationTimestamp(); 78 /** 79 * 80 * 81 * <pre> 82 * [Output Only] Creation timestamp in RFC3339 text format. 83 * </pre> 84 * 85 * <code>optional string creation_timestamp = 30525366;</code> 86 * 87 * @return The creationTimestamp. 88 */ getCreationTimestamp()89 java.lang.String getCreationTimestamp(); 90 /** 91 * 92 * 93 * <pre> 94 * [Output Only] Creation timestamp in RFC3339 text format. 95 * </pre> 96 * 97 * <code>optional string creation_timestamp = 30525366;</code> 98 * 99 * @return The bytes for creationTimestamp. 100 */ getCreationTimestampBytes()101 com.google.protobuf.ByteString getCreationTimestampBytes(); 102 103 /** 104 * 105 * 106 * <pre> 107 * An optional description of this resource. Provide this property when you create the resource. 108 * </pre> 109 * 110 * <code>optional string description = 422937596;</code> 111 * 112 * @return Whether the description field is set. 113 */ hasDescription()114 boolean hasDescription(); 115 /** 116 * 117 * 118 * <pre> 119 * An optional description of this resource. Provide this property when you create the resource. 120 * </pre> 121 * 122 * <code>optional string description = 422937596;</code> 123 * 124 * @return The description. 125 */ getDescription()126 java.lang.String getDescription(); 127 /** 128 * 129 * 130 * <pre> 131 * An optional description of this resource. Provide this property when you create the resource. 132 * </pre> 133 * 134 * <code>optional string description = 422937596;</code> 135 * 136 * @return The bytes for description. 137 */ getDescriptionBytes()138 com.google.protobuf.ByteString getDescriptionBytes(); 139 140 /** 141 * 142 * 143 * <pre> 144 * Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. 145 * </pre> 146 * 147 * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; 148 * </code> 149 * 150 * @return Whether the diskEncryptionKey field is set. 151 */ hasDiskEncryptionKey()152 boolean hasDiskEncryptionKey(); 153 /** 154 * 155 * 156 * <pre> 157 * Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. 158 * </pre> 159 * 160 * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; 161 * </code> 162 * 163 * @return The diskEncryptionKey. 164 */ getDiskEncryptionKey()165 com.google.cloud.compute.v1.CustomerEncryptionKey getDiskEncryptionKey(); 166 /** 167 * 168 * 169 * <pre> 170 * Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. 171 * </pre> 172 * 173 * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; 174 * </code> 175 */ getDiskEncryptionKeyOrBuilder()176 com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder(); 177 178 /** 179 * 180 * 181 * <pre> 182 * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. 183 * </pre> 184 * 185 * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code> 186 */ getGuestOsFeaturesList()187 java.util.List<com.google.cloud.compute.v1.GuestOsFeature> getGuestOsFeaturesList(); 188 /** 189 * 190 * 191 * <pre> 192 * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. 193 * </pre> 194 * 195 * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code> 196 */ getGuestOsFeatures(int index)197 com.google.cloud.compute.v1.GuestOsFeature getGuestOsFeatures(int index); 198 /** 199 * 200 * 201 * <pre> 202 * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. 203 * </pre> 204 * 205 * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code> 206 */ getGuestOsFeaturesCount()207 int getGuestOsFeaturesCount(); 208 /** 209 * 210 * 211 * <pre> 212 * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. 213 * </pre> 214 * 215 * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code> 216 */ 217 java.util.List<? extends com.google.cloud.compute.v1.GuestOsFeatureOrBuilder> getGuestOsFeaturesOrBuilderList()218 getGuestOsFeaturesOrBuilderList(); 219 /** 220 * 221 * 222 * <pre> 223 * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. 224 * </pre> 225 * 226 * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code> 227 */ getGuestOsFeaturesOrBuilder(int index)228 com.google.cloud.compute.v1.GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index); 229 230 /** 231 * 232 * 233 * <pre> 234 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 235 * </pre> 236 * 237 * <code>optional uint64 id = 3355;</code> 238 * 239 * @return Whether the id field is set. 240 */ hasId()241 boolean hasId(); 242 /** 243 * 244 * 245 * <pre> 246 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 247 * </pre> 248 * 249 * <code>optional uint64 id = 3355;</code> 250 * 251 * @return The id. 252 */ getId()253 long getId(); 254 255 /** 256 * 257 * 258 * <pre> 259 * [Output Only] Type of the resource. Always compute#disk for disks. 260 * </pre> 261 * 262 * <code>optional string kind = 3292052;</code> 263 * 264 * @return Whether the kind field is set. 265 */ hasKind()266 boolean hasKind(); 267 /** 268 * 269 * 270 * <pre> 271 * [Output Only] Type of the resource. Always compute#disk for disks. 272 * </pre> 273 * 274 * <code>optional string kind = 3292052;</code> 275 * 276 * @return The kind. 277 */ getKind()278 java.lang.String getKind(); 279 /** 280 * 281 * 282 * <pre> 283 * [Output Only] Type of the resource. Always compute#disk for disks. 284 * </pre> 285 * 286 * <code>optional string kind = 3292052;</code> 287 * 288 * @return The bytes for kind. 289 */ getKindBytes()290 com.google.protobuf.ByteString getKindBytes(); 291 292 /** 293 * 294 * 295 * <pre> 296 * A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk. 297 * </pre> 298 * 299 * <code>optional string label_fingerprint = 178124825;</code> 300 * 301 * @return Whether the labelFingerprint field is set. 302 */ hasLabelFingerprint()303 boolean hasLabelFingerprint(); 304 /** 305 * 306 * 307 * <pre> 308 * A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk. 309 * </pre> 310 * 311 * <code>optional string label_fingerprint = 178124825;</code> 312 * 313 * @return The labelFingerprint. 314 */ getLabelFingerprint()315 java.lang.String getLabelFingerprint(); 316 /** 317 * 318 * 319 * <pre> 320 * A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk. 321 * </pre> 322 * 323 * <code>optional string label_fingerprint = 178124825;</code> 324 * 325 * @return The bytes for labelFingerprint. 326 */ getLabelFingerprintBytes()327 com.google.protobuf.ByteString getLabelFingerprintBytes(); 328 329 /** 330 * 331 * 332 * <pre> 333 * Labels to apply to this disk. These can be later modified by the setLabels method. 334 * </pre> 335 * 336 * <code>map<string, string> labels = 500195327;</code> 337 */ getLabelsCount()338 int getLabelsCount(); 339 /** 340 * 341 * 342 * <pre> 343 * Labels to apply to this disk. These can be later modified by the setLabels method. 344 * </pre> 345 * 346 * <code>map<string, string> labels = 500195327;</code> 347 */ containsLabels(java.lang.String key)348 boolean containsLabels(java.lang.String key); 349 /** Use {@link #getLabelsMap()} instead. */ 350 @java.lang.Deprecated getLabels()351 java.util.Map<java.lang.String, java.lang.String> getLabels(); 352 /** 353 * 354 * 355 * <pre> 356 * Labels to apply to this disk. These can be later modified by the setLabels method. 357 * </pre> 358 * 359 * <code>map<string, string> labels = 500195327;</code> 360 */ getLabelsMap()361 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 362 /** 363 * 364 * 365 * <pre> 366 * Labels to apply to this disk. These can be later modified by the setLabels method. 367 * </pre> 368 * 369 * <code>map<string, string> labels = 500195327;</code> 370 */ 371 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)372 java.lang.String getLabelsOrDefault( 373 java.lang.String key, 374 /* nullable */ 375 java.lang.String defaultValue); 376 /** 377 * 378 * 379 * <pre> 380 * Labels to apply to this disk. These can be later modified by the setLabels method. 381 * </pre> 382 * 383 * <code>map<string, string> labels = 500195327;</code> 384 */ getLabelsOrThrow(java.lang.String key)385 java.lang.String getLabelsOrThrow(java.lang.String key); 386 387 /** 388 * 389 * 390 * <pre> 391 * [Output Only] Last attach timestamp in RFC3339 text format. 392 * </pre> 393 * 394 * <code>optional string last_attach_timestamp = 42159653;</code> 395 * 396 * @return Whether the lastAttachTimestamp field is set. 397 */ hasLastAttachTimestamp()398 boolean hasLastAttachTimestamp(); 399 /** 400 * 401 * 402 * <pre> 403 * [Output Only] Last attach timestamp in RFC3339 text format. 404 * </pre> 405 * 406 * <code>optional string last_attach_timestamp = 42159653;</code> 407 * 408 * @return The lastAttachTimestamp. 409 */ getLastAttachTimestamp()410 java.lang.String getLastAttachTimestamp(); 411 /** 412 * 413 * 414 * <pre> 415 * [Output Only] Last attach timestamp in RFC3339 text format. 416 * </pre> 417 * 418 * <code>optional string last_attach_timestamp = 42159653;</code> 419 * 420 * @return The bytes for lastAttachTimestamp. 421 */ getLastAttachTimestampBytes()422 com.google.protobuf.ByteString getLastAttachTimestampBytes(); 423 424 /** 425 * 426 * 427 * <pre> 428 * [Output Only] Last detach timestamp in RFC3339 text format. 429 * </pre> 430 * 431 * <code>optional string last_detach_timestamp = 56471027;</code> 432 * 433 * @return Whether the lastDetachTimestamp field is set. 434 */ hasLastDetachTimestamp()435 boolean hasLastDetachTimestamp(); 436 /** 437 * 438 * 439 * <pre> 440 * [Output Only] Last detach timestamp in RFC3339 text format. 441 * </pre> 442 * 443 * <code>optional string last_detach_timestamp = 56471027;</code> 444 * 445 * @return The lastDetachTimestamp. 446 */ getLastDetachTimestamp()447 java.lang.String getLastDetachTimestamp(); 448 /** 449 * 450 * 451 * <pre> 452 * [Output Only] Last detach timestamp in RFC3339 text format. 453 * </pre> 454 * 455 * <code>optional string last_detach_timestamp = 56471027;</code> 456 * 457 * @return The bytes for lastDetachTimestamp. 458 */ getLastDetachTimestampBytes()459 com.google.protobuf.ByteString getLastDetachTimestampBytes(); 460 461 /** 462 * 463 * 464 * <pre> 465 * Integer license codes indicating which licenses are attached to this disk. 466 * </pre> 467 * 468 * <code>repeated int64 license_codes = 45482664;</code> 469 * 470 * @return A list containing the licenseCodes. 471 */ getLicenseCodesList()472 java.util.List<java.lang.Long> getLicenseCodesList(); 473 /** 474 * 475 * 476 * <pre> 477 * Integer license codes indicating which licenses are attached to this disk. 478 * </pre> 479 * 480 * <code>repeated int64 license_codes = 45482664;</code> 481 * 482 * @return The count of licenseCodes. 483 */ getLicenseCodesCount()484 int getLicenseCodesCount(); 485 /** 486 * 487 * 488 * <pre> 489 * Integer license codes indicating which licenses are attached to this disk. 490 * </pre> 491 * 492 * <code>repeated int64 license_codes = 45482664;</code> 493 * 494 * @param index The index of the element to return. 495 * @return The licenseCodes at the given index. 496 */ getLicenseCodes(int index)497 long getLicenseCodes(int index); 498 499 /** 500 * 501 * 502 * <pre> 503 * A list of publicly visible licenses. Reserved for Google's use. 504 * </pre> 505 * 506 * <code>repeated string licenses = 337642578;</code> 507 * 508 * @return A list containing the licenses. 509 */ getLicensesList()510 java.util.List<java.lang.String> getLicensesList(); 511 /** 512 * 513 * 514 * <pre> 515 * A list of publicly visible licenses. Reserved for Google's use. 516 * </pre> 517 * 518 * <code>repeated string licenses = 337642578;</code> 519 * 520 * @return The count of licenses. 521 */ getLicensesCount()522 int getLicensesCount(); 523 /** 524 * 525 * 526 * <pre> 527 * A list of publicly visible licenses. Reserved for Google's use. 528 * </pre> 529 * 530 * <code>repeated string licenses = 337642578;</code> 531 * 532 * @param index The index of the element to return. 533 * @return The licenses at the given index. 534 */ getLicenses(int index)535 java.lang.String getLicenses(int index); 536 /** 537 * 538 * 539 * <pre> 540 * A list of publicly visible licenses. Reserved for Google's use. 541 * </pre> 542 * 543 * <code>repeated string licenses = 337642578;</code> 544 * 545 * @param index The index of the value to return. 546 * @return The bytes of the licenses at the given index. 547 */ getLicensesBytes(int index)548 com.google.protobuf.ByteString getLicensesBytes(int index); 549 550 /** 551 * 552 * 553 * <pre> 554 * An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API. 555 * </pre> 556 * 557 * <code>optional string location_hint = 350519505;</code> 558 * 559 * @return Whether the locationHint field is set. 560 */ hasLocationHint()561 boolean hasLocationHint(); 562 /** 563 * 564 * 565 * <pre> 566 * An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API. 567 * </pre> 568 * 569 * <code>optional string location_hint = 350519505;</code> 570 * 571 * @return The locationHint. 572 */ getLocationHint()573 java.lang.String getLocationHint(); 574 /** 575 * 576 * 577 * <pre> 578 * An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API. 579 * </pre> 580 * 581 * <code>optional string location_hint = 350519505;</code> 582 * 583 * @return The bytes for locationHint. 584 */ getLocationHintBytes()585 com.google.protobuf.ByteString getLocationHintBytes(); 586 587 /** 588 * 589 * 590 * <pre> 591 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 592 * </pre> 593 * 594 * <code>optional string name = 3373707;</code> 595 * 596 * @return Whether the name field is set. 597 */ hasName()598 boolean hasName(); 599 /** 600 * 601 * 602 * <pre> 603 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 604 * </pre> 605 * 606 * <code>optional string name = 3373707;</code> 607 * 608 * @return The name. 609 */ getName()610 java.lang.String getName(); 611 /** 612 * 613 * 614 * <pre> 615 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 616 * </pre> 617 * 618 * <code>optional string name = 3373707;</code> 619 * 620 * @return The bytes for name. 621 */ getNameBytes()622 com.google.protobuf.ByteString getNameBytes(); 623 624 /** 625 * 626 * 627 * <pre> 628 * Internal use only. 629 * </pre> 630 * 631 * <code>optional string options = 361137822;</code> 632 * 633 * @return Whether the options field is set. 634 */ hasOptions()635 boolean hasOptions(); 636 /** 637 * 638 * 639 * <pre> 640 * Internal use only. 641 * </pre> 642 * 643 * <code>optional string options = 361137822;</code> 644 * 645 * @return The options. 646 */ getOptions()647 java.lang.String getOptions(); 648 /** 649 * 650 * 651 * <pre> 652 * Internal use only. 653 * </pre> 654 * 655 * <code>optional string options = 361137822;</code> 656 * 657 * @return The bytes for options. 658 */ getOptionsBytes()659 com.google.protobuf.ByteString getOptionsBytes(); 660 661 /** 662 * 663 * 664 * <pre> 665 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 666 * </pre> 667 * 668 * <code>optional .google.cloud.compute.v1.DiskParams params = 78313862;</code> 669 * 670 * @return Whether the params field is set. 671 */ hasParams()672 boolean hasParams(); 673 /** 674 * 675 * 676 * <pre> 677 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 678 * </pre> 679 * 680 * <code>optional .google.cloud.compute.v1.DiskParams params = 78313862;</code> 681 * 682 * @return The params. 683 */ getParams()684 com.google.cloud.compute.v1.DiskParams getParams(); 685 /** 686 * 687 * 688 * <pre> 689 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 690 * </pre> 691 * 692 * <code>optional .google.cloud.compute.v1.DiskParams params = 78313862;</code> 693 */ getParamsOrBuilder()694 com.google.cloud.compute.v1.DiskParamsOrBuilder getParamsOrBuilder(); 695 696 /** 697 * 698 * 699 * <pre> 700 * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. 701 * </pre> 702 * 703 * <code>optional int64 physical_block_size_bytes = 420007943;</code> 704 * 705 * @return Whether the physicalBlockSizeBytes field is set. 706 */ hasPhysicalBlockSizeBytes()707 boolean hasPhysicalBlockSizeBytes(); 708 /** 709 * 710 * 711 * <pre> 712 * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. 713 * </pre> 714 * 715 * <code>optional int64 physical_block_size_bytes = 420007943;</code> 716 * 717 * @return The physicalBlockSizeBytes. 718 */ getPhysicalBlockSizeBytes()719 long getPhysicalBlockSizeBytes(); 720 721 /** 722 * 723 * 724 * <pre> 725 * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. 726 * </pre> 727 * 728 * <code>optional int64 provisioned_iops = 186769108;</code> 729 * 730 * @return Whether the provisionedIops field is set. 731 */ hasProvisionedIops()732 boolean hasProvisionedIops(); 733 /** 734 * 735 * 736 * <pre> 737 * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. 738 * </pre> 739 * 740 * <code>optional int64 provisioned_iops = 186769108;</code> 741 * 742 * @return The provisionedIops. 743 */ getProvisionedIops()744 long getProvisionedIops(); 745 746 /** 747 * 748 * 749 * <pre> 750 * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 751 * </pre> 752 * 753 * <code>optional string region = 138946292;</code> 754 * 755 * @return Whether the region field is set. 756 */ hasRegion()757 boolean hasRegion(); 758 /** 759 * 760 * 761 * <pre> 762 * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 763 * </pre> 764 * 765 * <code>optional string region = 138946292;</code> 766 * 767 * @return The region. 768 */ getRegion()769 java.lang.String getRegion(); 770 /** 771 * 772 * 773 * <pre> 774 * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 775 * </pre> 776 * 777 * <code>optional string region = 138946292;</code> 778 * 779 * @return The bytes for region. 780 */ getRegionBytes()781 com.google.protobuf.ByteString getRegionBytes(); 782 783 /** 784 * 785 * 786 * <pre> 787 * URLs of the zones where the disk should be replicated to. Only applicable for regional resources. 788 * </pre> 789 * 790 * <code>repeated string replica_zones = 48438272;</code> 791 * 792 * @return A list containing the replicaZones. 793 */ getReplicaZonesList()794 java.util.List<java.lang.String> getReplicaZonesList(); 795 /** 796 * 797 * 798 * <pre> 799 * URLs of the zones where the disk should be replicated to. Only applicable for regional resources. 800 * </pre> 801 * 802 * <code>repeated string replica_zones = 48438272;</code> 803 * 804 * @return The count of replicaZones. 805 */ getReplicaZonesCount()806 int getReplicaZonesCount(); 807 /** 808 * 809 * 810 * <pre> 811 * URLs of the zones where the disk should be replicated to. Only applicable for regional resources. 812 * </pre> 813 * 814 * <code>repeated string replica_zones = 48438272;</code> 815 * 816 * @param index The index of the element to return. 817 * @return The replicaZones at the given index. 818 */ getReplicaZones(int index)819 java.lang.String getReplicaZones(int index); 820 /** 821 * 822 * 823 * <pre> 824 * URLs of the zones where the disk should be replicated to. Only applicable for regional resources. 825 * </pre> 826 * 827 * <code>repeated string replica_zones = 48438272;</code> 828 * 829 * @param index The index of the value to return. 830 * @return The bytes of the replicaZones at the given index. 831 */ getReplicaZonesBytes(int index)832 com.google.protobuf.ByteString getReplicaZonesBytes(int index); 833 834 /** 835 * 836 * 837 * <pre> 838 * Resource policies applied to this disk for automatic snapshot creations. 839 * </pre> 840 * 841 * <code>repeated string resource_policies = 22220385;</code> 842 * 843 * @return A list containing the resourcePolicies. 844 */ getResourcePoliciesList()845 java.util.List<java.lang.String> getResourcePoliciesList(); 846 /** 847 * 848 * 849 * <pre> 850 * Resource policies applied to this disk for automatic snapshot creations. 851 * </pre> 852 * 853 * <code>repeated string resource_policies = 22220385;</code> 854 * 855 * @return The count of resourcePolicies. 856 */ getResourcePoliciesCount()857 int getResourcePoliciesCount(); 858 /** 859 * 860 * 861 * <pre> 862 * Resource policies applied to this disk for automatic snapshot creations. 863 * </pre> 864 * 865 * <code>repeated string resource_policies = 22220385;</code> 866 * 867 * @param index The index of the element to return. 868 * @return The resourcePolicies at the given index. 869 */ getResourcePolicies(int index)870 java.lang.String getResourcePolicies(int index); 871 /** 872 * 873 * 874 * <pre> 875 * Resource policies applied to this disk for automatic snapshot creations. 876 * </pre> 877 * 878 * <code>repeated string resource_policies = 22220385;</code> 879 * 880 * @param index The index of the value to return. 881 * @return The bytes of the resourcePolicies at the given index. 882 */ getResourcePoliciesBytes(int index)883 com.google.protobuf.ByteString getResourcePoliciesBytes(int index); 884 885 /** 886 * 887 * 888 * <pre> 889 * [Output Only] Reserved for future use. 890 * </pre> 891 * 892 * <code>optional bool satisfies_pzs = 480964267;</code> 893 * 894 * @return Whether the satisfiesPzs field is set. 895 */ hasSatisfiesPzs()896 boolean hasSatisfiesPzs(); 897 /** 898 * 899 * 900 * <pre> 901 * [Output Only] Reserved for future use. 902 * </pre> 903 * 904 * <code>optional bool satisfies_pzs = 480964267;</code> 905 * 906 * @return The satisfiesPzs. 907 */ getSatisfiesPzs()908 boolean getSatisfiesPzs(); 909 910 /** 911 * 912 * 913 * <pre> 914 * [Output Only] Server-defined fully-qualified URL for this resource. 915 * </pre> 916 * 917 * <code>optional string self_link = 456214797;</code> 918 * 919 * @return Whether the selfLink field is set. 920 */ hasSelfLink()921 boolean hasSelfLink(); 922 /** 923 * 924 * 925 * <pre> 926 * [Output Only] Server-defined fully-qualified URL for this resource. 927 * </pre> 928 * 929 * <code>optional string self_link = 456214797;</code> 930 * 931 * @return The selfLink. 932 */ getSelfLink()933 java.lang.String getSelfLink(); 934 /** 935 * 936 * 937 * <pre> 938 * [Output Only] Server-defined fully-qualified URL for this resource. 939 * </pre> 940 * 941 * <code>optional string self_link = 456214797;</code> 942 * 943 * @return The bytes for selfLink. 944 */ getSelfLinkBytes()945 com.google.protobuf.ByteString getSelfLinkBytes(); 946 947 /** 948 * 949 * 950 * <pre> 951 * Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive. 952 * </pre> 953 * 954 * <code>optional int64 size_gb = 494929369;</code> 955 * 956 * @return Whether the sizeGb field is set. 957 */ hasSizeGb()958 boolean hasSizeGb(); 959 /** 960 * 961 * 962 * <pre> 963 * Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive. 964 * </pre> 965 * 966 * <code>optional int64 size_gb = 494929369;</code> 967 * 968 * @return The sizeGb. 969 */ getSizeGb()970 long getSizeGb(); 971 972 /** 973 * 974 * 975 * <pre> 976 * The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk 977 * </pre> 978 * 979 * <code>optional string source_disk = 451753793;</code> 980 * 981 * @return Whether the sourceDisk field is set. 982 */ hasSourceDisk()983 boolean hasSourceDisk(); 984 /** 985 * 986 * 987 * <pre> 988 * The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk 989 * </pre> 990 * 991 * <code>optional string source_disk = 451753793;</code> 992 * 993 * @return The sourceDisk. 994 */ getSourceDisk()995 java.lang.String getSourceDisk(); 996 /** 997 * 998 * 999 * <pre> 1000 * The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk 1001 * </pre> 1002 * 1003 * <code>optional string source_disk = 451753793;</code> 1004 * 1005 * @return The bytes for sourceDisk. 1006 */ getSourceDiskBytes()1007 com.google.protobuf.ByteString getSourceDiskBytes(); 1008 1009 /** 1010 * 1011 * 1012 * <pre> 1013 * [Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used. 1014 * </pre> 1015 * 1016 * <code>optional string source_disk_id = 454190809;</code> 1017 * 1018 * @return Whether the sourceDiskId field is set. 1019 */ hasSourceDiskId()1020 boolean hasSourceDiskId(); 1021 /** 1022 * 1023 * 1024 * <pre> 1025 * [Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used. 1026 * </pre> 1027 * 1028 * <code>optional string source_disk_id = 454190809;</code> 1029 * 1030 * @return The sourceDiskId. 1031 */ getSourceDiskId()1032 java.lang.String getSourceDiskId(); 1033 /** 1034 * 1035 * 1036 * <pre> 1037 * [Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used. 1038 * </pre> 1039 * 1040 * <code>optional string source_disk_id = 454190809;</code> 1041 * 1042 * @return The bytes for sourceDiskId. 1043 */ getSourceDiskIdBytes()1044 com.google.protobuf.ByteString getSourceDiskIdBytes(); 1045 1046 /** 1047 * 1048 * 1049 * <pre> 1050 * The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family 1051 * </pre> 1052 * 1053 * <code>optional string source_image = 50443319;</code> 1054 * 1055 * @return Whether the sourceImage field is set. 1056 */ hasSourceImage()1057 boolean hasSourceImage(); 1058 /** 1059 * 1060 * 1061 * <pre> 1062 * The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family 1063 * </pre> 1064 * 1065 * <code>optional string source_image = 50443319;</code> 1066 * 1067 * @return The sourceImage. 1068 */ getSourceImage()1069 java.lang.String getSourceImage(); 1070 /** 1071 * 1072 * 1073 * <pre> 1074 * The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family 1075 * </pre> 1076 * 1077 * <code>optional string source_image = 50443319;</code> 1078 * 1079 * @return The bytes for sourceImage. 1080 */ getSourceImageBytes()1081 com.google.protobuf.ByteString getSourceImageBytes(); 1082 1083 /** 1084 * 1085 * 1086 * <pre> 1087 * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. 1088 * </pre> 1089 * 1090 * <code> 1091 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659; 1092 * </code> 1093 * 1094 * @return Whether the sourceImageEncryptionKey field is set. 1095 */ hasSourceImageEncryptionKey()1096 boolean hasSourceImageEncryptionKey(); 1097 /** 1098 * 1099 * 1100 * <pre> 1101 * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. 1102 * </pre> 1103 * 1104 * <code> 1105 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659; 1106 * </code> 1107 * 1108 * @return The sourceImageEncryptionKey. 1109 */ getSourceImageEncryptionKey()1110 com.google.cloud.compute.v1.CustomerEncryptionKey getSourceImageEncryptionKey(); 1111 /** 1112 * 1113 * 1114 * <pre> 1115 * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. 1116 * </pre> 1117 * 1118 * <code> 1119 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659; 1120 * </code> 1121 */ getSourceImageEncryptionKeyOrBuilder()1122 com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceImageEncryptionKeyOrBuilder(); 1123 1124 /** 1125 * 1126 * 1127 * <pre> 1128 * [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. 1129 * </pre> 1130 * 1131 * <code>optional string source_image_id = 55328291;</code> 1132 * 1133 * @return Whether the sourceImageId field is set. 1134 */ hasSourceImageId()1135 boolean hasSourceImageId(); 1136 /** 1137 * 1138 * 1139 * <pre> 1140 * [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. 1141 * </pre> 1142 * 1143 * <code>optional string source_image_id = 55328291;</code> 1144 * 1145 * @return The sourceImageId. 1146 */ getSourceImageId()1147 java.lang.String getSourceImageId(); 1148 /** 1149 * 1150 * 1151 * <pre> 1152 * [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. 1153 * </pre> 1154 * 1155 * <code>optional string source_image_id = 55328291;</code> 1156 * 1157 * @return The bytes for sourceImageId. 1158 */ getSourceImageIdBytes()1159 com.google.protobuf.ByteString getSourceImageIdBytes(); 1160 1161 /** 1162 * 1163 * 1164 * <pre> 1165 * The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot 1166 * </pre> 1167 * 1168 * <code>optional string source_snapshot = 126061928;</code> 1169 * 1170 * @return Whether the sourceSnapshot field is set. 1171 */ hasSourceSnapshot()1172 boolean hasSourceSnapshot(); 1173 /** 1174 * 1175 * 1176 * <pre> 1177 * The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot 1178 * </pre> 1179 * 1180 * <code>optional string source_snapshot = 126061928;</code> 1181 * 1182 * @return The sourceSnapshot. 1183 */ getSourceSnapshot()1184 java.lang.String getSourceSnapshot(); 1185 /** 1186 * 1187 * 1188 * <pre> 1189 * The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot 1190 * </pre> 1191 * 1192 * <code>optional string source_snapshot = 126061928;</code> 1193 * 1194 * @return The bytes for sourceSnapshot. 1195 */ getSourceSnapshotBytes()1196 com.google.protobuf.ByteString getSourceSnapshotBytes(); 1197 1198 /** 1199 * 1200 * 1201 * <pre> 1202 * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. 1203 * </pre> 1204 * 1205 * <code> 1206 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322; 1207 * </code> 1208 * 1209 * @return Whether the sourceSnapshotEncryptionKey field is set. 1210 */ hasSourceSnapshotEncryptionKey()1211 boolean hasSourceSnapshotEncryptionKey(); 1212 /** 1213 * 1214 * 1215 * <pre> 1216 * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. 1217 * </pre> 1218 * 1219 * <code> 1220 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322; 1221 * </code> 1222 * 1223 * @return The sourceSnapshotEncryptionKey. 1224 */ getSourceSnapshotEncryptionKey()1225 com.google.cloud.compute.v1.CustomerEncryptionKey getSourceSnapshotEncryptionKey(); 1226 /** 1227 * 1228 * 1229 * <pre> 1230 * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. 1231 * </pre> 1232 * 1233 * <code> 1234 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322; 1235 * </code> 1236 */ 1237 com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceSnapshotEncryptionKeyOrBuilder()1238 getSourceSnapshotEncryptionKeyOrBuilder(); 1239 1240 /** 1241 * 1242 * 1243 * <pre> 1244 * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. 1245 * </pre> 1246 * 1247 * <code>optional string source_snapshot_id = 98962258;</code> 1248 * 1249 * @return Whether the sourceSnapshotId field is set. 1250 */ hasSourceSnapshotId()1251 boolean hasSourceSnapshotId(); 1252 /** 1253 * 1254 * 1255 * <pre> 1256 * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. 1257 * </pre> 1258 * 1259 * <code>optional string source_snapshot_id = 98962258;</code> 1260 * 1261 * @return The sourceSnapshotId. 1262 */ getSourceSnapshotId()1263 java.lang.String getSourceSnapshotId(); 1264 /** 1265 * 1266 * 1267 * <pre> 1268 * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. 1269 * </pre> 1270 * 1271 * <code>optional string source_snapshot_id = 98962258;</code> 1272 * 1273 * @return The bytes for sourceSnapshotId. 1274 */ getSourceSnapshotIdBytes()1275 com.google.protobuf.ByteString getSourceSnapshotIdBytes(); 1276 1277 /** 1278 * 1279 * 1280 * <pre> 1281 * The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead. 1282 * </pre> 1283 * 1284 * <code>optional string source_storage_object = 233052711;</code> 1285 * 1286 * @return Whether the sourceStorageObject field is set. 1287 */ hasSourceStorageObject()1288 boolean hasSourceStorageObject(); 1289 /** 1290 * 1291 * 1292 * <pre> 1293 * The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead. 1294 * </pre> 1295 * 1296 * <code>optional string source_storage_object = 233052711;</code> 1297 * 1298 * @return The sourceStorageObject. 1299 */ getSourceStorageObject()1300 java.lang.String getSourceStorageObject(); 1301 /** 1302 * 1303 * 1304 * <pre> 1305 * The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead. 1306 * </pre> 1307 * 1308 * <code>optional string source_storage_object = 233052711;</code> 1309 * 1310 * @return The bytes for sourceStorageObject. 1311 */ getSourceStorageObjectBytes()1312 com.google.protobuf.ByteString getSourceStorageObjectBytes(); 1313 1314 /** 1315 * 1316 * 1317 * <pre> 1318 * [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. 1319 * Check the Status enum for the list of possible values. 1320 * </pre> 1321 * 1322 * <code>optional string status = 181260274;</code> 1323 * 1324 * @return Whether the status field is set. 1325 */ hasStatus()1326 boolean hasStatus(); 1327 /** 1328 * 1329 * 1330 * <pre> 1331 * [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. 1332 * Check the Status enum for the list of possible values. 1333 * </pre> 1334 * 1335 * <code>optional string status = 181260274;</code> 1336 * 1337 * @return The status. 1338 */ getStatus()1339 java.lang.String getStatus(); 1340 /** 1341 * 1342 * 1343 * <pre> 1344 * [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. 1345 * Check the Status enum for the list of possible values. 1346 * </pre> 1347 * 1348 * <code>optional string status = 181260274;</code> 1349 * 1350 * @return The bytes for status. 1351 */ getStatusBytes()1352 com.google.protobuf.ByteString getStatusBytes(); 1353 1354 /** 1355 * 1356 * 1357 * <pre> 1358 * URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. 1359 * </pre> 1360 * 1361 * <code>optional string type = 3575610;</code> 1362 * 1363 * @return Whether the type field is set. 1364 */ hasType()1365 boolean hasType(); 1366 /** 1367 * 1368 * 1369 * <pre> 1370 * URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. 1371 * </pre> 1372 * 1373 * <code>optional string type = 3575610;</code> 1374 * 1375 * @return The type. 1376 */ getType()1377 java.lang.String getType(); 1378 /** 1379 * 1380 * 1381 * <pre> 1382 * URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. 1383 * </pre> 1384 * 1385 * <code>optional string type = 3575610;</code> 1386 * 1387 * @return The bytes for type. 1388 */ getTypeBytes()1389 com.google.protobuf.ByteString getTypeBytes(); 1390 1391 /** 1392 * 1393 * 1394 * <pre> 1395 * [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance 1396 * </pre> 1397 * 1398 * <code>repeated string users = 111578632;</code> 1399 * 1400 * @return A list containing the users. 1401 */ getUsersList()1402 java.util.List<java.lang.String> getUsersList(); 1403 /** 1404 * 1405 * 1406 * <pre> 1407 * [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance 1408 * </pre> 1409 * 1410 * <code>repeated string users = 111578632;</code> 1411 * 1412 * @return The count of users. 1413 */ getUsersCount()1414 int getUsersCount(); 1415 /** 1416 * 1417 * 1418 * <pre> 1419 * [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance 1420 * </pre> 1421 * 1422 * <code>repeated string users = 111578632;</code> 1423 * 1424 * @param index The index of the element to return. 1425 * @return The users at the given index. 1426 */ getUsers(int index)1427 java.lang.String getUsers(int index); 1428 /** 1429 * 1430 * 1431 * <pre> 1432 * [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance 1433 * </pre> 1434 * 1435 * <code>repeated string users = 111578632;</code> 1436 * 1437 * @param index The index of the value to return. 1438 * @return The bytes of the users at the given index. 1439 */ getUsersBytes(int index)1440 com.google.protobuf.ByteString getUsersBytes(int index); 1441 1442 /** 1443 * 1444 * 1445 * <pre> 1446 * [Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1447 * </pre> 1448 * 1449 * <code>optional string zone = 3744684;</code> 1450 * 1451 * @return Whether the zone field is set. 1452 */ hasZone()1453 boolean hasZone(); 1454 /** 1455 * 1456 * 1457 * <pre> 1458 * [Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1459 * </pre> 1460 * 1461 * <code>optional string zone = 3744684;</code> 1462 * 1463 * @return The zone. 1464 */ getZone()1465 java.lang.String getZone(); 1466 /** 1467 * 1468 * 1469 * <pre> 1470 * [Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1471 * </pre> 1472 * 1473 * <code>optional string zone = 3744684;</code> 1474 * 1475 * @return The bytes for zone. 1476 */ getZoneBytes()1477 com.google.protobuf.ByteString getZoneBytes(); 1478 } 1479