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.Descriptor
com.google.protobuf.Descriptors.Descriptor
Filesystem type to mount.com.google.protobuf.ByteString
Filesystem type to mount.boolean
Defaults 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.ByteString
VolumeName is the human-readable name of the StorageOS volume.VolumeNamespace specifies the scope of the volume within StorageOS.com.google.protobuf.ByteString
VolumeNamespace specifies the scope of the volume within StorageOS.boolean
Filesystem type to mount.boolean
Defaults to false (read/write).boolean
SecretRef specifies the secret to use for obtaining the StorageOS API credentials.boolean
VolumeName is the human-readable name of the StorageOS volume.boolean
VolumeNamespace specifies the scope of the volume within StorageOS.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
setField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
clearField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
clearOneof
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
setRepeatedField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
addRepeatedField
public V1.StorageOSVolumeSource.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<V1.StorageOSVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.StorageOSVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasVolumeName
in 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:
getVolumeName
in 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:
getVolumeNameBytes
in 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:
hasVolumeNamespace
in 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:
getVolumeNamespace
in 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:
getVolumeNamespaceBytes
in 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:
hasFsType
in 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:
getFsType
in 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:
getFsTypeBytes
in 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:
hasReadOnly
in 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:
getReadOnly
in 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:
hasSecretRef
in 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:
getSecretRef
in 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:
getSecretRefOrBuilder
in interfaceV1.StorageOSVolumeSourceOrBuilder
-
setUnknownFields
public final V1.StorageOSVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-
mergeUnknownFields
public final V1.StorageOSVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.StorageOSVolumeSource.Builder>
-