Package k8s.io.api.core.v1
Class Generated.ConfigMap
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.ConfigMap
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.ConfigMapOrBuilder
- Enclosing class:
- Generated
public static final class Generated.ConfigMap extends com.google.protobuf.GeneratedMessageV3 implements Generated.ConfigMapOrBuilder
ConfigMap holds configuration data for pods to consume.
Protobuf typek8s.io.api.core.v1.ConfigMap- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ConfigMap.BuilderConfigMap holds configuration data for pods to consume.-
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 intBINARYDATA_FIELD_NUMBERstatic intDATA_FIELD_NUMBERstatic intIMMUTABLE_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ConfigMap>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsBinaryData(String key)BinaryData contains the binary data.booleancontainsData(String key)Data contains the configuration data.booleanequals(Object obj)Map<String,com.google.protobuf.ByteString>getBinaryData()Deprecated.intgetBinaryDataCount()BinaryData contains the binary data.Map<String,com.google.protobuf.ByteString>getBinaryDataMap()BinaryData contains the binary data.com.google.protobuf.ByteStringgetBinaryDataOrDefault(String key, com.google.protobuf.ByteString defaultValue)BinaryData contains the binary data.com.google.protobuf.ByteStringgetBinaryDataOrThrow(String key)BinaryData contains the binary data.Map<String,String>getData()Deprecated.intgetDataCount()Data contains the configuration data.Map<String,String>getDataMap()Data contains the configuration data.StringgetDataOrDefault(String key, String defaultValue)Data contains the configuration data.StringgetDataOrThrow(String key)Data contains the configuration data.static Generated.ConfigMapgetDefaultInstance()Generated.ConfigMapgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetImmutable()Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).Generated.ObjectMetagetMetadata()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.com.google.protobuf.Parser<Generated.ConfigMap>getParserForType()intgetSerializedSize()inthashCode()booleanhasImmutable()Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).booleanhasMetadata()Standard object's metadata.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.ConfigMap.BuildernewBuilder()static Generated.ConfigMap.BuildernewBuilder(Generated.ConfigMap prototype)Generated.ConfigMap.BuildernewBuilderForType()protected Generated.ConfigMap.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ConfigMapparseDelimitedFrom(InputStream input)static Generated.ConfigMapparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapparseFrom(byte[] data)static Generated.ConfigMapparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapparseFrom(com.google.protobuf.ByteString data)static Generated.ConfigMapparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ConfigMapparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapparseFrom(InputStream input)static Generated.ConfigMapparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ConfigMapparseFrom(ByteBuffer data)static Generated.ConfigMapparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ConfigMap>parser()Generated.ConfigMap.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, 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
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMMUTABLE_FIELD_NUMBER
public static final int IMMUTABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BINARYDATA_FIELD_NUMBER
public static final int BINARYDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ConfigMap> 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasMetadata
public boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
hasMetadatain interfaceGenerated.ConfigMapOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Generated.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadatain interfaceGenerated.ConfigMapOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadataOrBuilderin interfaceGenerated.ConfigMapOrBuilder
-
hasImmutable
public boolean hasImmutable()
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. +optional
optional bool immutable = 4;- Specified by:
hasImmutablein interfaceGenerated.ConfigMapOrBuilder- Returns:
- Whether the immutable field is set.
-
getImmutable
public boolean getImmutable()
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. +optional
optional bool immutable = 4;- Specified by:
getImmutablein interfaceGenerated.ConfigMapOrBuilder- Returns:
- The immutable.
-
getDataCount
public int getDataCount()
Description copied from interface:Generated.ConfigMapOrBuilderData contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. +optional
map<string, string> data = 2;- Specified by:
getDataCountin interfaceGenerated.ConfigMapOrBuilder
-
containsData
public boolean containsData(String key)
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. +optional
map<string, string> data = 2;- Specified by:
containsDatain interfaceGenerated.ConfigMapOrBuilder
-
getData
@Deprecated public Map<String,String> getData()
Deprecated.UsegetDataMap()instead.- Specified by:
getDatain interfaceGenerated.ConfigMapOrBuilder
-
getDataMap
public Map<String,String> getDataMap()
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. +optional
map<string, string> data = 2;- Specified by:
getDataMapin interfaceGenerated.ConfigMapOrBuilder
-
getDataOrDefault
public String getDataOrDefault(String key, String defaultValue)
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. +optional
map<string, string> data = 2;- Specified by:
getDataOrDefaultin interfaceGenerated.ConfigMapOrBuilder
-
getDataOrThrow
public String getDataOrThrow(String key)
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. +optional
map<string, string> data = 2;- Specified by:
getDataOrThrowin interfaceGenerated.ConfigMapOrBuilder
-
getBinaryDataCount
public int getBinaryDataCount()
Description copied from interface:Generated.ConfigMapOrBuilderBinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. +optional
map<string, bytes> binaryData = 3;- Specified by:
getBinaryDataCountin interfaceGenerated.ConfigMapOrBuilder
-
containsBinaryData
public boolean containsBinaryData(String key)
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. +optional
map<string, bytes> binaryData = 3;- Specified by:
containsBinaryDatain interfaceGenerated.ConfigMapOrBuilder
-
getBinaryData
@Deprecated public Map<String,com.google.protobuf.ByteString> getBinaryData()
Deprecated.UsegetBinaryDataMap()instead.- Specified by:
getBinaryDatain interfaceGenerated.ConfigMapOrBuilder
-
getBinaryDataMap
public Map<String,com.google.protobuf.ByteString> getBinaryDataMap()
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. +optional
map<string, bytes> binaryData = 3;- Specified by:
getBinaryDataMapin interfaceGenerated.ConfigMapOrBuilder
-
getBinaryDataOrDefault
public com.google.protobuf.ByteString getBinaryDataOrDefault(String key, com.google.protobuf.ByteString defaultValue)
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. +optional
map<string, bytes> binaryData = 3;- Specified by:
getBinaryDataOrDefaultin interfaceGenerated.ConfigMapOrBuilder
-
getBinaryDataOrThrow
public com.google.protobuf.ByteString getBinaryDataOrThrow(String key)
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. +optional
map<string, bytes> binaryData = 3;- Specified by:
getBinaryDataOrThrowin interfaceGenerated.ConfigMapOrBuilder
-
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.ConfigMap parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMap parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMap parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMap 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.ConfigMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMap parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ConfigMap parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMap parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ConfigMap parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ConfigMap parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMap parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ConfigMap parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ConfigMap.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ConfigMap.Builder newBuilder()
-
newBuilder
public static Generated.ConfigMap.Builder newBuilder(Generated.ConfigMap prototype)
-
toBuilder
public Generated.ConfigMap.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ConfigMap.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ConfigMap getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ConfigMap> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ConfigMap> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ConfigMap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-