Package k8s.io.api.core.v1
Class Generated.ConfigMapVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.ConfigMapVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ConfigMapVolumeSourceOrBuilder
- Enclosing class:
- Generated.ConfigMapVolumeSource
public static final class Generated.ConfigMapVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder> implements Generated.ConfigMapVolumeSourceOrBuilder
Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
Protobuf typek8s.io.api.core.v1.ConfigMapVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.ConfigMapVolumeSource.BuilderaddAllItems(Iterable<? extends Generated.KeyToPath> values)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderaddItems(int index, Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderaddItems(int index, Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderaddItems(Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderaddItems(Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.KeyToPath.BuilderaddItemsBuilder()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.KeyToPath.BuilderaddItemsBuilder(int index)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ConfigMapVolumeSourcebuild()Generated.ConfigMapVolumeSourcebuildPartial()Generated.ConfigMapVolumeSource.Builderclear()Generated.ConfigMapVolumeSource.BuilderclearDefaultMode()defaultMode is optional: mode bits used to set permissions on created files by default.Generated.ConfigMapVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ConfigMapVolumeSource.BuilderclearItems()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuilderclearLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.ConfigMapVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ConfigMapVolumeSource.BuilderclearOptional()optional specify whether the ConfigMap or its keys must be defined +optionalGenerated.ConfigMapVolumeSource.Builderclone()Generated.ConfigMapVolumeSourcegetDefaultInstanceForType()intgetDefaultMode()defaultMode is optional: mode bits used to set permissions on created files by default.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.KeyToPathgetItems(int index)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.KeyToPath.BuildergetItemsBuilder(int index)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.List<Generated.KeyToPath.Builder>getItemsBuilderList()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.intgetItemsCount()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.List<Generated.KeyToPath>getItemsList()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.KeyToPathOrBuildergetItemsOrBuilder(int index)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.List<? extends Generated.KeyToPathOrBuilder>getItemsOrBuilderList()items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.LocalObjectReferencegetLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.LocalObjectReference.BuildergetLocalObjectReferenceBuilder()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.LocalObjectReferenceOrBuildergetLocalObjectReferenceOrBuilder()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;booleangetOptional()optional specify whether the ConfigMap or its keys must be defined +optionalbooleanhasDefaultMode()defaultMode is optional: mode bits used to set permissions on created files by default.booleanhasLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;booleanhasOptional()optional specify whether the ConfigMap or its keys must be defined +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.ConfigMapVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ConfigMapVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.ConfigMapVolumeSource.BuildermergeFrom(Generated.ConfigMapVolumeSource other)Generated.ConfigMapVolumeSource.BuildermergeLocalObjectReference(Generated.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.ConfigMapVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ConfigMapVolumeSource.BuilderremoveItems(int index)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuildersetDefaultMode(int value)defaultMode is optional: mode bits used to set permissions on created files by default.Generated.ConfigMapVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ConfigMapVolumeSource.BuildersetItems(int index, Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuildersetItems(int index, Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.Generated.ConfigMapVolumeSource.BuildersetLocalObjectReference(Generated.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.ConfigMapVolumeSource.BuildersetLocalObjectReference(Generated.LocalObjectReference.Builder builderForValue)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.ConfigMapVolumeSource.BuildersetOptional(boolean value)optional specify whether the ConfigMap or its keys must be defined +optionalGenerated.ConfigMapVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ConfigMapVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
clear
public Generated.ConfigMapVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.ConfigMapVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ConfigMapVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ConfigMapVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ConfigMapVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
setField
public Generated.ConfigMapVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
clearField
public Generated.ConfigMapVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
clearOneof
public Generated.ConfigMapVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
setRepeatedField
public Generated.ConfigMapVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
addRepeatedField
public Generated.ConfigMapVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
mergeFrom
public Generated.ConfigMapVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ConfigMapVolumeSource.Builder>
-
mergeFrom
public Generated.ConfigMapVolumeSource.Builder mergeFrom(Generated.ConfigMapVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
mergeFrom
public Generated.ConfigMapVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ConfigMapVolumeSource.Builder>- Throws:
IOException
-
hasLocalObjectReference
public boolean hasLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
hasLocalObjectReferencein interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- Whether the localObjectReference field is set.
-
getLocalObjectReference
public Generated.LocalObjectReference getLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
getLocalObjectReferencein interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- The localObjectReference.
-
setLocalObjectReference
public Generated.ConfigMapVolumeSource.Builder setLocalObjectReference(Generated.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
setLocalObjectReference
public Generated.ConfigMapVolumeSource.Builder setLocalObjectReference(Generated.LocalObjectReference.Builder builderForValue)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
mergeLocalObjectReference
public Generated.ConfigMapVolumeSource.Builder mergeLocalObjectReference(Generated.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
clearLocalObjectReference
public Generated.ConfigMapVolumeSource.Builder clearLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
getLocalObjectReferenceBuilder
public Generated.LocalObjectReference.Builder getLocalObjectReferenceBuilder()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
getLocalObjectReferenceOrBuilder
public Generated.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
getLocalObjectReferenceOrBuilderin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
getItemsList
public List<Generated.KeyToPath> getItemsList()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;- Specified by:
getItemsListin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
getItemsCount
public int getItemsCount()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;- Specified by:
getItemsCountin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
getItems
public Generated.KeyToPath getItems(int index)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;- Specified by:
getItemsin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
setItems
public Generated.ConfigMapVolumeSource.Builder setItems(int index, Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
setItems
public Generated.ConfigMapVolumeSource.Builder setItems(int index, Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addItems
public Generated.ConfigMapVolumeSource.Builder addItems(Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addItems
public Generated.ConfigMapVolumeSource.Builder addItems(int index, Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addItems
public Generated.ConfigMapVolumeSource.Builder addItems(Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addItems
public Generated.ConfigMapVolumeSource.Builder addItems(int index, Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addAllItems
public Generated.ConfigMapVolumeSource.Builder addAllItems(Iterable<? extends Generated.KeyToPath> values)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
clearItems
public Generated.ConfigMapVolumeSource.Builder clearItems()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
removeItems
public Generated.ConfigMapVolumeSource.Builder removeItems(int index)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
getItemsBuilder
public Generated.KeyToPath.Builder getItemsBuilder(int index)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
getItemsOrBuilder
public Generated.KeyToPathOrBuilder getItemsOrBuilder(int index)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;- Specified by:
getItemsOrBuilderin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
getItemsOrBuilderList
public List<? extends Generated.KeyToPathOrBuilder> getItemsOrBuilderList()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;- Specified by:
getItemsOrBuilderListin interfaceGenerated.ConfigMapVolumeSourceOrBuilder
-
addItemsBuilder
public Generated.KeyToPath.Builder addItemsBuilder()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
addItemsBuilder
public Generated.KeyToPath.Builder addItemsBuilder(int index)
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
getItemsBuilderList
public List<Generated.KeyToPath.Builder> getItemsBuilderList()
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. +optional +listType=atomic
repeated .k8s.io.api.core.v1.KeyToPath items = 2;
-
hasDefaultMode
public boolean hasDefaultMode()
defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 defaultMode = 3;- Specified by:
hasDefaultModein interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- Whether the defaultMode field is set.
-
getDefaultMode
public int getDefaultMode()
defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 defaultMode = 3;- Specified by:
getDefaultModein interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- The defaultMode.
-
setDefaultMode
public Generated.ConfigMapVolumeSource.Builder setDefaultMode(int value)
defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 defaultMode = 3;- Parameters:
value- The defaultMode to set.- Returns:
- This builder for chaining.
-
clearDefaultMode
public Generated.ConfigMapVolumeSource.Builder clearDefaultMode()
defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 defaultMode = 3;- Returns:
- This builder for chaining.
-
hasOptional
public boolean hasOptional()
optional specify whether the ConfigMap or its keys must be defined +optional
optional bool optional = 4;- Specified by:
hasOptionalin interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- Whether the optional field is set.
-
getOptional
public boolean getOptional()
optional specify whether the ConfigMap or its keys must be defined +optional
optional bool optional = 4;- Specified by:
getOptionalin interfaceGenerated.ConfigMapVolumeSourceOrBuilder- Returns:
- The optional.
-
setOptional
public Generated.ConfigMapVolumeSource.Builder setOptional(boolean value)
optional specify whether the ConfigMap or its keys must be defined +optional
optional bool optional = 4;- Parameters:
value- The optional to set.- Returns:
- This builder for chaining.
-
clearOptional
public Generated.ConfigMapVolumeSource.Builder clearOptional()
optional specify whether the ConfigMap or its keys must be defined +optional
optional bool optional = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.ConfigMapVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.ConfigMapVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapVolumeSource.Builder>
-
-