Package io.kubernetes.client.proto
Class V1Storage.StorageClass.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
io.kubernetes.client.proto.V1Storage.StorageClass.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1Storage.StorageClassOrBuilder
,Cloneable
- Enclosing class:
- V1Storage.StorageClass
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
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedTopologies
(Iterable<? extends V1.TopologySelectorTerm> values) Restrict the node topologies where volumes can be dynamically provisioned.addAllMountOptions
(Iterable<String> values) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.addAllowedTopologies
(int index, V1.TopologySelectorTerm value) Restrict the node topologies where volumes can be dynamically provisioned.addAllowedTopologies
(int index, V1.TopologySelectorTerm.Builder builderForValue) Restrict the node topologies where volumes can be dynamically provisioned.Restrict the node topologies where volumes can be dynamically provisioned.addAllowedTopologies
(V1.TopologySelectorTerm.Builder builderForValue) Restrict the node topologies where volumes can be dynamically provisioned.Restrict the node topologies where volumes can be dynamically provisioned.addAllowedTopologiesBuilder
(int index) Restrict the node topologies where volumes can be dynamically provisioned.addMountOptions
(String value) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.addMountOptionsBytes
(com.google.protobuf.ByteString value) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Restrict the node topologies where volumes can be dynamically provisioned.AllowVolumeExpansion shows whether the storage class allow volume expand +optionalclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Standard object's metadata.Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Provisioner indicates the type of the provisioner.Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.clone()
boolean
containsParameters
(String key) Parameters holds the parameters for the provisioner that should create volumes of this storage class.getAllowedTopologies
(int index) Restrict the node topologies where volumes can be dynamically provisioned.getAllowedTopologiesBuilder
(int index) Restrict the node topologies where volumes can be dynamically provisioned.Restrict the node topologies where volumes can be dynamically provisioned.int
Restrict the node topologies where volumes can be dynamically provisioned.Restrict the node topologies where volumes can be dynamically provisioned.getAllowedTopologiesOrBuilder
(int index) Restrict the node topologies where volumes can be dynamically provisioned.List<? extends V1.TopologySelectorTermOrBuilder>
Restrict the node topologies where volumes can be dynamically provisioned.boolean
AllowVolumeExpansion shows whether the storage class allow volume expand +optionalstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Standard object's metadata.Standard object's metadata.Standard object's metadata.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
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.com.google.protobuf.ProtocolStringList
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.Deprecated.Deprecated.int
Parameters holds the parameters for the provisioner that should create volumes of this storage class.Parameters holds the parameters for the provisioner that should create volumes of this storage class.getParametersOrDefault
(String key, String defaultValue) Parameters holds the parameters for the provisioner that should create volumes of this storage class.Parameters holds the parameters for the provisioner that should create volumes of this storage class.Provisioner indicates the type of the provisioner.com.google.protobuf.ByteString
Provisioner indicates the type of the provisioner.Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.com.google.protobuf.ByteString
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.com.google.protobuf.ByteString
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.boolean
AllowVolumeExpansion shows whether the storage class allow volume expand +optionalboolean
Standard object's metadata.boolean
Provisioner indicates the type of the provisioner.boolean
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.boolean
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1Storage.StorageClass other) mergeMetadata
(Meta.ObjectMeta value) Standard object's metadata.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllParameters
(Map<String, String> values) Parameters holds the parameters for the provisioner that should create volumes of this storage class.putParameters
(String key, String value) Parameters holds the parameters for the provisioner that should create volumes of this storage class.removeAllowedTopologies
(int index) Restrict the node topologies where volumes can be dynamically provisioned.removeParameters
(String key) Parameters holds the parameters for the provisioner that should create volumes of this storage class.setAllowedTopologies
(int index, V1.TopologySelectorTerm value) Restrict the node topologies where volumes can be dynamically provisioned.setAllowedTopologies
(int index, V1.TopologySelectorTerm.Builder builderForValue) Restrict the node topologies where volumes can be dynamically provisioned.setAllowVolumeExpansion
(boolean value) AllowVolumeExpansion shows whether the storage class allow volume expand +optionalsetMetadata
(Meta.ObjectMeta value) Standard object's metadata.setMetadata
(Meta.ObjectMeta.Builder builderForValue) Standard object's metadata.setMountOptions
(int index, String value) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.setProvisioner
(String value) Provisioner indicates the type of the provisioner.setProvisionerBytes
(com.google.protobuf.ByteString value) Provisioner indicates the type of the provisioner.setReclaimPolicy
(String value) Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.setReclaimPolicyBytes
(com.google.protobuf.ByteString value) Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeBindingMode
(String value) VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.setVolumeBindingModeBytes
(com.google.protobuf.ByteString value) VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
setField
public V1Storage.StorageClass.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
clearField
public V1Storage.StorageClass.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
clearOneof
public V1Storage.StorageClass.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
setRepeatedField
public V1Storage.StorageClass.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
addRepeatedField
public V1Storage.StorageClass.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Storage.StorageClass.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
mergeFrom
public V1Storage.StorageClass.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Storage.StorageClass.Builder>
- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
hasMetadata
in interfaceV1Storage.StorageClassOrBuilder
-
getMetadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
getMetadata
in interfaceV1Storage.StorageClassOrBuilder
-
setMetadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
setMetadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
mergeMetadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
clearMetadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataBuilder
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataOrBuilder
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
getMetadataOrBuilder
in interfaceV1Storage.StorageClassOrBuilder
-
hasProvisioner
public boolean hasProvisioner()Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
- Specified by:
hasProvisioner
in interfaceV1Storage.StorageClassOrBuilder
-
getProvisioner
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
- Specified by:
getProvisioner
in interfaceV1Storage.StorageClassOrBuilder
-
getProvisionerBytes
public com.google.protobuf.ByteString getProvisionerBytes()Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
- Specified by:
getProvisionerBytes
in interfaceV1Storage.StorageClassOrBuilder
-
setProvisioner
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
-
clearProvisioner
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
-
setProvisionerBytes
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;
-
getParametersCount
public int getParametersCount()Description copied from interface:V1Storage.StorageClassOrBuilder
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
- Specified by:
getParametersCount
in interfaceV1Storage.StorageClassOrBuilder
-
containsParameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
- Specified by:
containsParameters
in interfaceV1Storage.StorageClassOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()
instead.- Specified by:
getParameters
in interfaceV1Storage.StorageClassOrBuilder
-
getParametersMap
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
- Specified by:
getParametersMap
in interfaceV1Storage.StorageClassOrBuilder
-
getParametersOrDefault
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
- Specified by:
getParametersOrDefault
in interfaceV1Storage.StorageClassOrBuilder
-
getParametersOrThrow
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
- Specified by:
getParametersOrThrow
in interfaceV1Storage.StorageClassOrBuilder
-
clearParameters
-
removeParameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
getMutableParameters
Deprecated.Use alternate mutation accessors instead. -
putParameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
putAllParameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
hasReclaimPolicy
public boolean hasReclaimPolicy()Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
- Specified by:
hasReclaimPolicy
in interfaceV1Storage.StorageClassOrBuilder
-
getReclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
- Specified by:
getReclaimPolicy
in interfaceV1Storage.StorageClassOrBuilder
-
getReclaimPolicyBytes
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;
- Specified by:
getReclaimPolicyBytes
in interfaceV1Storage.StorageClassOrBuilder
-
setReclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
-
clearReclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
-
setReclaimPolicyBytes
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;
-
getMountOptionsList
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;
- Specified by:
getMountOptionsList
in interfaceV1Storage.StorageClassOrBuilder
-
getMountOptionsCount
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;
- Specified by:
getMountOptionsCount
in interfaceV1Storage.StorageClassOrBuilder
-
getMountOptions
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;
- Specified by:
getMountOptions
in interfaceV1Storage.StorageClassOrBuilder
-
getMountOptionsBytes
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;
- Specified by:
getMountOptionsBytes
in interfaceV1Storage.StorageClassOrBuilder
-
setMountOptions
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;
-
addMountOptions
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;
-
addAllMountOptions
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;
-
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;
-
addMountOptionsBytes
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;
-
hasAllowVolumeExpansion
public boolean hasAllowVolumeExpansion()AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
- Specified by:
hasAllowVolumeExpansion
in interfaceV1Storage.StorageClassOrBuilder
-
getAllowVolumeExpansion
public boolean getAllowVolumeExpansion()AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
- Specified by:
getAllowVolumeExpansion
in interfaceV1Storage.StorageClassOrBuilder
-
setAllowVolumeExpansion
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
-
clearAllowVolumeExpansion
AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;
-
hasVolumeBindingMode
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;
- Specified by:
hasVolumeBindingMode
in interfaceV1Storage.StorageClassOrBuilder
-
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;
- Specified by:
getVolumeBindingMode
in interfaceV1Storage.StorageClassOrBuilder
-
getVolumeBindingModeBytes
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;
- Specified by:
getVolumeBindingModeBytes
in interfaceV1Storage.StorageClassOrBuilder
-
setVolumeBindingMode
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;
-
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;
-
setVolumeBindingModeBytes
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;
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
- Specified by:
getAllowedTopologiesList
in interfaceV1Storage.StorageClassOrBuilder
-
getAllowedTopologiesCount
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
- Specified by:
getAllowedTopologiesCount
in interfaceV1Storage.StorageClassOrBuilder
-
getAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
- Specified by:
getAllowedTopologies
in interfaceV1Storage.StorageClassOrBuilder
-
setAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
setAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
addAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
addAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
addAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
addAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
addAllAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
removeAllowedTopologies
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
getAllowedTopologiesBuilder
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
getAllowedTopologiesOrBuilder
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
- Specified by:
getAllowedTopologiesOrBuilder
in interfaceV1Storage.StorageClassOrBuilder
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
- Specified by:
getAllowedTopologiesOrBuilderList
in interfaceV1Storage.StorageClassOrBuilder
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
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 +listType=atomic
repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
-
setUnknownFields
public final V1Storage.StorageClass.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-
mergeUnknownFields
public final V1Storage.StorageClass.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.StorageClass.Builder>
-