public static final class PersistentVolumeClaimVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder> implements 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
appscode.kubernetes.v1beta2.PersistentVolumeClaimVolumeSource| Modifier and Type | Method and Description |
|---|---|
PersistentVolumeClaimVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PersistentVolumeClaimVolumeSource |
build() |
PersistentVolumeClaimVolumeSource |
buildPartial() |
PersistentVolumeClaimVolumeSource.Builder |
clear() |
PersistentVolumeClaimVolumeSource.Builder |
clearClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
PersistentVolumeClaimVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PersistentVolumeClaimVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PersistentVolumeClaimVolumeSource.Builder |
clearReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
PersistentVolumeClaimVolumeSource.Builder |
clone() |
java.lang.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.
|
PersistentVolumeClaimVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
PersistentVolumeClaimVolumeSource.Builder |
mergeFrom(PersistentVolumeClaimVolumeSource other) |
PersistentVolumeClaimVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PersistentVolumeClaimVolumeSource.Builder |
setClaimName(java.lang.String value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
|
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.
|
PersistentVolumeClaimVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PersistentVolumeClaimVolumeSource.Builder |
setReadOnly(boolean value)
Will force the ReadOnly setting in VolumeMounts.
|
PersistentVolumeClaimVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, 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<PersistentVolumeClaimVolumeSource.Builder>public 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<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<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PersistentVolumeClaimVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PersistentVolumeClaimVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder mergeFrom(PersistentVolumeClaimVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public PersistentVolumeClaimVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PersistentVolumeClaimVolumeSource.Builder>java.io.IOExceptionpublic java.lang.String getClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
string claimName = 1;getClaimName in interface 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: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
string claimName = 1;getClaimNameBytes in interface PersistentVolumeClaimVolumeSourceOrBuilderpublic PersistentVolumeClaimVolumeSource.Builder setClaimName(java.lang.String value)
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
string claimName = 1;public PersistentVolumeClaimVolumeSource.Builder clearClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
string claimName = 1;public 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: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
string claimName = 1;public boolean getReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
bool readOnly = 2;getReadOnly in interface PersistentVolumeClaimVolumeSourceOrBuilderpublic PersistentVolumeClaimVolumeSource.Builder setReadOnly(boolean value)
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
bool readOnly = 2;public PersistentVolumeClaimVolumeSource.Builder clearReadOnly()
Will force the ReadOnly setting in VolumeMounts. Default false. +optional
bool readOnly = 2;public final PersistentVolumeClaimVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>public final PersistentVolumeClaimVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersistentVolumeClaimVolumeSource.Builder>