Interface Generated.FlexPersistentVolumeSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsOptions​(String key)
      options is Optional: this field holds extra command options if any.
      String getDriver()
      driver is the name of the driver to use for this volume.
      com.google.protobuf.ByteString getDriverBytes()
      driver is the name of the driver to use for this volume.
      String getFsType()
      fsType is the Filesystem type to mount.
      com.google.protobuf.ByteString getFsTypeBytes()
      fsType is the Filesystem type to mount.
      Map<String,​String> getOptions()
      Deprecated.
      int getOptionsCount()
      options is Optional: this field holds extra command options if any.
      Map<String,​String> getOptionsMap()
      options is Optional: this field holds extra command options if any.
      String getOptionsOrDefault​(String key, String defaultValue)
      options is Optional: this field holds extra command options if any.
      String getOptionsOrThrow​(String key)
      options is Optional: this field holds extra command options if any.
      boolean getReadOnly()
      readOnly is Optional: defaults to false (read/write).
      Generated.SecretReference getSecretRef()
      secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
      Generated.SecretReferenceOrBuilder getSecretRefOrBuilder()
      secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
      boolean hasDriver()
      driver is the name of the driver to use for this volume.
      boolean hasFsType()
      fsType is the Filesystem type to mount.
      boolean hasReadOnly()
      readOnly is Optional: defaults to false (read/write).
      boolean hasSecretRef()
      secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
      • 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 driver to use for this volume.
         
        optional string driver = 1;
        Returns:
        Whether the driver field is set.
      • getDriver

        String getDriver()
         driver is the name of the driver to use for this volume.
         
        optional string driver = 1;
        Returns:
        The driver.
      • getDriverBytes

        com.google.protobuf.ByteString getDriverBytes()
         driver is the name of the driver to use for this volume.
         
        optional string driver = 1;
        Returns:
        The bytes for driver.
      • hasFsType

        boolean hasFsType()
         fsType is the Filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Returns:
        Whether the fsType field is set.
      • getFsType

        String getFsType()
         fsType is the Filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Returns:
        The fsType.
      • getFsTypeBytes

        com.google.protobuf.ByteString getFsTypeBytes()
         fsType is the Filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Returns:
        The bytes for fsType.
      • hasSecretRef

        boolean hasSecretRef()
         secretRef is Optional: SecretRef is reference to the secret object containing
         sensitive information to pass to the plugin scripts. This may be
         empty if no secret object is specified. If the secret object
         contains more than one secret, all secrets are passed to the plugin
         scripts.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference secretRef = 3;
        Returns:
        Whether the secretRef field is set.
      • getSecretRef

        Generated.SecretReference getSecretRef()
         secretRef is Optional: SecretRef is reference to the secret object containing
         sensitive information to pass to the plugin scripts. This may be
         empty if no secret object is specified. If the secret object
         contains more than one secret, all secrets are passed to the plugin
         scripts.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference secretRef = 3;
        Returns:
        The secretRef.
      • getSecretRefOrBuilder

        Generated.SecretReferenceOrBuilder getSecretRefOrBuilder()
         secretRef is Optional: SecretRef is reference to the secret object containing
         sensitive information to pass to the plugin scripts. This may be
         empty if no secret object is specified. If the secret object
         contains more than one secret, all secrets are passed to the plugin
         scripts.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference secretRef = 3;
      • hasReadOnly

        boolean hasReadOnly()
         readOnly is Optional: defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 4;
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        boolean getReadOnly()
         readOnly is Optional: defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 4;
        Returns:
        The readOnly.
      • getOptionsCount

        int getOptionsCount()
         options is Optional: this field holds extra command options if any.
         +optional
         
        map<string, string> options = 5;
      • containsOptions

        boolean containsOptions​(String key)
         options is Optional: this field holds extra command options if any.
         +optional
         
        map<string, string> options = 5;
      • getOptionsMap

        Map<String,​String> getOptionsMap()
         options is Optional: this field holds extra command options if any.
         +optional
         
        map<string, string> options = 5;
      • getOptionsOrDefault

        String getOptionsOrDefault​(String key,
                                   String defaultValue)
         options is Optional: this field holds extra command options if any.
         +optional
         
        map<string, string> options = 5;
      • getOptionsOrThrow

        String getOptionsOrThrow​(String key)
         options is Optional: this field holds extra command options if any.
         +optional
         
        map<string, string> options = 5;