Class Generated.StorageOSPersistentVolumeSource

    • 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()
      • internalGetFieldAccessorTable

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

        public boolean hasVolumeName()
         volumeName is the human-readable name of the StorageOS volume.  Volume
         names are only unique within a namespace.
         
        optional string volumeName = 1;
        Specified by:
        hasVolumeName in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        Whether the volumeName field is set.
      • getVolumeNameBytes

        public com.google.protobuf.ByteString getVolumeNameBytes()
         volumeName is the human-readable name of the StorageOS volume.  Volume
         names are only unique within a namespace.
         
        optional string volumeName = 1;
        Specified by:
        getVolumeNameBytes in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for volumeName.
      • hasVolumeNamespace

        public boolean hasVolumeNamespace()
         volumeNamespace specifies the scope of the volume within StorageOS.  If no
         namespace is specified then the Pod's namespace will be used.  This allows the
         Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
         Set VolumeName to any name to override the default behaviour.
         Set to "default" if you are not using namespaces within StorageOS.
         Namespaces that do not pre-exist within StorageOS will be created.
         +optional
         
        optional string volumeNamespace = 2;
        Specified by:
        hasVolumeNamespace in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        Whether the volumeNamespace field is set.
      • getVolumeNamespace

        public String getVolumeNamespace()
         volumeNamespace specifies the scope of the volume within StorageOS.  If no
         namespace is specified then the Pod's namespace will be used.  This allows the
         Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
         Set VolumeName to any name to override the default behaviour.
         Set to "default" if you are not using namespaces within StorageOS.
         Namespaces that do not pre-exist within StorageOS will be created.
         +optional
         
        optional string volumeNamespace = 2;
        Specified by:
        getVolumeNamespace in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        The volumeNamespace.
      • getVolumeNamespaceBytes

        public com.google.protobuf.ByteString getVolumeNamespaceBytes()
         volumeNamespace specifies the scope of the volume within StorageOS.  If no
         namespace is specified then the Pod's namespace will be used.  This allows the
         Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
         Set VolumeName to any name to override the default behaviour.
         Set to "default" if you are not using namespaces within StorageOS.
         Namespaces that do not pre-exist within StorageOS will be created.
         +optional
         
        optional string volumeNamespace = 2;
        Specified by:
        getVolumeNamespaceBytes in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for volumeNamespace.
      • hasFsType

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

        public String getFsType()
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
         +optional
         
        optional string fsType = 3;
        Specified by:
        getFsType in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        The fsType.
      • getFsTypeBytes

        public 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". Implicitly inferred to be "ext4" if unspecified.
         +optional
         
        optional string fsType = 3;
        Specified by:
        getFsTypeBytes in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 4;
        Specified by:
        hasReadOnly in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • hasSecretRef

        public boolean hasSecretRef()
         secretRef specifies the secret to use for obtaining the StorageOS API
         credentials.  If not specified, default values will be attempted.
         +optional
         
        optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;
        Specified by:
        hasSecretRef in interface Generated.StorageOSPersistentVolumeSourceOrBuilder
        Returns:
        Whether the secretRef field is set.
      • 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.StorageOSPersistentVolumeSource parseFrom​(ByteBuffer data,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static Generated.StorageOSPersistentVolumeSource 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.StorageOSPersistentVolumeSource parseFrom​(byte[] data)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

        public com.google.protobuf.Parser<Generated.StorageOSPersistentVolumeSource> 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.StorageOSPersistentVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder