public static final class V1.PersistentVolumeClaimTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder> implements V1.PersistentVolumeClaimTemplateOrBuilder
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.Protobuf type
k8s.io.api.core.v1.PersistentVolumeClaimTemplate| Modifier and Type | Method and Description |
|---|---|
V1.PersistentVolumeClaimTemplate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeClaimTemplate |
build() |
V1.PersistentVolumeClaimTemplate |
buildPartial() |
V1.PersistentVolumeClaimTemplate.Builder |
clear() |
V1.PersistentVolumeClaimTemplate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PersistentVolumeClaimTemplate.Builder |
clearMetadata()
May contain labels and annotations that will be copied into the PVC
when creating it.
|
V1.PersistentVolumeClaimTemplate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PersistentVolumeClaimTemplate.Builder |
clearSpec()
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimTemplate.Builder |
clone() |
V1.PersistentVolumeClaimTemplate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
May contain labels and annotations that will be copied into the PVC
when creating it.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
May contain labels and annotations that will be copied into the PVC
when creating it.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
May contain labels and annotations that will be copied into the PVC
when creating it.
|
V1.PersistentVolumeClaimSpec |
getSpec()
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimSpec.Builder |
getSpecBuilder()
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimSpecOrBuilder |
getSpecOrBuilder()
The specification for the PersistentVolumeClaim.
|
boolean |
hasMetadata()
May contain labels and annotations that will be copied into the PVC
when creating it.
|
boolean |
hasSpec()
The specification for the PersistentVolumeClaim.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.PersistentVolumeClaimTemplate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PersistentVolumeClaimTemplate.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PersistentVolumeClaimTemplate.Builder |
mergeFrom(V1.PersistentVolumeClaimTemplate other) |
V1.PersistentVolumeClaimTemplate.Builder |
mergeMetadata(Meta.ObjectMeta value)
May contain labels and annotations that will be copied into the PVC
when creating it.
|
V1.PersistentVolumeClaimTemplate.Builder |
mergeSpec(V1.PersistentVolumeClaimSpec value)
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimTemplate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PersistentVolumeClaimTemplate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeClaimTemplate.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
May contain labels and annotations that will be copied into the PVC
when creating it.
|
V1.PersistentVolumeClaimTemplate.Builder |
setMetadata(Meta.ObjectMeta value)
May contain labels and annotations that will be copied into the PVC
when creating it.
|
V1.PersistentVolumeClaimTemplate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PersistentVolumeClaimTemplate.Builder |
setSpec(V1.PersistentVolumeClaimSpec.Builder builderForValue)
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimTemplate.Builder |
setSpec(V1.PersistentVolumeClaimSpec value)
The specification for the PersistentVolumeClaim.
|
V1.PersistentVolumeClaimTemplate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PersistentVolumeClaimTemplate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeClaimTemplate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.Builder mergeFrom(V1.PersistentVolumeClaimTemplate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>public V1.PersistentVolumeClaimTemplate.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.PersistentVolumeClaimTemplate.Builder>IOExceptionpublic boolean hasMetadata()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic Meta.ObjectMeta getMetadata()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic V1.PersistentVolumeClaimTemplate.Builder setMetadata(Meta.ObjectMeta value)
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.PersistentVolumeClaimTemplate.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.PersistentVolumeClaimTemplate.Builder mergeMetadata(Meta.ObjectMeta value)
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.PersistentVolumeClaimTemplate.Builder clearMetadata()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic boolean hasSpec()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;hasSpec in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic V1.PersistentVolumeClaimSpec getSpec()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;getSpec in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic V1.PersistentVolumeClaimTemplate.Builder setSpec(V1.PersistentVolumeClaimSpec value)
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;public V1.PersistentVolumeClaimTemplate.Builder setSpec(V1.PersistentVolumeClaimSpec.Builder builderForValue)
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;public V1.PersistentVolumeClaimTemplate.Builder mergeSpec(V1.PersistentVolumeClaimSpec value)
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;public V1.PersistentVolumeClaimTemplate.Builder clearSpec()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;public V1.PersistentVolumeClaimSpec.Builder getSpecBuilder()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;public V1.PersistentVolumeClaimSpecOrBuilder getSpecOrBuilder()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;getSpecOrBuilder in interface V1.PersistentVolumeClaimTemplateOrBuilderpublic final V1.PersistentVolumeClaimTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>public final V1.PersistentVolumeClaimTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeClaimTemplate.Builder>Copyright © 2023. All rights reserved.