Class Generated.CSIPersistentVolumeSource

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasVolumeHandle

        public boolean hasVolumeHandle()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        hasVolumeHandle in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the volumeHandle field is set.
      • getVolumeHandle

        public String getVolumeHandle()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        getVolumeHandle in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The volumeHandle.
      • getVolumeHandleBytes

        public com.google.protobuf.ByteString getVolumeHandleBytes()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        getVolumeHandleBytes in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for volumeHandle.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • hasFsType

        public boolean hasFsType()
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Specified by:
        hasFsType in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the fsType field is set.
      • getFsTypeBytes

        public com.google.protobuf.ByteString getFsTypeBytes()
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Specified by:
        getFsTypeBytes in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • hasControllerPublishSecretRef

        public boolean hasControllerPublishSecretRef()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        hasControllerPublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the controllerPublishSecretRef field is set.
      • getControllerPublishSecretRef

        public Generated.SecretReference getControllerPublishSecretRef()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        getControllerPublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The controllerPublishSecretRef.
      • getControllerPublishSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getControllerPublishSecretRefOrBuilder()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        getControllerPublishSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodeStageSecretRef

        public boolean hasNodeStageSecretRef()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        hasNodeStageSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodeStageSecretRef field is set.
      • getNodeStageSecretRef

        public Generated.SecretReference getNodeStageSecretRef()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        getNodeStageSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodeStageSecretRef.
      • getNodeStageSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getNodeStageSecretRefOrBuilder()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        getNodeStageSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodePublishSecretRef

        public 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 secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        hasNodePublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodePublishSecretRef field is set.
      • getNodePublishSecretRef

        public Generated.SecretReference 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 secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        getNodePublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodePublishSecretRef.
      • getNodePublishSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder 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 secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        getNodePublishSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasControllerExpandSecretRef

        public boolean hasControllerExpandSecretRef()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        hasControllerExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the controllerExpandSecretRef field is set.
      • getControllerExpandSecretRef

        public Generated.SecretReference getControllerExpandSecretRef()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        getControllerExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The controllerExpandSecretRef.
      • getControllerExpandSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getControllerExpandSecretRefOrBuilder()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        getControllerExpandSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodeExpandSecretRef

        public boolean hasNodeExpandSecretRef()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        hasNodeExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodeExpandSecretRef field is set.
      • getNodeExpandSecretRef

        public Generated.SecretReference getNodeExpandSecretRef()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        getNodeExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodeExpandSecretRef.
      • getNodeExpandSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getNodeExpandSecretRefOrBuilder()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        getNodeExpandSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.CSIPersistentVolumeSource parseFrom​(ByteBuffer data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.CSIPersistentVolumeSource parseFrom​(com.google.protobuf.ByteString data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.CSIPersistentVolumeSource parseFrom​(com.google.protobuf.ByteString data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.CSIPersistentVolumeSource parseFrom​(byte[] data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.CSIPersistentVolumeSource parseFrom​(byte[] data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Generated.CSIPersistentVolumeSource.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.CSIPersistentVolumeSource.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.CSIPersistentVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder