Package k8s.io.api.core.v1
Class Generated.ConfigMapProjection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.ConfigMapProjection
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.ConfigMapProjectionOrBuilder
- Enclosing class:
- Generated
public static final class Generated.ConfigMapProjection extends com.google.protobuf.GeneratedMessageV3 implements Generated.ConfigMapProjectionOrBuilder
Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.
Protobuf typek8s.io.api.core.v1.ConfigMapProjection- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ConfigMapProjection.BuilderAdapts a ConfigMap into a projected volume.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intITEMS_FIELD_NUMBERstatic intLOCALOBJECTREFERENCE_FIELD_NUMBERstatic intOPTIONAL_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ConfigMapProjection>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.ConfigMapProjectiongetDefaultInstance()Generated.ConfigMapProjectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.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.LocalObjectReferenceOrBuildergetLocalObjectReferenceOrBuilder()optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;booleangetOptional()optional specify whether the ConfigMap or its keys must be defined +optionalcom.google.protobuf.Parser<Generated.ConfigMapProjection>getParserForType()intgetSerializedSize()inthashCode()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()static Generated.ConfigMapProjection.BuildernewBuilder()static Generated.ConfigMapProjection.BuildernewBuilder(Generated.ConfigMapProjection prototype)Generated.ConfigMapProjection.BuildernewBuilderForType()protected Generated.ConfigMapProjection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ConfigMapProjectionparseDelimitedFrom(InputStream input)static Generated.ConfigMapProjectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapProjectionparseFrom(byte[] data)static Generated.ConfigMapProjectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapProjectionparseFrom(com.google.protobuf.ByteString data)static Generated.ConfigMapProjectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapProjectionparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ConfigMapProjectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapProjectionparseFrom(InputStream input)static Generated.ConfigMapProjectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapProjectionparseFrom(ByteBuffer data)static Generated.ConfigMapProjectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ConfigMapProjection>parser()Generated.ConfigMapProjection.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LOCALOBJECTREFERENCE_FIELD_NUMBER
public static final int LOCALOBJECTREFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONAL_FIELD_NUMBER
public static final int OPTIONAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ConfigMapProjection> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasLocalObjectReference
public boolean hasLocalObjectReference()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
hasLocalObjectReferencein interfaceGenerated.ConfigMapProjectionOrBuilder- 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.ConfigMapProjectionOrBuilder- Returns:
- The localObjectReference.
-
getLocalObjectReferenceOrBuilder
public Generated.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;- Specified by:
getLocalObjectReferenceOrBuilderin interfaceGenerated.ConfigMapProjectionOrBuilder
-
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.ConfigMapProjectionOrBuilder
-
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.ConfigMapProjectionOrBuilder
-
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.ConfigMapProjectionOrBuilder
-
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.ConfigMapProjectionOrBuilder
-
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.ConfigMapProjectionOrBuilder
-
hasOptional
public boolean hasOptional()
optional specify whether the ConfigMap or its keys must be defined +optional
optional bool optional = 4;- Specified by:
hasOptionalin interfaceGenerated.ConfigMapProjectionOrBuilder- 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.ConfigMapProjectionOrBuilder- Returns:
- The optional.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ConfigMapProjection parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ConfigMapProjection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMapProjection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ConfigMapProjection.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ConfigMapProjection.Builder newBuilder()
-
newBuilder
public static Generated.ConfigMapProjection.Builder newBuilder(Generated.ConfigMapProjection prototype)
-
toBuilder
public Generated.ConfigMapProjection.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ConfigMapProjection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ConfigMapProjection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ConfigMapProjection> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ConfigMapProjection> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ConfigMapProjection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-