Class V1.QuobyteVolumeSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
io.kubernetes.client.proto.V1.QuobyteVolumeSource.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.QuobyteVolumeSourceOrBuilder, Cloneable
Enclosing class:
V1.QuobyteVolumeSource

public static final class V1.QuobyteVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder> implements V1.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
  • Method Details

    • 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<V1.QuobyteVolumeSource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.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<V1.QuobyteVolumeSource.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • setField

      public V1.QuobyteVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • clearField

      public V1.QuobyteVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • clearOneof

      public V1.QuobyteVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • setRepeatedField

      public V1.QuobyteVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • addRepeatedField

      public V1.QuobyteVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • mergeFrom

      public V1.QuobyteVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.QuobyteVolumeSource.Builder>
    • mergeFrom

    • isInitialized

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

      public V1.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<V1.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 V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setRegistry

      public V1.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;
    • clearRegistry

      public V1.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;
    • setRegistryBytes

      public V1.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;
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • getVolume

      public String getVolume()
       Volume is a string that references an already created Quobyte volume by name.
       
      optional string volume = 2;
      Specified by:
      getVolume in interface V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setVolume

      public V1.QuobyteVolumeSource.Builder setVolume(String value)
       Volume is a string that references an already created Quobyte volume by name.
       
      optional string volume = 2;
    • clearVolume

      public V1.QuobyteVolumeSource.Builder clearVolume()
       Volume is a string that references an already created Quobyte volume by name.
       
      optional string volume = 2;
    • setVolumeBytes

      public V1.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;
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setReadOnly

      public V1.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;
    • clearReadOnly

      public V1.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;
    • hasUser

      public boolean hasUser()
       User to map volume access to
       Defaults to serivceaccount user
       +optional
       
      optional string user = 4;
      Specified by:
      hasUser in interface V1.QuobyteVolumeSourceOrBuilder
    • getUser

      public String getUser()
       User to map volume access to
       Defaults to serivceaccount user
       +optional
       
      optional string user = 4;
      Specified by:
      getUser in interface V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setUser

      public V1.QuobyteVolumeSource.Builder setUser(String value)
       User to map volume access to
       Defaults to serivceaccount user
       +optional
       
      optional string user = 4;
    • clearUser

      public V1.QuobyteVolumeSource.Builder clearUser()
       User to map volume access to
       Defaults to serivceaccount user
       +optional
       
      optional string user = 4;
    • setUserBytes

      public V1.QuobyteVolumeSource.Builder setUserBytes(com.google.protobuf.ByteString value)
       User to map volume access to
       Defaults to serivceaccount user
       +optional
       
      optional string user = 4;
    • hasGroup

      public boolean hasGroup()
       Group to map volume access to
       Default is no group
       +optional
       
      optional string group = 5;
      Specified by:
      hasGroup in interface V1.QuobyteVolumeSourceOrBuilder
    • getGroup

      public String getGroup()
       Group to map volume access to
       Default is no group
       +optional
       
      optional string group = 5;
      Specified by:
      getGroup in interface V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setGroup

      public V1.QuobyteVolumeSource.Builder setGroup(String value)
       Group to map volume access to
       Default is no group
       +optional
       
      optional string group = 5;
    • clearGroup

      public V1.QuobyteVolumeSource.Builder clearGroup()
       Group to map volume access to
       Default is no group
       +optional
       
      optional string group = 5;
    • setGroupBytes

      public V1.QuobyteVolumeSource.Builder setGroupBytes(com.google.protobuf.ByteString value)
       Group to map volume access to
       Default is no group
       +optional
       
      optional string group = 5;
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • 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 V1.QuobyteVolumeSourceOrBuilder
    • setTenant

      public V1.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;
    • clearTenant

      public V1.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;
    • setTenantBytes

      public V1.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;
    • setUnknownFields

      public final V1.QuobyteVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.QuobyteVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.QuobyteVolumeSource.Builder>