Interface Generated.CSIVolumeSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsVolumeAttributes​(String key)
      volumeAttributes stores driver-specific properties that are passed to the CSI driver.
      String getDriver()
      driver is the name of the CSI driver that handles this volume.
      com.google.protobuf.ByteString getDriverBytes()
      driver is the name of the CSI driver that handles this volume.
      String getFsType()
      fsType to mount.
      com.google.protobuf.ByteString getFsTypeBytes()
      fsType to mount.
      Generated.LocalObjectReference getNodePublishSecretRef()
      nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.
      Generated.LocalObjectReferenceOrBuilder getNodePublishSecretRefOrBuilder()
      nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.
      boolean getReadOnly()
      readOnly specifies a read-only configuration for the volume.
      Map<String,​String> getVolumeAttributes()
      Deprecated.
      int getVolumeAttributesCount()
      volumeAttributes stores driver-specific properties that are passed to the CSI driver.
      Map<String,​String> getVolumeAttributesMap()
      volumeAttributes stores driver-specific properties that are passed to the CSI driver.
      String getVolumeAttributesOrDefault​(String key, String defaultValue)
      volumeAttributes stores driver-specific properties that are passed to the CSI driver.
      String getVolumeAttributesOrThrow​(String key)
      volumeAttributes stores driver-specific properties that are passed to the CSI driver.
      boolean hasDriver()
      driver is the name of the CSI driver that handles this volume.
      boolean hasFsType()
      fsType to mount.
      boolean hasNodePublishSecretRef()
      nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.
      boolean hasReadOnly()
      readOnly specifies a read-only configuration for the volume.
      • 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

      • hasDriver

        boolean hasDriver()
         driver is the name of the CSI driver that handles this volume.
         Consult with your admin for the correct name as registered in the cluster.
         
        optional string driver = 1;
        Returns:
        Whether the driver field is set.
      • getDriver

        String getDriver()
         driver is the name of the CSI driver that handles this volume.
         Consult with your admin for the correct name as registered in the cluster.
         
        optional string driver = 1;
        Returns:
        The driver.
      • getDriverBytes

        com.google.protobuf.ByteString getDriverBytes()
         driver is the name of the CSI driver that handles this volume.
         Consult with your admin for the correct name as registered in the cluster.
         
        optional string driver = 1;
        Returns:
        The bytes for driver.
      • hasReadOnly

        boolean hasReadOnly()
         readOnly specifies a read-only configuration for the volume.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 2;
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        boolean getReadOnly()
         readOnly specifies a read-only configuration for the volume.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 2;
        Returns:
        The readOnly.
      • hasFsType

        boolean hasFsType()
         fsType to mount. Ex. "ext4", "xfs", "ntfs".
         If not provided, the empty value is passed to the associated CSI driver
         which will determine the default filesystem to apply.
         +optional
         
        optional string fsType = 3;
        Returns:
        Whether the fsType field is set.
      • getFsType

        String getFsType()
         fsType to mount. Ex. "ext4", "xfs", "ntfs".
         If not provided, the empty value is passed to the associated CSI driver
         which will determine the default filesystem to apply.
         +optional
         
        optional string fsType = 3;
        Returns:
        The fsType.
      • getFsTypeBytes

        com.google.protobuf.ByteString getFsTypeBytes()
         fsType to mount. Ex. "ext4", "xfs", "ntfs".
         If not provided, the empty value is passed to the associated CSI driver
         which will determine the default filesystem to apply.
         +optional
         
        optional string fsType = 3;
        Returns:
        The bytes for fsType.
      • getVolumeAttributesCount

        int getVolumeAttributesCount()
         volumeAttributes stores driver-specific properties that are passed to the CSI
         driver. Consult your driver's documentation for supported values.
         +optional
         
        map<string, string> volumeAttributes = 4;
      • containsVolumeAttributes

        boolean containsVolumeAttributes​(String key)
         volumeAttributes stores driver-specific properties that are passed to the CSI
         driver. Consult your driver's documentation for supported values.
         +optional
         
        map<string, string> volumeAttributes = 4;
      • getVolumeAttributesMap

        Map<String,​String> getVolumeAttributesMap()
         volumeAttributes stores driver-specific properties that are passed to the CSI
         driver. Consult your driver's documentation for supported values.
         +optional
         
        map<string, string> volumeAttributes = 4;
      • getVolumeAttributesOrDefault

        String getVolumeAttributesOrDefault​(String key,
                                            String defaultValue)
         volumeAttributes stores driver-specific properties that are passed to the CSI
         driver. Consult your driver's documentation for supported values.
         +optional
         
        map<string, string> volumeAttributes = 4;
      • getVolumeAttributesOrThrow

        String getVolumeAttributesOrThrow​(String key)
         volumeAttributes stores driver-specific properties that are passed to the CSI
         driver. Consult your driver's documentation for supported values.
         +optional
         
        map<string, string> volumeAttributes = 4;
      • hasNodePublishSecretRef

        boolean hasNodePublishSecretRef()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and  may be empty if no secret is required. If the
         secret object contains more than one secret, all secret references are passed.
         +optional
         
        optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
        Returns:
        Whether the nodePublishSecretRef field is set.
      • getNodePublishSecretRef

        Generated.LocalObjectReference getNodePublishSecretRef()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and  may be empty if no secret is required. If the
         secret object contains more than one secret, all secret references are passed.
         +optional
         
        optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
        Returns:
        The nodePublishSecretRef.
      • getNodePublishSecretRefOrBuilder

        Generated.LocalObjectReferenceOrBuilder getNodePublishSecretRefOrBuilder()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and  may be empty if no secret is required. If the
         secret object contains more than one secret, all secret references are passed.
         +optional
         
        optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;