Class Generated.FlexPersistentVolumeSource

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.FlexPersistentVolumeSourceOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.FlexPersistentVolumeSource
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.FlexPersistentVolumeSourceOrBuilder
     FlexPersistentVolumeSource represents a generic persistent volume resource that is
     provisioned/attached using an exec based plugin.
     
    Protobuf type k8s.io.api.core.v1.FlexPersistentVolumeSource
    See Also:
    Serialized Form
    • 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
      • 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". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Specified by:
        hasFsType in interface Generated.FlexPersistentVolumeSourceOrBuilder
        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". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Specified by:
        getFsType in interface Generated.FlexPersistentVolumeSourceOrBuilder
        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". The default filesystem depends on FlexVolume script.
         +optional
         
        optional string fsType = 2;
        Specified by:
        getFsTypeBytes in interface Generated.FlexPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • hasSecretRef

        public 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;
        Specified by:
        hasSecretRef in interface Generated.FlexPersistentVolumeSourceOrBuilder
        Returns:
        Whether the secretRef field is set.
      • getSecretRef

        public 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;
        Specified by:
        getSecretRef in interface Generated.FlexPersistentVolumeSourceOrBuilder
        Returns:
        The secretRef.
      • getSecretRefOrBuilder

        public 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;
        Specified by:
        getSecretRefOrBuilder in interface Generated.FlexPersistentVolumeSourceOrBuilder
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly is Optional: 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.FlexPersistentVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly is Optional: defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 4;
        Specified by:
        getReadOnly in interface Generated.FlexPersistentVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • 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.FlexPersistentVolumeSource parseFrom​(ByteBuffer data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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