Package io.kubernetes.client.proto
Class V1.CinderPersistentVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>
io.kubernetes.client.proto.V1.CinderPersistentVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.CinderPersistentVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.CinderPersistentVolumeSource
public static final class V1.CinderPersistentVolumeSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>
implements V1.CinderPersistentVolumeSourceOrBuilder
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.Protobuf type
k8s.io.api.core.v1.CinderPersistentVolumeSource
-
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) Optional: Defaults to false (read/write).Optional: points to a secret object containing parameters used to connect to OpenStack.volume id used to identify the volume in cinder.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
Optional: Defaults to false (read/write).Optional: points to a secret object containing parameters used to connect to OpenStack.Optional: points to a secret object containing parameters used to connect to OpenStack.Optional: points to a secret object containing parameters used to connect to OpenStack.volume id used to identify the volume in cinder.com.google.protobuf.ByteString
volume id used to identify the volume in cinder.boolean
Filesystem type to mount.boolean
Optional: Defaults to false (read/write).boolean
Optional: points to a secret object containing parameters used to connect to OpenStack.boolean
volume id used to identify the volume in cinder.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) mergeSecretRef
(V1.SecretReference value) Optional: points to a secret object containing parameters used to connect to OpenStack.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Filesystem type to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type to mount.setReadOnly
(boolean value) Optional: Defaults to false (read/write).setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecretRef
(V1.SecretReference value) Optional: points to a secret object containing parameters used to connect to OpenStack.setSecretRef
(V1.SecretReference.Builder builderForValue) Optional: points to a secret object containing parameters used to connect to OpenStack.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeID
(String value) volume id used to identify the volume in cinder.setVolumeIDBytes
(com.google.protobuf.ByteString value) volume id used to identify the volume in cinder.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.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
setField
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
clearField
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
clearOneof
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
setRepeatedField
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
addRepeatedField
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.CinderPersistentVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>
-
mergeFrom
public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
- Throws:
IOException
-
hasVolumeID
public boolean hasVolumeID()volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
- Specified by:
hasVolumeID
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getVolumeID
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
- Specified by:
getVolumeID
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getVolumeIDBytes
public com.google.protobuf.ByteString getVolumeIDBytes()volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
- Specified by:
getVolumeIDBytes
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
setVolumeID
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
-
clearVolumeID
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
-
setVolumeIDBytes
public V1.CinderPersistentVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value) volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
optional string volumeID = 1;
-
hasFsType
public boolean hasFsType()Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
- Specified by:
hasFsType
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getFsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
- Specified by:
getFsType
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
- Specified by:
getFsTypeBytes
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
setFsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
-
clearFsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
-
setFsTypeBytes
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional string fsType = 2;
-
hasReadOnly
public boolean hasReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;
- Specified by:
hasReadOnly
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;
- Specified by:
getReadOnly
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
setReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;
-
clearReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;
-
hasSecretRef
public boolean hasSecretRef()Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
- Specified by:
hasSecretRef
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
getSecretRef
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
- Specified by:
getSecretRef
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
setSecretRef
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
-
setSecretRef
public V1.CinderPersistentVolumeSource.Builder setSecretRef(V1.SecretReference.Builder builderForValue) Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
-
mergeSecretRef
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
-
clearSecretRef
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
-
getSecretRefBuilder
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
-
getSecretRefOrBuilder
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;
- Specified by:
getSecretRefOrBuilder
in interfaceV1.CinderPersistentVolumeSourceOrBuilder
-
setUnknownFields
public final V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-
mergeUnknownFields
public final V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>
-