Package io.kubernetes.client.proto
Class V1beta1Storage.StorageClass.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
io.kubernetes.client.proto.V1beta1Storage.StorageClass.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Storage.StorageClassOrBuilder,Cloneable
- Enclosing class:
- V1beta1Storage.StorageClass
public static final class V1beta1Storage.StorageClass.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
implements V1beta1Storage.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.v1beta1.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()booleancontainsParameters(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.intRestrict 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.booleanAllowVolumeExpansion shows whether the storage class allow volume expand +optionalstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorStandard 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.ByteStringgetMountOptionsBytes(int index) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.intDynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.com.google.protobuf.ProtocolStringListDynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.Deprecated.Deprecated.intParameters 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.ByteStringProvisioner indicates the type of the provisioner.Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.com.google.protobuf.ByteStringDynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.com.google.protobuf.ByteStringVolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.booleanAllowVolumeExpansion shows whether the storage class allow volume expand +optionalbooleanStandard object's metadata.booleanProvisioner indicates the type of the provisioner.booleanDynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.booleanVolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
setField
public V1beta1Storage.StorageClass.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
clearField
public V1beta1Storage.StorageClass.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
clearOneof
public V1beta1Storage.StorageClass.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
setRepeatedField
public V1beta1Storage.StorageClass.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
addRepeatedField
public V1beta1Storage.StorageClass.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Storage.StorageClass.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
mergeFrom
public V1beta1Storage.StorageClass.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Storage.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:
hasMetadatain interfaceV1beta1Storage.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:
getMetadatain interfaceV1beta1Storage.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:
getMetadataOrBuilderin interfaceV1beta1Storage.StorageClassOrBuilder
-
hasProvisioner
public boolean hasProvisioner()Provisioner indicates the type of the provisioner.
optional string provisioner = 2;- Specified by:
hasProvisionerin interfaceV1beta1Storage.StorageClassOrBuilder
-
getProvisioner
Provisioner indicates the type of the provisioner.
optional string provisioner = 2;- Specified by:
getProvisionerin interfaceV1beta1Storage.StorageClassOrBuilder
-
getProvisionerBytes
public com.google.protobuf.ByteString getProvisionerBytes()Provisioner indicates the type of the provisioner.
optional string provisioner = 2;- Specified by:
getProvisionerBytesin interfaceV1beta1Storage.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
public V1beta1Storage.StorageClass.Builder setProvisionerBytes(com.google.protobuf.ByteString value) Provisioner indicates the type of the provisioner.
optional string provisioner = 2; -
getParametersCount
public int getParametersCount()Description copied from interface:V1beta1Storage.StorageClassOrBuilderParameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;- Specified by:
getParametersCountin interfaceV1beta1Storage.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:
containsParametersin interfaceV1beta1Storage.StorageClassOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceV1beta1Storage.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:
getParametersMapin interfaceV1beta1Storage.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:
getParametersOrDefaultin interfaceV1beta1Storage.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:
getParametersOrThrowin interfaceV1beta1Storage.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:
hasReclaimPolicyin interfaceV1beta1Storage.StorageClassOrBuilder
-
getReclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. +optional
optional string reclaimPolicy = 4;- Specified by:
getReclaimPolicyin interfaceV1beta1Storage.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:
getReclaimPolicyBytesin interfaceV1beta1Storage.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
public V1beta1Storage.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; -
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:
getMountOptionsListin interfaceV1beta1Storage.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:
getMountOptionsCountin interfaceV1beta1Storage.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:
getMountOptionsin interfaceV1beta1Storage.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:
getMountOptionsBytesin interfaceV1beta1Storage.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
public V1beta1Storage.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; -
hasAllowVolumeExpansion
public boolean hasAllowVolumeExpansion()AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;- Specified by:
hasAllowVolumeExpansionin interfaceV1beta1Storage.StorageClassOrBuilder
-
getAllowVolumeExpansion
public boolean getAllowVolumeExpansion()AllowVolumeExpansion shows whether the storage class allow volume expand +optional
optional bool allowVolumeExpansion = 6;- Specified by:
getAllowVolumeExpansionin interfaceV1beta1Storage.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:
hasVolumeBindingModein interfaceV1beta1Storage.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:
getVolumeBindingModein interfaceV1beta1Storage.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:
getVolumeBindingModeBytesin interfaceV1beta1Storage.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 V1beta1Storage.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:
getAllowedTopologiesListin interfaceV1beta1Storage.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:
getAllowedTopologiesCountin interfaceV1beta1Storage.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:
getAllowedTopologiesin interfaceV1beta1Storage.StorageClassOrBuilder
-
setAllowedTopologies
public V1beta1Storage.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 V1beta1Storage.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 V1beta1Storage.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 V1beta1Storage.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 V1beta1Storage.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 V1beta1Storage.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:
getAllowedTopologiesOrBuilderin interfaceV1beta1Storage.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:
getAllowedTopologiesOrBuilderListin interfaceV1beta1Storage.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 V1beta1Storage.StorageClass.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-
mergeUnknownFields
public final V1beta1Storage.StorageClass.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.StorageClass.Builder>
-