public static final class V1.StorageOSPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder> implements V1.StorageOSPersistentVolumeSourceOrBuilder
Represents a StorageOS persistent volume resource.Protobuf type
k8s.io.api.core.v1.StorageOSPersistentVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.StorageOSPersistentVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.StorageOSPersistentVolumeSource |
build() |
V1.StorageOSPersistentVolumeSource |
buildPartial() |
V1.StorageOSPersistentVolumeSource.Builder |
clear() |
V1.StorageOSPersistentVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.StorageOSPersistentVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
V1.StorageOSPersistentVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.StorageOSPersistentVolumeSource.Builder |
clearReadOnly()
Defaults to false (read/write).
|
V1.StorageOSPersistentVolumeSource.Builder |
clearSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.StorageOSPersistentVolumeSource.Builder |
clearVolumeName()
VolumeName is the human-readable name of the StorageOS volume.
|
V1.StorageOSPersistentVolumeSource.Builder |
clearVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS.
|
V1.StorageOSPersistentVolumeSource.Builder |
clone() |
V1.StorageOSPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFsType()
Filesystem type to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type to mount.
|
boolean |
getReadOnly()
Defaults to false (read/write).
|
V1.ObjectReference |
getSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.ObjectReference.Builder |
getSecretRefBuilder()
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.ObjectReferenceOrBuilder |
getSecretRefOrBuilder()
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
String |
getVolumeName()
VolumeName is the human-readable name of the StorageOS volume.
|
com.google.protobuf.ByteString |
getVolumeNameBytes()
VolumeName is the human-readable name of the StorageOS volume.
|
String |
getVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS.
|
com.google.protobuf.ByteString |
getVolumeNamespaceBytes()
VolumeNamespace specifies the scope of the volume within StorageOS.
|
boolean |
hasFsType()
Filesystem type to mount.
|
boolean |
hasReadOnly()
Defaults to false (read/write).
|
boolean |
hasSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
boolean |
hasVolumeName()
VolumeName is the human-readable name of the StorageOS volume.
|
boolean |
hasVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.StorageOSPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.StorageOSPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.StorageOSPersistentVolumeSource.Builder |
mergeFrom(V1.StorageOSPersistentVolumeSource other) |
V1.StorageOSPersistentVolumeSource.Builder |
mergeSecretRef(V1.ObjectReference value)
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.StorageOSPersistentVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.StorageOSPersistentVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.StorageOSPersistentVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.StorageOSPersistentVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
V1.StorageOSPersistentVolumeSource.Builder |
setReadOnly(boolean value)
Defaults to false (read/write).
|
V1.StorageOSPersistentVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.StorageOSPersistentVolumeSource.Builder |
setSecretRef(V1.ObjectReference.Builder builderForValue)
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.StorageOSPersistentVolumeSource.Builder |
setSecretRef(V1.ObjectReference value)
SecretRef specifies the secret to use for obtaining the StorageOS API
credentials.
|
V1.StorageOSPersistentVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.StorageOSPersistentVolumeSource.Builder |
setVolumeName(String value)
VolumeName is the human-readable name of the StorageOS volume.
|
V1.StorageOSPersistentVolumeSource.Builder |
setVolumeNameBytes(com.google.protobuf.ByteString value)
VolumeName is the human-readable name of the StorageOS volume.
|
V1.StorageOSPersistentVolumeSource.Builder |
setVolumeNamespace(String value)
VolumeNamespace specifies the scope of the volume within StorageOS.
|
V1.StorageOSPersistentVolumeSource.Builder |
setVolumeNamespaceBytes(com.google.protobuf.ByteString value)
VolumeNamespace specifies the scope of the volume within StorageOS.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.StorageOSPersistentVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.StorageOSPersistentVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.StorageOSPersistentVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder mergeFrom(V1.StorageOSPersistentVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public V1.StorageOSPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.StorageOSPersistentVolumeSource.Builder>IOExceptionpublic boolean hasVolumeName()
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;hasVolumeName in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic String getVolumeName()
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;getVolumeName in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getVolumeNameBytes()
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;getVolumeNameBytes in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource.Builder setVolumeName(String value)
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;public V1.StorageOSPersistentVolumeSource.Builder clearVolumeName()
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;public V1.StorageOSPersistentVolumeSource.Builder setVolumeNameBytes(com.google.protobuf.ByteString value)
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;public boolean hasVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;hasVolumeNamespace in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic String getVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;getVolumeNamespace in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getVolumeNamespaceBytes()
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;getVolumeNamespaceBytes in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource.Builder setVolumeNamespace(String value)
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;public V1.StorageOSPersistentVolumeSource.Builder clearVolumeNamespace()
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;public V1.StorageOSPersistentVolumeSource.Builder setVolumeNamespaceBytes(com.google.protobuf.ByteString value)
VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;public boolean hasFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;hasFsType in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic String getFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;getFsType in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;getFsTypeBytes in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource.Builder setFsType(String value)
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;public V1.StorageOSPersistentVolumeSource.Builder clearFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;public V1.StorageOSPersistentVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;public boolean hasReadOnly()
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;hasReadOnly in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;getReadOnly in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource.Builder setReadOnly(boolean value)
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public V1.StorageOSPersistentVolumeSource.Builder clearReadOnly()
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public boolean hasSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;hasSecretRef in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.ObjectReference getSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;getSecretRef in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource.Builder setSecretRef(V1.ObjectReference value)
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;public V1.StorageOSPersistentVolumeSource.Builder setSecretRef(V1.ObjectReference.Builder builderForValue)
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;public V1.StorageOSPersistentVolumeSource.Builder mergeSecretRef(V1.ObjectReference value)
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;public V1.StorageOSPersistentVolumeSource.Builder clearSecretRef()
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;public V1.ObjectReference.Builder getSecretRefBuilder()
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;public V1.ObjectReferenceOrBuilder getSecretRefOrBuilder()
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;getSecretRefOrBuilder in interface V1.StorageOSPersistentVolumeSourceOrBuilderpublic final V1.StorageOSPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>public final V1.StorageOSPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSPersistentVolumeSource.Builder>Copyright © 2020. All rights reserved.