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| Modifier and Type | Method and Description |
|---|---|
V1.CinderPersistentVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.CinderPersistentVolumeSource |
build() |
V1.CinderPersistentVolumeSource |
buildPartial() |
V1.CinderPersistentVolumeSource.Builder |
clear() |
V1.CinderPersistentVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.CinderPersistentVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
V1.CinderPersistentVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.CinderPersistentVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
V1.CinderPersistentVolumeSource.Builder |
clearSecretRef()
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.CinderPersistentVolumeSource.Builder |
clearVolumeID()
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
V1.CinderPersistentVolumeSource.Builder |
clone() |
V1.CinderPersistentVolumeSource |
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()
Optional: Defaults to false (read/write).
|
V1.SecretReference |
getSecretRef()
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.SecretReference.Builder |
getSecretRefBuilder()
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.SecretReferenceOrBuilder |
getSecretRefOrBuilder()
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
String |
getVolumeID()
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
com.google.protobuf.ByteString |
getVolumeIDBytes()
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
boolean |
hasFsType()
Filesystem type to mount.
|
boolean |
hasReadOnly()
Optional: Defaults to false (read/write).
|
boolean |
hasSecretRef()
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
boolean |
hasVolumeID()
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.CinderPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.CinderPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.CinderPersistentVolumeSource.Builder |
mergeFrom(V1.CinderPersistentVolumeSource other) |
V1.CinderPersistentVolumeSource.Builder |
mergeSecretRef(V1.SecretReference value)
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.CinderPersistentVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.CinderPersistentVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.CinderPersistentVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.CinderPersistentVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
V1.CinderPersistentVolumeSource.Builder |
setReadOnly(boolean value)
Optional: Defaults to false (read/write).
|
V1.CinderPersistentVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.CinderPersistentVolumeSource.Builder |
setSecretRef(V1.SecretReference.Builder builderForValue)
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.CinderPersistentVolumeSource.Builder |
setSecretRef(V1.SecretReference value)
Optional: points to a secret object containing parameters used to connect
to OpenStack.
|
V1.CinderPersistentVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.CinderPersistentVolumeSource.Builder |
setVolumeID(String value)
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
V1.CinderPersistentVolumeSource.Builder |
setVolumeIDBytes(com.google.protobuf.ByteString value)
volume id used to identify the volume in cinder
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.CinderPersistentVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.CinderPersistentVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.Builder mergeFrom(V1.CinderPersistentVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>public V1.CinderPersistentVolumeSource.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.CinderPersistentVolumeSource.Builder>IOExceptionpublic boolean hasVolumeID()
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;hasVolumeID in interface V1.CinderPersistentVolumeSourceOrBuilderpublic String getVolumeID()
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;getVolumeID in interface V1.CinderPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getVolumeIDBytes()
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;getVolumeIDBytes in interface V1.CinderPersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSource.Builder setVolumeID(String value)
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;public V1.CinderPersistentVolumeSource.Builder clearVolumeID()
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;public V1.CinderPersistentVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
optional string volumeID = 1;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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;hasFsType in interface V1.CinderPersistentVolumeSourceOrBuilderpublic String 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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;getFsType in interface V1.CinderPersistentVolumeSourceOrBuilderpublic 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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;getFsTypeBytes in interface V1.CinderPersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSource.Builder setFsType(String value)
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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;public V1.CinderPersistentVolumeSource.Builder 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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;public V1.CinderPersistentVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional string fsType = 2;public boolean hasReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;hasReadOnly in interface V1.CinderPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;getReadOnly in interface V1.CinderPersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSource.Builder setReadOnly(boolean value)
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;public V1.CinderPersistentVolumeSource.Builder clearReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional bool readOnly = 3;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;hasSecretRef in interface V1.CinderPersistentVolumeSourceOrBuilderpublic V1.SecretReference getSecretRef()
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;getSecretRef in interface V1.CinderPersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSource.Builder setSecretRef(V1.SecretReference value)
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;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;public V1.CinderPersistentVolumeSource.Builder mergeSecretRef(V1.SecretReference value)
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;public V1.CinderPersistentVolumeSource.Builder clearSecretRef()
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;public V1.SecretReference.Builder getSecretRefBuilder()
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;public V1.SecretReferenceOrBuilder getSecretRefOrBuilder()
Optional: points to a secret object containing parameters used to connect to OpenStack. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 4;getSecretRefOrBuilder in interface V1.CinderPersistentVolumeSourceOrBuilderpublic final V1.CinderPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>public final V1.CinderPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CinderPersistentVolumeSource.Builder>Copyright © 2021. All rights reserved.