Class Generated.QuobyteVolumeSource.Builder

    • Method Detail

      • 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.Builder<Generated.QuobyteVolumeSource.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.QuobyteVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.QuobyteVolumeSource.Builder>
      • mergeFrom

        public Generated.QuobyteVolumeSource.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.QuobyteVolumeSource.Builder>
        Throws:
        IOException
      • 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.
      • setRegistry

        public Generated.QuobyteVolumeSource.Builder setRegistry​(String value)
         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;
        Parameters:
        value - The registry to set.
        Returns:
        This builder for chaining.
      • clearRegistry

        public Generated.QuobyteVolumeSource.Builder clearRegistry()
         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;
        Returns:
        This builder for chaining.
      • setRegistryBytes

        public Generated.QuobyteVolumeSource.Builder setRegistryBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for registry to set.
        Returns:
        This builder for chaining.
      • 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.
      • setVolume

        public Generated.QuobyteVolumeSource.Builder setVolume​(String value)
         volume is a string that references an already created Quobyte volume by name.
         
        optional string volume = 2;
        Parameters:
        value - The volume to set.
        Returns:
        This builder for chaining.
      • clearVolume

        public Generated.QuobyteVolumeSource.Builder clearVolume()
         volume is a string that references an already created Quobyte volume by name.
         
        optional string volume = 2;
        Returns:
        This builder for chaining.
      • setVolumeBytes

        public Generated.QuobyteVolumeSource.Builder setVolumeBytes​(com.google.protobuf.ByteString value)
         volume is a string that references an already created Quobyte volume by name.
         
        optional string volume = 2;
        Parameters:
        value - The bytes for volume to set.
        Returns:
        This builder for chaining.
      • 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.
      • setReadOnly

        public Generated.QuobyteVolumeSource.Builder setReadOnly​(boolean value)
         readOnly here will force the Quobyte volume to be mounted with read-only permissions.
         Defaults to false.
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.QuobyteVolumeSource.Builder clearReadOnly()
         readOnly here will force the Quobyte volume to be mounted with read-only permissions.
         Defaults to false.
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.
      • 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.
      • setUser

        public Generated.QuobyteVolumeSource.Builder setUser​(String value)
         user to map volume access to
         Defaults to serivceaccount user
         +optional
         
        optional string user = 4;
        Parameters:
        value - The user to set.
        Returns:
        This builder for chaining.
      • clearUser

        public Generated.QuobyteVolumeSource.Builder clearUser()
         user to map volume access to
         Defaults to serivceaccount user
         +optional
         
        optional string user = 4;
        Returns:
        This builder for chaining.
      • setUserBytes

        public Generated.QuobyteVolumeSource.Builder setUserBytes​(com.google.protobuf.ByteString value)
         user to map volume access to
         Defaults to serivceaccount user
         +optional
         
        optional string user = 4;
        Parameters:
        value - The bytes for user to set.
        Returns:
        This builder for chaining.
      • 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.
      • setGroup

        public Generated.QuobyteVolumeSource.Builder setGroup​(String value)
         group to map volume access to
         Default is no group
         +optional
         
        optional string group = 5;
        Parameters:
        value - The group to set.
        Returns:
        This builder for chaining.
      • clearGroup

        public Generated.QuobyteVolumeSource.Builder clearGroup()
         group to map volume access to
         Default is no group
         +optional
         
        optional string group = 5;
        Returns:
        This builder for chaining.
      • setGroupBytes

        public Generated.QuobyteVolumeSource.Builder setGroupBytes​(com.google.protobuf.ByteString value)
         group to map volume access to
         Default is no group
         +optional
         
        optional string group = 5;
        Parameters:
        value - The bytes for group to set.
        Returns:
        This builder for chaining.
      • 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.
      • setTenant

        public Generated.QuobyteVolumeSource.Builder setTenant​(String value)
         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;
        Parameters:
        value - The tenant to set.
        Returns:
        This builder for chaining.
      • clearTenant

        public Generated.QuobyteVolumeSource.Builder clearTenant()
         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;
        Returns:
        This builder for chaining.
      • setTenantBytes

        public Generated.QuobyteVolumeSource.Builder setTenantBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for tenant to set.
        Returns:
        This builder for chaining.