Interface AttachedDiskOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AttachedDisk, AttachedDisk.Builder

@Generated public interface AttachedDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The mode in which to attach this disk.
    int
    The mode in which to attach this disk.
    Specifies the full path to an existing disk.
    com.google.protobuf.ByteString
    Specifies the full path to an existing disk.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSourceDisk

      String getSourceDisk()
       Specifies the full path to an existing disk.
       For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
       
      string source_disk = 3;
      Returns:
      The sourceDisk.
    • getSourceDiskBytes

      com.google.protobuf.ByteString getSourceDiskBytes()
       Specifies the full path to an existing disk.
       For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
       
      string source_disk = 3;
      Returns:
      The bytes for sourceDisk.
    • getModeValue

      int getModeValue()
       The mode in which to attach this disk.
       If not specified, the default is READ_WRITE mode.
       Only applicable to data_disks.
       
      .google.cloud.tpu.v2.AttachedDisk.DiskMode mode = 4;
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

       The mode in which to attach this disk.
       If not specified, the default is READ_WRITE mode.
       Only applicable to data_disks.
       
      .google.cloud.tpu.v2.AttachedDisk.DiskMode mode = 4;
      Returns:
      The mode.