public static final class V1.ConfigMapVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder> implements V1.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 type
k8s.io.api.core.v1.ConfigMapVolumeSource| Modifier and Type | Method and Description | 
|---|---|
| V1.ConfigMapVolumeSource.Builder | addAllItems(Iterable<? extends V1.KeyToPath> values)
 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. | 
| V1.ConfigMapVolumeSource.Builder | addItems(int index,
        V1.KeyToPath.Builder builderForValue)
 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. | 
| V1.ConfigMapVolumeSource.Builder | addItems(int index,
        V1.KeyToPath value)
 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. | 
| V1.ConfigMapVolumeSource.Builder | addItems(V1.KeyToPath.Builder builderForValue)
 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. | 
| V1.ConfigMapVolumeSource.Builder | addItems(V1.KeyToPath value)
 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. | 
| V1.KeyToPath.Builder | addItemsBuilder()
 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. | 
| V1.KeyToPath.Builder | addItemsBuilder(int index)
 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. | 
| V1.ConfigMapVolumeSource.Builder | addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                Object value) | 
| V1.ConfigMapVolumeSource | build() | 
| V1.ConfigMapVolumeSource | buildPartial() | 
| V1.ConfigMapVolumeSource.Builder | clear() | 
| V1.ConfigMapVolumeSource.Builder | clearDefaultMode()
 Optional: mode bits to use on created files by default. | 
| V1.ConfigMapVolumeSource.Builder | clearField(com.google.protobuf.Descriptors.FieldDescriptor field) | 
| V1.ConfigMapVolumeSource.Builder | clearItems()
 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. | 
| V1.ConfigMapVolumeSource.Builder | clearLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.ConfigMapVolumeSource.Builder | clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| V1.ConfigMapVolumeSource.Builder | clearOptional()
 Specify whether the ConfigMap or it's keys must be defined
 +optional | 
| V1.ConfigMapVolumeSource.Builder | clone() | 
| V1.ConfigMapVolumeSource | getDefaultInstanceForType() | 
| int | getDefaultMode()
 Optional: mode bits to use on created files by default. | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| V1.KeyToPath | getItems(int index)
 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. | 
| V1.KeyToPath.Builder | getItemsBuilder(int index)
 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<V1.KeyToPath.Builder> | getItemsBuilderList()
 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. | 
| int | getItemsCount()
 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<V1.KeyToPath> | getItemsList()
 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. | 
| V1.KeyToPathOrBuilder | getItemsOrBuilder(int index)
 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 V1.KeyToPathOrBuilder> | getItemsOrBuilderList()
 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. | 
| V1.LocalObjectReference | getLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.LocalObjectReference.Builder | getLocalObjectReferenceBuilder()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.LocalObjectReferenceOrBuilder | getLocalObjectReferenceOrBuilder()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| boolean | getOptional()
 Specify whether the ConfigMap or it's keys must be defined
 +optional | 
| boolean | hasDefaultMode()
 Optional: mode bits to use on created files by default. | 
| boolean | hasLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| boolean | hasOptional()
 Specify whether the ConfigMap or it's keys must be defined
 +optional | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| V1.ConfigMapVolumeSource.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| V1.ConfigMapVolumeSource.Builder | mergeFrom(com.google.protobuf.Message other) | 
| V1.ConfigMapVolumeSource.Builder | mergeFrom(V1.ConfigMapVolumeSource other) | 
| V1.ConfigMapVolumeSource.Builder | mergeLocalObjectReference(V1.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.ConfigMapVolumeSource.Builder | mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
| V1.ConfigMapVolumeSource.Builder | removeItems(int index)
 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. | 
| V1.ConfigMapVolumeSource.Builder | setDefaultMode(int value)
 Optional: mode bits to use on created files by default. | 
| V1.ConfigMapVolumeSource.Builder | setField(com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) | 
| V1.ConfigMapVolumeSource.Builder | setItems(int index,
        V1.KeyToPath.Builder builderForValue)
 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. | 
| V1.ConfigMapVolumeSource.Builder | setItems(int index,
        V1.KeyToPath value)
 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. | 
| V1.ConfigMapVolumeSource.Builder | setLocalObjectReference(V1.LocalObjectReference.Builder builderForValue)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.ConfigMapVolumeSource.Builder | setLocalObjectReference(V1.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
  | 
| V1.ConfigMapVolumeSource.Builder | setOptional(boolean value)
 Specify whether the ConfigMap or it's keys must be defined
 +optional | 
| V1.ConfigMapVolumeSource.Builder | setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value) | 
| V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.ConfigMapVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.ConfigMapVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.Builder mergeFrom(V1.ConfigMapVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder>public V1.ConfigMapVolumeSource.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.ConfigMapVolumeSource.Builder>IOExceptionpublic boolean hasLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 hasLocalObjectReference in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.LocalObjectReference getLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 getLocalObjectReference in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.ConfigMapVolumeSource.Builder setLocalObjectReference(V1.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 public V1.ConfigMapVolumeSource.Builder setLocalObjectReference(V1.LocalObjectReference.Builder builderForValue)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 public V1.ConfigMapVolumeSource.Builder mergeLocalObjectReference(V1.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 public V1.ConfigMapVolumeSource.Builder clearLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 public V1.LocalObjectReference.Builder getLocalObjectReferenceBuilder()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 public V1.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
 getLocalObjectReferenceOrBuilder in interface V1.ConfigMapVolumeSourceOrBuilderpublic List<V1.KeyToPath> getItemsList()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;getItemsList in interface V1.ConfigMapVolumeSourceOrBuilderpublic int getItemsCount()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;getItemsCount in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.KeyToPath getItems(int index)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;getItems in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.ConfigMapVolumeSource.Builder setItems(int index, V1.KeyToPath value)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder setItems(int index, V1.KeyToPath.Builder builderForValue)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder addItems(V1.KeyToPath value)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder addItems(int index, V1.KeyToPath value)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder addItems(V1.KeyToPath.Builder builderForValue)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder addItems(int index, V1.KeyToPath.Builder builderForValue)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder addAllItems(Iterable<? extends V1.KeyToPath> values)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder clearItems()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.ConfigMapVolumeSource.Builder removeItems(int index)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.KeyToPath.Builder getItemsBuilder(int index)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.KeyToPathOrBuilder getItemsOrBuilder(int index)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;getItemsOrBuilder in interface V1.ConfigMapVolumeSourceOrBuilderpublic List<? extends V1.KeyToPathOrBuilder> getItemsOrBuilderList()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;getItemsOrBuilderList in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.KeyToPath.Builder addItemsBuilder()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public V1.KeyToPath.Builder addItemsBuilder(int index)
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public List<V1.KeyToPath.Builder> getItemsBuilderList()
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
repeated .k8s.io.api.core.v1.KeyToPath items = 2;public boolean hasDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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;hasDefaultMode in interface V1.ConfigMapVolumeSourceOrBuilderpublic int getDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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;getDefaultMode in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.ConfigMapVolumeSource.Builder setDefaultMode(int value)
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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;public V1.ConfigMapVolumeSource.Builder clearDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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;public boolean hasOptional()
Specify whether the ConfigMap or it's keys must be defined +optional
optional bool optional = 4;hasOptional in interface V1.ConfigMapVolumeSourceOrBuilderpublic boolean getOptional()
Specify whether the ConfigMap or it's keys must be defined +optional
optional bool optional = 4;getOptional in interface V1.ConfigMapVolumeSourceOrBuilderpublic V1.ConfigMapVolumeSource.Builder setOptional(boolean value)
Specify whether the ConfigMap or it's keys must be defined +optional
optional bool optional = 4;public V1.ConfigMapVolumeSource.Builder clearOptional()
Specify whether the ConfigMap or it's keys must be defined +optional
optional bool optional = 4;public final V1.ConfigMapVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder>public final V1.ConfigMapVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMapVolumeSource.Builder>Copyright © 2020. All rights reserved.