Package k8s.io.api.core.v1
Class Generated.ConfigMap.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
- k8s.io.api.core.v1.Generated.ConfigMap.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ConfigMapOrBuilder
- Enclosing class:
- Generated.ConfigMap
public static final class Generated.ConfigMap.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder> implements Generated.ConfigMapOrBuilder
ConfigMap holds configuration data for pods to consume.
Protobuf typek8s.io.api.core.v1.ConfigMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Generated.ConfigMap.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ConfigMapbuild()Generated.ConfigMapbuildPartial()Generated.ConfigMap.Builderclear()Generated.ConfigMap.BuilderclearBinaryData()Generated.ConfigMap.BuilderclearData()Generated.ConfigMap.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ConfigMap.BuilderclearImmutable()Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).Generated.ConfigMap.BuilderclearMetadata()Standard object's metadata.Generated.ConfigMap.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ConfigMap.Builderclone()booleancontainsBinaryData(String key)BinaryData contains the binary data.booleancontainsData(String key)Data contains the configuration data.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.Generated.ConfigMapgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.ObjectMeta.BuildergetMetadataBuilder()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.Map<String,com.google.protobuf.ByteString>getMutableBinaryData()Deprecated.Map<String,String>getMutableData()Deprecated.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)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()Generated.ConfigMap.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ConfigMap.BuildermergeFrom(com.google.protobuf.Message other)Generated.ConfigMap.BuildermergeFrom(Generated.ConfigMap other)Generated.ConfigMap.BuildermergeMetadata(Generated.ObjectMeta value)Standard object's metadata.Generated.ConfigMap.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ConfigMap.BuilderputAllBinaryData(Map<String,com.google.protobuf.ByteString> values)BinaryData contains the binary data.Generated.ConfigMap.BuilderputAllData(Map<String,String> values)Data contains the configuration data.Generated.ConfigMap.BuilderputBinaryData(String key, com.google.protobuf.ByteString value)BinaryData contains the binary data.Generated.ConfigMap.BuilderputData(String key, String value)Data contains the configuration data.Generated.ConfigMap.BuilderremoveBinaryData(String key)BinaryData contains the binary data.Generated.ConfigMap.BuilderremoveData(String key)Data contains the configuration data.Generated.ConfigMap.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ConfigMap.BuildersetImmutable(boolean value)Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).Generated.ConfigMap.BuildersetMetadata(Generated.ObjectMeta value)Standard object's metadata.Generated.ConfigMap.BuildersetMetadata(Generated.ObjectMeta.Builder builderForValue)Standard object's metadata.Generated.ConfigMap.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ConfigMap.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, internalGetMutableMapField, 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
clear
public Generated.ConfigMap.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.ConfigMap.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.ConfigMap.Builder>
-
getDefaultInstanceForType
public Generated.ConfigMap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ConfigMap build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ConfigMap buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ConfigMap.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.ConfigMap.Builder>
-
setField
public Generated.ConfigMap.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.ConfigMap.Builder>
-
clearField
public Generated.ConfigMap.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
clearOneof
public Generated.ConfigMap.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
setRepeatedField
public Generated.ConfigMap.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.ConfigMap.Builder>
-
addRepeatedField
public Generated.ConfigMap.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.ConfigMap.Builder>
-
mergeFrom
public Generated.ConfigMap.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ConfigMap.Builder>
-
mergeFrom
public Generated.ConfigMap.Builder mergeFrom(Generated.ConfigMap other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
mergeFrom
public Generated.ConfigMap.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.ConfigMap.Builder>- Throws:
IOException
-
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.
-
setMetadata
public Generated.ConfigMap.Builder setMetadata(Generated.ObjectMeta value)
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;
-
setMetadata
public Generated.ConfigMap.Builder setMetadata(Generated.ObjectMeta.Builder builderForValue)
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;
-
mergeMetadata
public Generated.ConfigMap.Builder mergeMetadata(Generated.ObjectMeta value)
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;
-
clearMetadata
public Generated.ConfigMap.Builder clearMetadata()
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;
-
getMetadataBuilder
public Generated.ObjectMeta.Builder getMetadataBuilder()
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;
-
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.
-
setImmutable
public Generated.ConfigMap.Builder setImmutable(boolean value)
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;- Parameters:
value- The immutable to set.- Returns:
- This builder for chaining.
-
clearImmutable
public Generated.ConfigMap.Builder clearImmutable()
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;- Returns:
- This builder for chaining.
-
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
-
clearData
public Generated.ConfigMap.Builder clearData()
-
removeData
public Generated.ConfigMap.Builder removeData(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;
-
getMutableData
@Deprecated public Map<String,String> getMutableData()
Deprecated.Use alternate mutation accessors instead.
-
putData
public Generated.ConfigMap.Builder putData(String key, String value)
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;
-
putAllData
public Generated.ConfigMap.Builder putAllData(Map<String,String> values)
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;
-
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
-
clearBinaryData
public Generated.ConfigMap.Builder clearBinaryData()
-
removeBinaryData
public Generated.ConfigMap.Builder removeBinaryData(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;
-
getMutableBinaryData
@Deprecated public Map<String,com.google.protobuf.ByteString> getMutableBinaryData()
Deprecated.Use alternate mutation accessors instead.
-
putBinaryData
public Generated.ConfigMap.Builder putBinaryData(String key, com.google.protobuf.ByteString value)
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;
-
putAllBinaryData
public Generated.ConfigMap.Builder putAllBinaryData(Map<String,com.google.protobuf.ByteString> values)
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;
-
setUnknownFields
public final Generated.ConfigMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
mergeUnknownFields
public final Generated.ConfigMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
-
-