Interface WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WorkstationConfig.EphemeralDirectory.GcePersistentDisk, WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder
Enclosing class:
WorkstationConfig.EphemeralDirectory

public static interface WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    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

    • getDiskType

      String getDiskType()
       Optional. Type of the disk to use. Defaults to `"pd-standard"`.
       
      string disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The diskType.
    • getDiskTypeBytes

      com.google.protobuf.ByteString getDiskTypeBytes()
       Optional. Type of the disk to use. Defaults to `"pd-standard"`.
       
      string disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for diskType.
    • getSourceSnapshot

      String getSourceSnapshot()
       Optional. Name of the snapshot to use as the source for the disk. Must
       be empty if
       [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
       is set. Updating
       [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
       will update content in the ephemeral directory after the workstation is
       restarted. This field is mutable.
       
      string source_snapshot = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sourceSnapshot.
    • getSourceSnapshotBytes

      com.google.protobuf.ByteString getSourceSnapshotBytes()
       Optional. Name of the snapshot to use as the source for the disk. Must
       be empty if
       [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
       is set. Updating
       [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
       will update content in the ephemeral directory after the workstation is
       restarted. This field is mutable.
       
      string source_snapshot = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sourceSnapshot.
    • getSourceImage

      String getSourceImage()
       Optional. Name of the disk image to use as the source for the disk.
       Must be empty if
       [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
       is set. Updating
       [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
       will update content in the ephemeral directory after the workstation is
       restarted. This field is mutable.
       
      string source_image = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sourceImage.
    • getSourceImageBytes

      com.google.protobuf.ByteString getSourceImageBytes()
       Optional. Name of the disk image to use as the source for the disk.
       Must be empty if
       [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
       is set. Updating
       [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
       will update content in the ephemeral directory after the workstation is
       restarted. This field is mutable.
       
      string source_image = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sourceImage.
    • getReadOnly

      boolean getReadOnly()
       Optional. Whether the disk is read only. If true, the disk may be
       shared by multiple VMs and
       [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
       must be set.
       
      bool read_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The readOnly.