Class Generated.QuobyteVolumeSource

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

    public static final class Generated.QuobyteVolumeSource
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.QuobyteVolumeSourceOrBuilder
     Represents a Quobyte mount that lasts the lifetime of a pod.
     Quobyte volumes do not support ownership management or SELinux relabeling.
     
    Protobuf type k8s.io.api.core.v1.QuobyteVolumeSource
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Generated.QuobyteVolumeSource.Builder
      Represents a Quobyte mount that lasts the lifetime of a pod.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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
      • hasRegistry

        public boolean hasRegistry()
         registry represents a single or multiple Quobyte Registry services
         specified as a string as host:port pair (multiple entries are separated with commas)
         which acts as the central registry for volumes
         
        optional string registry = 1;
        Specified by:
        hasRegistry in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the registry field is set.
      • getRegistry

        public String getRegistry()
         registry represents a single or multiple Quobyte Registry services
         specified as a string as host:port pair (multiple entries are separated with commas)
         which acts as the central registry for volumes
         
        optional string registry = 1;
        Specified by:
        getRegistry in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The registry.
      • getRegistryBytes

        public com.google.protobuf.ByteString getRegistryBytes()
         registry represents a single or multiple Quobyte Registry services
         specified as a string as host:port pair (multiple entries are separated with commas)
         which acts as the central registry for volumes
         
        optional string registry = 1;
        Specified by:
        getRegistryBytes in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The bytes for registry.
      • hasVolume

        public boolean hasVolume()
         volume is a string that references an already created Quobyte volume by name.
         
        optional string volume = 2;
        Specified by:
        hasVolume in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the volume field is set.
      • getVolumeBytes

        public com.google.protobuf.ByteString getVolumeBytes()
         volume is a string that references an already created Quobyte volume by name.
         
        optional string volume = 2;
        Specified by:
        getVolumeBytes in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The bytes for volume.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly here will force the Quobyte volume to be mounted with read-only permissions.
         Defaults to false.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly here will force the Quobyte volume to be mounted with read-only permissions.
         Defaults to false.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • hasUser

        public boolean hasUser()
         user to map volume access to
         Defaults to serivceaccount user
         +optional
         
        optional string user = 4;
        Specified by:
        hasUser in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the user field is set.
      • getUserBytes

        public com.google.protobuf.ByteString getUserBytes()
         user to map volume access to
         Defaults to serivceaccount user
         +optional
         
        optional string user = 4;
        Specified by:
        getUserBytes in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The bytes for user.
      • hasGroup

        public boolean hasGroup()
         group to map volume access to
         Default is no group
         +optional
         
        optional string group = 5;
        Specified by:
        hasGroup in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the group field is set.
      • getGroupBytes

        public com.google.protobuf.ByteString getGroupBytes()
         group to map volume access to
         Default is no group
         +optional
         
        optional string group = 5;
        Specified by:
        getGroupBytes in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The bytes for group.
      • hasTenant

        public boolean hasTenant()
         tenant owning the given Quobyte volume in the Backend
         Used with dynamically provisioned Quobyte volumes, value is set by the plugin
         +optional
         
        optional string tenant = 6;
        Specified by:
        hasTenant in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        Whether the tenant field is set.
      • getTenant

        public String getTenant()
         tenant owning the given Quobyte volume in the Backend
         Used with dynamically provisioned Quobyte volumes, value is set by the plugin
         +optional
         
        optional string tenant = 6;
        Specified by:
        getTenant in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The tenant.
      • getTenantBytes

        public com.google.protobuf.ByteString getTenantBytes()
         tenant owning the given Quobyte volume in the Backend
         Used with dynamically provisioned Quobyte volumes, value is set by the plugin
         +optional
         
        optional string tenant = 6;
        Specified by:
        getTenantBytes in interface Generated.QuobyteVolumeSourceOrBuilder
        Returns:
        The bytes for tenant.
      • 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.QuobyteVolumeSource parseFrom​(ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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