public static final class V1Storage.StorageClass.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder> implements V1Storage.StorageClassOrBuilder
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.Protobuf type
k8s.io.api.storage.v1.StorageClass
Modifier and Type | Method and Description |
---|---|
V1Storage.StorageClass.Builder |
addAllAllowedTopologies(Iterable<? extends V1.TopologySelectorTerm> values)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
addAllMountOptions(Iterable<String> values)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
V1Storage.StorageClass.Builder |
addAllowedTopologies(int index,
V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
addAllowedTopologies(int index,
V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
addAllowedTopologies(V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
addAllowedTopologies(V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1.TopologySelectorTerm.Builder |
addAllowedTopologiesBuilder()
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1.TopologySelectorTerm.Builder |
addAllowedTopologiesBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
addMountOptions(String value)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
V1Storage.StorageClass.Builder |
addMountOptionsBytes(com.google.protobuf.ByteString value)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
V1Storage.StorageClass.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.StorageClass |
build() |
V1Storage.StorageClass |
buildPartial() |
V1Storage.StorageClass.Builder |
clear() |
V1Storage.StorageClass.Builder |
clearAllowedTopologies()
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
clearAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand
+optional
|
V1Storage.StorageClass.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Storage.StorageClass.Builder |
clearMetadata()
Standard object's metadata.
|
V1Storage.StorageClass.Builder |
clearMountOptions()
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
V1Storage.StorageClass.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Storage.StorageClass.Builder |
clearParameters() |
V1Storage.StorageClass.Builder |
clearProvisioner()
Provisioner indicates the type of the provisioner.
|
V1Storage.StorageClass.Builder |
clearReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
V1Storage.StorageClass.Builder |
clearVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
V1Storage.StorageClass.Builder |
clone() |
boolean |
containsParameters(String key)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
V1.TopologySelectorTerm |
getAllowedTopologies(int index)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1.TopologySelectorTerm.Builder |
getAllowedTopologiesBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned.
|
List<V1.TopologySelectorTerm.Builder> |
getAllowedTopologiesBuilderList()
Restrict the node topologies where volumes can be dynamically provisioned.
|
int |
getAllowedTopologiesCount()
Restrict the node topologies where volumes can be dynamically provisioned.
|
List<V1.TopologySelectorTerm> |
getAllowedTopologiesList()
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1.TopologySelectorTermOrBuilder |
getAllowedTopologiesOrBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned.
|
List<? extends V1.TopologySelectorTermOrBuilder> |
getAllowedTopologiesOrBuilderList()
Restrict the node topologies where volumes can be dynamically provisioned.
|
boolean |
getAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand
+optional
|
V1Storage.StorageClass |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
String |
getMountOptions(int index)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
com.google.protobuf.ByteString |
getMountOptionsBytes(int index)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
int |
getMountOptionsCount()
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
com.google.protobuf.ProtocolStringList |
getMountOptionsList()
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
Map<String,String> |
getMutableParameters()
Deprecated.
|
Map<String,String> |
getParameters()
Deprecated.
|
int |
getParametersCount()
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
Map<String,String> |
getParametersMap()
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
String |
getParametersOrDefault(String key,
String defaultValue)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
String |
getParametersOrThrow(String key)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
String |
getProvisioner()
Provisioner indicates the type of the provisioner.
|
com.google.protobuf.ByteString |
getProvisionerBytes()
Provisioner indicates the type of the provisioner.
|
String |
getReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
com.google.protobuf.ByteString |
getReclaimPolicyBytes()
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
String |
getVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
com.google.protobuf.ByteString |
getVolumeBindingModeBytes()
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
boolean |
hasAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand
+optional
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasProvisioner()
Provisioner indicates the type of the provisioner.
|
boolean |
hasReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
boolean |
hasVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1Storage.StorageClass.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Storage.StorageClass.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Storage.StorageClass.Builder |
mergeFrom(V1Storage.StorageClass other) |
V1Storage.StorageClass.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Storage.StorageClass.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Storage.StorageClass.Builder |
putAllParameters(Map<String,String> values)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
V1Storage.StorageClass.Builder |
putParameters(String key,
String value)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
V1Storage.StorageClass.Builder |
removeAllowedTopologies(int index)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
removeParameters(String key)
Parameters holds the parameters for the provisioner that should
create volumes of this storage class.
|
V1Storage.StorageClass.Builder |
setAllowedTopologies(int index,
V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
setAllowedTopologies(int index,
V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned.
|
V1Storage.StorageClass.Builder |
setAllowVolumeExpansion(boolean value)
AllowVolumeExpansion shows whether the storage class allow volume expand
+optional
|
V1Storage.StorageClass.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.StorageClass.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1Storage.StorageClass.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1Storage.StorageClass.Builder |
setMountOptions(int index,
String value)
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g.
|
V1Storage.StorageClass.Builder |
setProvisioner(String value)
Provisioner indicates the type of the provisioner.
|
V1Storage.StorageClass.Builder |
setProvisionerBytes(com.google.protobuf.ByteString value)
Provisioner indicates the type of the provisioner.
|
V1Storage.StorageClass.Builder |
setReclaimPolicy(String value)
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
V1Storage.StorageClass.Builder |
setReclaimPolicyBytes(com.google.protobuf.ByteString value)
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy.
|
V1Storage.StorageClass.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Storage.StorageClass.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Storage.StorageClass.Builder |
setVolumeBindingMode(String value)
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
V1Storage.StorageClass.Builder |
setVolumeBindingModeBytes(com.google.protobuf.ByteString value)
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1Storage.StorageClass build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1Storage.StorageClass buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1Storage.StorageClass.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder mergeFrom(V1Storage.StorageClass other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public V1Storage.StorageClass.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Storage.StorageClass.Builder>
IOException
public boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
hasMetadata
in interface V1Storage.StorageClassOrBuilder
public Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
getMetadata
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
public V1Storage.StorageClass.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
public V1Storage.StorageClass.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
public V1Storage.StorageClass.Builder clearMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
public Meta.ObjectMeta.Builder getMetadataBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
getMetadataOrBuilder
in interface V1Storage.StorageClassOrBuilder
public boolean hasProvisioner()
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
hasProvisioner
in interface V1Storage.StorageClassOrBuilder
public String getProvisioner()
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
getProvisioner
in interface V1Storage.StorageClassOrBuilder
public com.google.protobuf.ByteString getProvisionerBytes()
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
getProvisionerBytes
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setProvisioner(String value)
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
public V1Storage.StorageClass.Builder clearProvisioner()
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
public V1Storage.StorageClass.Builder setProvisionerBytes(com.google.protobuf.ByteString value)
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
public int getParametersCount()
V1Storage.StorageClassOrBuilder
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
getParametersCount
in interface V1Storage.StorageClassOrBuilder
public boolean containsParameters(String key)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
containsParameters
in interface V1Storage.StorageClassOrBuilder
@Deprecated public Map<String,String> getParameters()
getParametersMap()
instead.getParameters
in interface V1Storage.StorageClassOrBuilder
public Map<String,String> getParametersMap()
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
getParametersMap
in interface V1Storage.StorageClassOrBuilder
public String getParametersOrDefault(String key, String defaultValue)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
getParametersOrDefault
in interface V1Storage.StorageClassOrBuilder
public String getParametersOrThrow(String key)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
getParametersOrThrow
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder clearParameters()
public V1Storage.StorageClass.Builder removeParameters(String key)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
@Deprecated public Map<String,String> getMutableParameters()
public V1Storage.StorageClass.Builder putParameters(String key, String value)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
public V1Storage.StorageClass.Builder putAllParameters(Map<String,String> values)
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
public boolean hasReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
hasReclaimPolicy
in interface V1Storage.StorageClassOrBuilder
public String getReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
getReclaimPolicy
in interface V1Storage.StorageClassOrBuilder
public com.google.protobuf.ByteString getReclaimPolicyBytes()
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
getReclaimPolicyBytes
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setReclaimPolicy(String value)
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
public V1Storage.StorageClass.Builder clearReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
public V1Storage.StorageClass.Builder setReclaimPolicyBytes(com.google.protobuf.ByteString value)
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
public com.google.protobuf.ProtocolStringList getMountOptionsList()
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
getMountOptionsList
in interface V1Storage.StorageClassOrBuilder
public int getMountOptionsCount()
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
getMountOptionsCount
in interface V1Storage.StorageClassOrBuilder
public String getMountOptions(int index)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
getMountOptions
in interface V1Storage.StorageClassOrBuilder
public com.google.protobuf.ByteString getMountOptionsBytes(int index)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
getMountOptionsBytes
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setMountOptions(int index, String value)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
public V1Storage.StorageClass.Builder addMountOptions(String value)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
public V1Storage.StorageClass.Builder addAllMountOptions(Iterable<String> values)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
public V1Storage.StorageClass.Builder clearMountOptions()
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
public V1Storage.StorageClass.Builder addMountOptionsBytes(com.google.protobuf.ByteString value)
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid. +optional
repeated string mountOptions = 5;
public boolean hasAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
hasAllowVolumeExpansion
in interface V1Storage.StorageClassOrBuilder
public boolean getAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
getAllowVolumeExpansion
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setAllowVolumeExpansion(boolean value)
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
public V1Storage.StorageClass.Builder clearAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
public boolean hasVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
hasVolumeBindingMode
in interface V1Storage.StorageClassOrBuilder
public String getVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
getVolumeBindingMode
in interface V1Storage.StorageClassOrBuilder
public com.google.protobuf.ByteString getVolumeBindingModeBytes()
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
getVolumeBindingModeBytes
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setVolumeBindingMode(String value)
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
public V1Storage.StorageClass.Builder clearVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
public V1Storage.StorageClass.Builder setVolumeBindingModeBytes(com.google.protobuf.ByteString value)
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. +optional
optional string volumeBindingMode = 7;
public List<V1.TopologySelectorTerm> getAllowedTopologiesList()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
getAllowedTopologiesList
in interface V1Storage.StorageClassOrBuilder
public int getAllowedTopologiesCount()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
getAllowedTopologiesCount
in interface V1Storage.StorageClassOrBuilder
public V1.TopologySelectorTerm getAllowedTopologies(int index)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
getAllowedTopologies
in interface V1Storage.StorageClassOrBuilder
public V1Storage.StorageClass.Builder setAllowedTopologies(int index, V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder setAllowedTopologies(int index, V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder addAllowedTopologies(V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder addAllowedTopologies(int index, V1.TopologySelectorTerm value)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder addAllowedTopologies(V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder addAllowedTopologies(int index, V1.TopologySelectorTerm.Builder builderForValue)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder addAllAllowedTopologies(Iterable<? extends V1.TopologySelectorTerm> values)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder clearAllowedTopologies()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1Storage.StorageClass.Builder removeAllowedTopologies(int index)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1.TopologySelectorTerm.Builder getAllowedTopologiesBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1.TopologySelectorTermOrBuilder getAllowedTopologiesOrBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
getAllowedTopologiesOrBuilder
in interface V1Storage.StorageClassOrBuilder
public List<? extends V1.TopologySelectorTermOrBuilder> getAllowedTopologiesOrBuilderList()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
getAllowedTopologiesOrBuilderList
in interface V1Storage.StorageClassOrBuilder
public V1.TopologySelectorTerm.Builder addAllowedTopologiesBuilder()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public V1.TopologySelectorTerm.Builder addAllowedTopologiesBuilder(int index)
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public List<V1.TopologySelectorTerm.Builder> getAllowedTopologiesBuilderList()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. +optional
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
public final V1Storage.StorageClass.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
public final V1Storage.StorageClass.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
Copyright © 2021. All rights reserved.