Interface V1.GCEPersistentDiskVolumeSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.GCEPersistentDiskVolumeSource, V1.GCEPersistentDiskVolumeSource.Builder
Enclosing class:
V1

public static interface V1.GCEPersistentDiskVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Filesystem type of the volume that you want to mount.
    com.google.protobuf.ByteString
    Filesystem type of the volume that you want to mount.
    int
    The partition in the volume that you want to mount.
    Unique name of the PD resource in GCE.
    com.google.protobuf.ByteString
    Unique name of the PD resource in GCE.
    boolean
    ReadOnly here will force the ReadOnly setting in VolumeMounts.
    boolean
    Filesystem type of the volume that you want to mount.
    boolean
    The partition in the volume that you want to mount.
    boolean
    Unique name of the PD resource in GCE.
    boolean
    ReadOnly here will force the ReadOnly setting in VolumeMounts.

    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

    • hasPdName

      boolean hasPdName()
       Unique name of the PD resource in GCE. Used to identify the disk in GCE.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       
      optional string pdName = 1;
    • getPdName

      String getPdName()
       Unique name of the PD resource in GCE. Used to identify the disk in GCE.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       
      optional string pdName = 1;
    • getPdNameBytes

      com.google.protobuf.ByteString getPdNameBytes()
       Unique name of the PD resource in GCE. Used to identify the disk in GCE.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       
      optional string pdName = 1;
    • hasFsType

      boolean hasFsType()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 2;
    • getFsType

      String getFsType()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 2;
    • getFsTypeBytes

      com.google.protobuf.ByteString getFsTypeBytes()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 2;
    • hasPartition

      boolean hasPartition()
       The partition in the volume that you want to mount.
       If omitted, the default is to mount by volume name.
       Examples: For volume /dev/sda1, you specify the partition as "1".
       Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional int32 partition = 3;
    • getPartition

      int getPartition()
       The partition in the volume that you want to mount.
       If omitted, the default is to mount by volume name.
       Examples: For volume /dev/sda1, you specify the partition as "1".
       Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional int32 partition = 3;
    • hasReadOnly

      boolean hasReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional bool readOnly = 4;
    • getReadOnly

      boolean getReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional bool readOnly = 4;