Package k8s.io.api.core.v1
Class Generated.SecretProjection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
- k8s.io.api.core.v1.Generated.SecretProjection.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.SecretProjectionOrBuilder
- Enclosing class:
- Generated.SecretProjection
public static final class Generated.SecretProjection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder> implements Generated.SecretProjectionOrBuilder
Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
Protobuf typek8s.io.api.core.v1.SecretProjection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.SecretProjection.BuilderaddAllItems(Iterable<? extends Generated.KeyToPath> values)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderaddItems(int index, Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderaddItems(int index, Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderaddItems(Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderaddItems(Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret 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 Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.SecretProjectionbuild()Generated.SecretProjectionbuildPartial()Generated.SecretProjection.Builderclear()Generated.SecretProjection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.SecretProjection.BuilderclearItems()items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuilderclearLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.SecretProjection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.SecretProjection.BuilderclearOptional()optional field specify whether the Secret or its key must be defined +optionalGenerated.SecretProjection.Builderclone()Generated.SecretProjectiongetDefaultInstanceForType()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 Secret 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 Secret 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 Secret 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 Secret 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 Secret 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 Secret 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 Secret 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 field specify whether the Secret or its key must be defined +optionalbooleanhasLocalObjectReference()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;booleanhasOptional()optional field specify whether the Secret or its key must be defined +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.SecretProjection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.SecretProjection.BuildermergeFrom(com.google.protobuf.Message other)Generated.SecretProjection.BuildermergeFrom(Generated.SecretProjection other)Generated.SecretProjection.BuildermergeLocalObjectReference(Generated.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.SecretProjection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.SecretProjection.BuilderremoveItems(int index)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.SecretProjection.BuildersetItems(int index, Generated.KeyToPath value)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuildersetItems(int index, Generated.KeyToPath.Builder builderForValue)items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Generated.SecretProjection.BuildersetLocalObjectReference(Generated.LocalObjectReference value)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.SecretProjection.BuildersetLocalObjectReference(Generated.LocalObjectReference.Builder builderForValue)optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;Generated.SecretProjection.BuildersetOptional(boolean value)optional field specify whether the Secret or its key must be defined +optionalGenerated.SecretProjection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.SecretProjection.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.SecretProjection.Builder>
-
clear
public Generated.SecretProjection.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.SecretProjection.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.SecretProjection.Builder>
-
getDefaultInstanceForType
public Generated.SecretProjection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.SecretProjection build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.SecretProjection buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.SecretProjection.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.SecretProjection.Builder>
-
setField
public Generated.SecretProjection.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.SecretProjection.Builder>
-
clearField
public Generated.SecretProjection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
clearOneof
public Generated.SecretProjection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
setRepeatedField
public Generated.SecretProjection.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.SecretProjection.Builder>
-
addRepeatedField
public Generated.SecretProjection.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.SecretProjection.Builder>
-
mergeFrom
public Generated.SecretProjection.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.SecretProjection.Builder>
-
mergeFrom
public Generated.SecretProjection.Builder mergeFrom(Generated.SecretProjection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
mergeFrom
public Generated.SecretProjection.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.SecretProjection.Builder>- Throws:
IOException
-
hasLocalObjectReference
public boolean hasLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
hasLocalObjectReferencein interfaceGenerated.SecretProjectionOrBuilder- 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.SecretProjectionOrBuilder- Returns:
- The localObjectReference.
-
setLocalObjectReference
public Generated.SecretProjection.Builder setLocalObjectReference(Generated.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
setLocalObjectReference
public Generated.SecretProjection.Builder setLocalObjectReference(Generated.LocalObjectReference.Builder builderForValue)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
mergeLocalObjectReference
public Generated.SecretProjection.Builder mergeLocalObjectReference(Generated.LocalObjectReference value)
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
-
clearLocalObjectReference
public Generated.SecretProjection.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.SecretProjectionOrBuilder
-
getItemsList
public List<Generated.KeyToPath> getItemsList()
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjectionOrBuilder
-
getItemsCount
public int getItemsCount()
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjectionOrBuilder
-
getItems
public Generated.KeyToPath getItems(int index)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjectionOrBuilder
-
setItems
public Generated.SecretProjection.Builder setItems(int index, Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder setItems(int index, Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder addItems(Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder addItems(int index, Generated.KeyToPath value)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder addItems(Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder addItems(int index, Generated.KeyToPath.Builder builderForValue)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder addAllItems(Iterable<? extends Generated.KeyToPath> values)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder clearItems()
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjection.Builder removeItems(int index)
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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 Secret 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 Secret, 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 Secret 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 Secret, 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.SecretProjectionOrBuilder
-
getItemsOrBuilderList
public List<? extends Generated.KeyToPathOrBuilder> getItemsOrBuilderList()
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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.SecretProjectionOrBuilder
-
addItemsBuilder
public Generated.KeyToPath.Builder addItemsBuilder()
items if unspecified, each key-value pair in the Data field of the referenced Secret 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 Secret, 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 Secret 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 Secret, 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 Secret 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 Secret, 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;
-
hasOptional
public boolean hasOptional()
optional field specify whether the Secret or its key must be defined +optional
optional bool optional = 4;- Specified by:
hasOptionalin interfaceGenerated.SecretProjectionOrBuilder- Returns:
- Whether the optional field is set.
-
getOptional
public boolean getOptional()
optional field specify whether the Secret or its key must be defined +optional
optional bool optional = 4;- Specified by:
getOptionalin interfaceGenerated.SecretProjectionOrBuilder- Returns:
- The optional.
-
setOptional
public Generated.SecretProjection.Builder setOptional(boolean value)
optional field specify whether the Secret or its key must be defined +optional
optional bool optional = 4;- Parameters:
value- The optional to set.- Returns:
- This builder for chaining.
-
clearOptional
public Generated.SecretProjection.Builder clearOptional()
optional field specify whether the Secret or its key must be defined +optional
optional bool optional = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.SecretProjection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
mergeUnknownFields
public final Generated.SecretProjection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.SecretProjection.Builder>
-
-