Interface Generated.GCEPersistentDiskVolumeSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFsType()
      fsType is filesystem type of the volume that you want to mount.
      com.google.protobuf.ByteString getFsTypeBytes()
      fsType is filesystem type of the volume that you want to mount.
      int getPartition()
      partition is the partition in the volume that you want to mount.
      String getPdName()
      pdName is unique name of the PD resource in GCE.
      com.google.protobuf.ByteString getPdNameBytes()
      pdName is unique name of the PD resource in GCE.
      boolean getReadOnly()
      readOnly here will force the ReadOnly setting in VolumeMounts.
      boolean hasFsType()
      fsType is filesystem type of the volume that you want to mount.
      boolean hasPartition()
      partition is the partition in the volume that you want to mount.
      boolean hasPdName()
      pdName is unique name of the PD resource in GCE.
      boolean hasReadOnly()
      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 Detail

      • hasPdName

        boolean hasPdName()
         pdName is 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;
        Returns:
        Whether the pdName field is set.
      • getPdName

        String getPdName()
         pdName is 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;
        Returns:
        The pdName.
      • getPdNameBytes

        com.google.protobuf.ByteString getPdNameBytes()
         pdName is 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;
        Returns:
        The bytes for pdName.
      • hasFsType

        boolean hasFsType()
         fsType is 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;
        Returns:
        Whether the fsType field is set.
      • getFsType

        String getFsType()
         fsType is 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;
        Returns:
        The fsType.
      • getFsTypeBytes

        com.google.protobuf.ByteString getFsTypeBytes()
         fsType is 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;
        Returns:
        The bytes for fsType.
      • hasPartition

        boolean hasPartition()
         partition is 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;
        Returns:
        Whether the partition field is set.
      • getPartition

        int getPartition()
         partition is 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;
        Returns:
        The partition.
      • 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;
        Returns:
        Whether the readOnly field is set.
      • 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;
        Returns:
        The readOnly.