Package io.kubernetes.client.proto
Class V1.StorageOSVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
io.kubernetes.client.proto.V1.StorageOSVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.StorageOSVolumeSourceOrBuilder,Cloneable
- Enclosing class:
- V1.StorageOSVolumeSource
public static final class V1.StorageOSVolumeSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
implements V1.StorageOSVolumeSourceOrBuilder
Represents a StorageOS persistent volume resource.Protobuf type
k8s.io.api.core.v1.StorageOSVolumeSource-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type to mount.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Defaults to false (read/write).SecretRef specifies the secret to use for obtaining the StorageOS API credentials.VolumeName is the human-readable name of the StorageOS volume.VolumeNamespace specifies the scope of the volume within StorageOS.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFilesystem type to mount.com.google.protobuf.ByteStringFilesystem type to mount.booleanDefaults to false (read/write).SecretRef specifies the secret to use for obtaining the StorageOS API credentials.SecretRef specifies the secret to use for obtaining the StorageOS API credentials.SecretRef specifies the secret to use for obtaining the StorageOS API credentials.VolumeName is the human-readable name of the StorageOS volume.com.google.protobuf.ByteStringVolumeName is the human-readable name of the StorageOS volume.VolumeNamespace specifies the scope of the volume within StorageOS.com.google.protobuf.ByteStringVolumeNamespace specifies the scope of the volume within StorageOS.booleanFilesystem type to mount.booleanDefaults to false (read/write).booleanSecretRef specifies the secret to use for obtaining the StorageOS API credentials.booleanVolumeName is the human-readable name of the StorageOS volume.booleanVolumeNamespace specifies the scope of the volume within StorageOS.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) SecretRef specifies the secret to use for obtaining the StorageOS API credentials.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Filesystem type to mount.setFsTypeBytes(com.google.protobuf.ByteString value) Filesystem type to mount.setReadOnly(boolean value) Defaults to false (read/write).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) SecretRef specifies the secret to use for obtaining the StorageOS API credentials.setSecretRef(V1.LocalObjectReference.Builder builderForValue) SecretRef specifies the secret to use for obtaining the StorageOS API credentials.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeName(String value) VolumeName is the human-readable name of the StorageOS volume.setVolumeNameBytes(com.google.protobuf.ByteString value) VolumeName is the human-readable name of the StorageOS volume.setVolumeNamespace(String value) VolumeNamespace specifies the scope of the volume within StorageOS.setVolumeNamespaceBytes(com.google.protobuf.ByteString value) VolumeNamespace specifies the scope of the volume within StorageOS.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
setField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
clearField
public V1.StorageOSVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-
clearOneof
public V1.StorageOSVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-
setRepeatedField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
addRepeatedField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.StorageOSVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-
mergeFrom
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>- Throws:
IOException
-
hasVolumeName
public boolean hasVolumeName()VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Specified by:
hasVolumeNamein interfaceV1.StorageOSVolumeSourceOrBuilder
-
getVolumeName
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Specified by:
getVolumeNamein interfaceV1.StorageOSVolumeSourceOrBuilder
-
getVolumeNameBytes
public 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;- Specified by:
getVolumeNameBytesin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setVolumeName
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1; -
clearVolumeName
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1; -
setVolumeNameBytes
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1; -
hasVolumeNamespace
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;- Specified by:
hasVolumeNamespacein interfaceV1.StorageOSVolumeSourceOrBuilder
-
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;- Specified by:
getVolumeNamespacein interfaceV1.StorageOSVolumeSourceOrBuilder
-
getVolumeNamespaceBytes
public 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;- Specified by:
getVolumeNamespaceBytesin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setVolumeNamespace
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; -
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; -
setVolumeNamespaceBytes
public V1.StorageOSVolumeSource.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; -
hasFsType
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;- Specified by:
hasFsTypein interfaceV1.StorageOSVolumeSourceOrBuilder
-
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;- Specified by:
getFsTypein interfaceV1.StorageOSVolumeSourceOrBuilder
-
getFsTypeBytes
public 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;- Specified by:
getFsTypeBytesin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setFsType
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; -
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; -
setFsTypeBytes
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; -
hasReadOnly
public boolean hasReadOnly()Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
hasReadOnlyin interfaceV1.StorageOSVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
getReadOnlyin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setReadOnly
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4; -
clearReadOnly
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4; -
hasSecretRef
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.LocalObjectReference secretRef = 5;- Specified by:
hasSecretRefin interfaceV1.StorageOSVolumeSourceOrBuilder
-
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.LocalObjectReference secretRef = 5;- Specified by:
getSecretRefin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setSecretRef
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.LocalObjectReference secretRef = 5; -
setSecretRef
public V1.StorageOSVolumeSource.Builder setSecretRef(V1.LocalObjectReference.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.LocalObjectReference secretRef = 5; -
mergeSecretRef
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.LocalObjectReference secretRef = 5; -
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.LocalObjectReference secretRef = 5; -
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.LocalObjectReference secretRef = 5; -
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.LocalObjectReference secretRef = 5;- Specified by:
getSecretRefOrBuilderin interfaceV1.StorageOSVolumeSourceOrBuilder
-
setUnknownFields
public final V1.StorageOSVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-
mergeUnknownFields
public final V1.StorageOSVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-