public static final class V1.PersistentVolumeClaimVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder> implements V1.PersistentVolumeClaimVolumeSourceOrBuilder
PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).Protobuf type
k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.PersistentVolumeClaimVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeClaimVolumeSource |
build() |
V1.PersistentVolumeClaimVolumeSource |
buildPartial() |
V1.PersistentVolumeClaimVolumeSource.Builder |
clear() |
V1.PersistentVolumeClaimVolumeSource.Builder |
clearClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
V1.PersistentVolumeClaimVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PersistentVolumeClaimVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PersistentVolumeClaimVolumeSource.Builder |
clearReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
V1.PersistentVolumeClaimVolumeSource.Builder |
clone() |
String |
getClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
com.google.protobuf.ByteString |
getClaimNameBytes()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
V1.PersistentVolumeClaimVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
boolean |
hasClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
boolean |
hasReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(V1.PersistentVolumeClaimVolumeSource other) |
V1.PersistentVolumeClaimVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PersistentVolumeClaimVolumeSource.Builder |
setClaimName(String value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
V1.PersistentVolumeClaimVolumeSource.Builder |
setClaimNameBytes(com.google.protobuf.ByteString value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
V1.PersistentVolumeClaimVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeClaimVolumeSource.Builder |
setReadOnly(boolean value)
Will force the ReadOnly setting in VolumeMounts.
|
V1.PersistentVolumeClaimVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PersistentVolumeClaimVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PersistentVolumeClaimVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeClaimVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.Builder mergeFrom(V1.PersistentVolumeClaimVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>public V1.PersistentVolumeClaimVolumeSource.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.PersistentVolumeClaimVolumeSource.Builder>IOExceptionpublic boolean hasClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;hasClaimName in interface V1.PersistentVolumeClaimVolumeSourceOrBuilderpublic String getClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;getClaimName in interface V1.PersistentVolumeClaimVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getClaimNameBytes()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;getClaimNameBytes in interface V1.PersistentVolumeClaimVolumeSourceOrBuilderpublic V1.PersistentVolumeClaimVolumeSource.Builder setClaimName(String value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;public V1.PersistentVolumeClaimVolumeSource.Builder clearClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;public V1.PersistentVolumeClaimVolumeSource.Builder setClaimNameBytes(com.google.protobuf.ByteString value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;public boolean hasReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;hasReadOnly in interface V1.PersistentVolumeClaimVolumeSourceOrBuilderpublic boolean getReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;getReadOnly in interface V1.PersistentVolumeClaimVolumeSourceOrBuilderpublic V1.PersistentVolumeClaimVolumeSource.Builder setReadOnly(boolean value)
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;public V1.PersistentVolumeClaimVolumeSource.Builder clearReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;public final V1.PersistentVolumeClaimVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>public final V1.PersistentVolumeClaimVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimVolumeSource.Builder>Copyright © 2018. All rights reserved.