Interface PDOrBuilder

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

    public interface PDOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getDevice()
      PD device name, e.g.
      com.google.protobuf.ByteString getDeviceBytes()
      PD device name, e.g.
      String getDisk()
      PD disk name, e.g.
      com.google.protobuf.ByteString getDiskBytes()
      PD disk name, e.g.
      boolean getExisting()
      Deprecated.
      google.cloud.batch.v1alpha.PD.existing is deprecated.
      • 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 Detail

      • getDisk

        String getDisk()
         PD disk name, e.g. pd-1.
         
        string disk = 1;
        Returns:
        The disk.
      • getDiskBytes

        com.google.protobuf.ByteString getDiskBytes()
         PD disk name, e.g. pd-1.
         
        string disk = 1;
        Returns:
        The bytes for disk.
      • getDevice

        String getDevice()
         PD device name, e.g. persistent-disk-1.
         
        string device = 2;
        Returns:
        The device.
      • getDeviceBytes

        com.google.protobuf.ByteString getDeviceBytes()
         PD device name, e.g. persistent-disk-1.
         
        string device = 2;
        Returns:
        The bytes for device.
      • getExisting

        @Deprecated
        boolean getExisting()
        Deprecated.
        google.cloud.batch.v1alpha.PD.existing is deprecated. See google/cloud/batch/v1alpha/volume.proto;l=85
         Whether this is an existing PD. Default is false. If false, i.e., new
         PD, we will format it into ext4 and mount to the given path. If true, i.e.,
         existing PD, it should be in ext4 format and we will mount it to the given
         path.
         
        bool existing = 3 [deprecated = true];
        Returns:
        The existing.