public static final class Instance.Disk extends GeneratedMessageV3 implements Instance.DiskOrBuilder
   
   An instance-attached disk resource.
 Protobuf type google.cloud.notebooks.v1.Instance.Disk
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  AUTO_DELETE_FIELD_NUMBER
  
    public static final int AUTO_DELETE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  BOOT_FIELD_NUMBER
  
    public static final int BOOT_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DEVICE_NAME_FIELD_NUMBER
  
    public static final int DEVICE_NAME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DISK_SIZE_GB_FIELD_NUMBER
  
    public static final int DISK_SIZE_GB_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  GUEST_OS_FEATURES_FIELD_NUMBER
  
    public static final int GUEST_OS_FEATURES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  INDEX_FIELD_NUMBER
  
    public static final int INDEX_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  INTERFACE_FIELD_NUMBER
  
    public static final int INTERFACE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  KIND_FIELD_NUMBER
  
    public static final int KIND_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  LICENSES_FIELD_NUMBER
  
    public static final int LICENSES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  MODE_FIELD_NUMBER
  
    public static final int MODE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  SOURCE_FIELD_NUMBER
  
    public static final int SOURCE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  TYPE_FIELD_NUMBER
  
    public static final int TYPE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static Instance.Disk getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static Instance.Disk.Builder newBuilder()
   
  
  
  newBuilder(Instance.Disk prototype)
  
    public static Instance.Disk.Builder newBuilder(Instance.Disk prototype)
   
  
  
  
  
  
    public static Instance.Disk parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static Instance.Disk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static Instance.Disk parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Instance.Disk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static Instance.Disk parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Instance.Disk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Instance.Disk parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static Instance.Disk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Instance.Disk parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static Instance.Disk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static Instance.Disk parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Instance.Disk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<Instance.Disk> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getAutoDelete()
  
    public boolean getAutoDelete()
   
   Indicates whether the disk will be auto-deleted when the instance is
 deleted (but not when the disk is detached from the instance).
 bool auto_delete = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | The autoDelete. | 
    
  
  
  getBoot()
  
   Indicates that this is a boot disk. The virtual machine will use the
 first partition of the disk for its root filesystem.
 bool boot = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | The boot. | 
    
  
  
  getDefaultInstanceForType()
  
    public Instance.Disk getDefaultInstanceForType()
   
  
  
  getDeviceName()
  
    public String getDeviceName()
   
   Indicates a unique device name of your choice that is reflected into the
 /dev/disk/by-id/google-* tree of a Linux operating system running
 within the instance. This name can be used to reference the device for
 mounting, resizing, and so on, from within the instance.
 If not specified, the server chooses a default device name to apply to
 this disk, in the form persistent-disk-x, where x is a number assigned by
 Google Compute Engine.This field is only applicable for persistent disks.
 string device_name = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The deviceName. | 
    
  
  
  getDeviceNameBytes()
  
    public ByteString getDeviceNameBytes()
   
   Indicates a unique device name of your choice that is reflected into the
 /dev/disk/by-id/google-* tree of a Linux operating system running
 within the instance. This name can be used to reference the device for
 mounting, resizing, and so on, from within the instance.
 If not specified, the server chooses a default device name to apply to
 this disk, in the form persistent-disk-x, where x is a number assigned by
 Google Compute Engine.This field is only applicable for persistent disks.
 string device_name = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for deviceName. | 
    
  
  
  getDiskSizeGb()
  
    public long getDiskSizeGb()
   
   Indicates the size of the disk in base-2 GB.
 int64 disk_size_gb = 4;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | long | The diskSizeGb. | 
    
  
  
  getGuestOsFeatures(int index)
  
    public Instance.Disk.GuestOsFeature getGuestOsFeatures(int index)
   
   Indicates 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.
 repeated .google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature guest_os_features = 5;
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getGuestOsFeaturesCount()
  
    public int getGuestOsFeaturesCount()
   
   Indicates 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.
 repeated .google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature guest_os_features = 5;
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getGuestOsFeaturesList()
  
    public List<Instance.Disk.GuestOsFeature> getGuestOsFeaturesList()
   
   Indicates 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.
 repeated .google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature guest_os_features = 5;
 
getGuestOsFeaturesOrBuilder(int index)
  
    public Instance.Disk.GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index)
   
   Indicates 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.
 repeated .google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature guest_os_features = 5;
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getGuestOsFeaturesOrBuilderList()
  
    public List<? extends Instance.Disk.GuestOsFeatureOrBuilder> getGuestOsFeaturesOrBuilderList()
   
   Indicates 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.
 repeated .google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature guest_os_features = 5;
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.notebooks.v1.Instance.Disk.GuestOsFeatureOrBuilder> |  | 
    
  
  
  getIndex()
  
   A zero-based index to this disk, where 0 is reserved for the
 boot disk. If you have many disks attached to an instance, each disk
 would have a unique index number.
 int64 index = 6;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | long | The index. | 
    
  
  
  getInterface()
  
    public String getInterface()
   
   Indicates the disk interface to use for attaching this disk, which is
 either SCSI or NVME. The default is SCSI. Persistent disks must always
 use SCSI and the request will fail if you attempt to attach a persistent
 disk in any other format than SCSI. Local SSDs can use either NVME or
 SCSI. For performance characteristics of SCSI over NVMe, see Local SSD
 performance.
 Valid values:
 string interface = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The interface. | 
    
  
  
  getInterfaceBytes()
  
    public ByteString getInterfaceBytes()
   
   Indicates the disk interface to use for attaching this disk, which is
 either SCSI or NVME. The default is SCSI. Persistent disks must always
 use SCSI and the request will fail if you attempt to attach a persistent
 disk in any other format than SCSI. Local SSDs can use either NVME or
 SCSI. For performance characteristics of SCSI over NVMe, see Local SSD
 performance.
 Valid values:
 string interface = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for interface. | 
    
  
  
  getKind()
  
   Type of the resource. Always compute#attachedDisk for attached
 disks.
 string kind = 8;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The kind. | 
    
  
  
  getKindBytes()
  
    public ByteString getKindBytes()
   
   Type of the resource. Always compute#attachedDisk for attached
 disks.
 string kind = 8;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for kind. | 
    
  
  
  getLicenses(int index)
  
    public String getLicenses(int index)
   
   A list of publicly visible licenses. Reserved for Google's use.
 A License represents billing and aggregate usage data for public
 and marketplace images.
 repeated string licenses = 9;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The licenses at the given index. | 
    
  
  
  getLicensesBytes(int index)
  
    public ByteString getLicensesBytes(int index)
   
   A list of publicly visible licenses. Reserved for Google's use.
 A License represents billing and aggregate usage data for public
 and marketplace images.
 repeated string licenses = 9;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the licenses at the given index. | 
    
  
  
  getLicensesCount()
  
    public int getLicensesCount()
   
   A list of publicly visible licenses. Reserved for Google's use.
 A License represents billing and aggregate usage data for public
 and marketplace images.
 repeated string licenses = 9;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of licenses. | 
    
  
  
  getLicensesList()
  
    public ProtocolStringList getLicensesList()
   
   A list of publicly visible licenses. Reserved for Google's use.
 A License represents billing and aggregate usage data for public
 and marketplace images.
 repeated string licenses = 9;
getMode()
  
   The mode in which to attach this disk, either READ_WRITE or
 READ_ONLY. If not specified, the default is to attach the disk in
 READ_WRITE mode. Valid values:
 string mode = 10;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The mode. | 
    
  
  
  getModeBytes()
  
    public ByteString getModeBytes()
   
   The mode in which to attach this disk, either READ_WRITE or
 READ_ONLY. If not specified, the default is to attach the disk in
 READ_WRITE mode. Valid values:
 string mode = 10;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for mode. | 
    
  
  
  getParserForType()
  
    public Parser<Instance.Disk> getParserForType()
   
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getSource()
  
    public String getSource()
   
   Indicates a valid partial or full URL to an existing Persistent Disk
 resource.
 string source = 11;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The source. | 
    
  
  
  getSourceBytes()
  
    public ByteString getSourceBytes()
   
   Indicates a valid partial or full URL to an existing Persistent Disk
 resource.
 string source = 11;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for source. | 
    
  
  
  getType()
  
   Indicates the type of the disk, either SCRATCH or PERSISTENT.
 Valid values:
 string type = 12;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The type. | 
    
  
  
  getTypeBytes()
  
    public ByteString getTypeBytes()
   
   Indicates the type of the disk, either SCRATCH or PERSISTENT.
 Valid values:
 string type = 12;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for type. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public Instance.Disk.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Instance.Disk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public Instance.Disk.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides