public static final class V1.ConfigMap.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder> implements V1.ConfigMapOrBuilder
ConfigMap holds configuration data for pods to consume.Protobuf type
k8s.io.api.core.v1.ConfigMap| Modifier and Type | Method and Description |
|---|---|
V1.ConfigMap.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ConfigMap |
build() |
V1.ConfigMap |
buildPartial() |
V1.ConfigMap.Builder |
clear() |
V1.ConfigMap.Builder |
clearBinaryData() |
V1.ConfigMap.Builder |
clearData() |
V1.ConfigMap.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.ConfigMap.Builder |
clearMetadata()
Standard object's metadata.
|
V1.ConfigMap.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.ConfigMap.Builder |
clone() |
boolean |
containsBinaryData(String key)
BinaryData contains the binary data.
|
boolean |
containsData(String key)
Data contains the configuration data.
|
Map<String,com.google.protobuf.ByteString> |
getBinaryData()
Deprecated.
|
int |
getBinaryDataCount()
BinaryData contains the binary data.
|
Map<String,com.google.protobuf.ByteString> |
getBinaryDataMap()
BinaryData contains the binary data.
|
com.google.protobuf.ByteString |
getBinaryDataOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
BinaryData contains the binary data.
|
com.google.protobuf.ByteString |
getBinaryDataOrThrow(String key)
BinaryData contains the binary data.
|
Map<String,String> |
getData()
Deprecated.
|
int |
getDataCount()
Data contains the configuration data.
|
Map<String,String> |
getDataMap()
Data contains the configuration data.
|
String |
getDataOrDefault(String key,
String defaultValue)
Data contains the configuration data.
|
String |
getDataOrThrow(String key)
Data contains the configuration data.
|
V1.ConfigMap |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
Map<String,com.google.protobuf.ByteString> |
getMutableBinaryData()
Deprecated.
|
Map<String,String> |
getMutableData()
Deprecated.
|
boolean |
hasMetadata()
Standard object's metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.ConfigMap.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.ConfigMap.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.ConfigMap.Builder |
mergeFrom(V1.ConfigMap other) |
V1.ConfigMap.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1.ConfigMap.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ConfigMap.Builder |
putAllBinaryData(Map<String,com.google.protobuf.ByteString> values)
BinaryData contains the binary data.
|
V1.ConfigMap.Builder |
putAllData(Map<String,String> values)
Data contains the configuration data.
|
V1.ConfigMap.Builder |
putBinaryData(String key,
com.google.protobuf.ByteString value)
BinaryData contains the binary data.
|
V1.ConfigMap.Builder |
putData(String key,
String value)
Data contains the configuration data.
|
V1.ConfigMap.Builder |
removeBinaryData(String key)
BinaryData contains the binary data.
|
V1.ConfigMap.Builder |
removeData(String key)
Data contains the configuration data.
|
V1.ConfigMap.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ConfigMap.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1.ConfigMap.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1.ConfigMap.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.ConfigMap.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.ConfigMap build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.ConfigMap buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.ConfigMap.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder mergeFrom(V1.ConfigMap other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public V1.ConfigMap.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ConfigMap.Builder>IOExceptionpublic boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1.ConfigMapOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1.ConfigMapOrBuilderpublic V1.ConfigMap.Builder setMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.ConfigMap.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.ConfigMap.Builder mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1.ConfigMap.Builder clearMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1.ConfigMapOrBuilderpublic int getDataCount()
V1.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;getDataCount in interface V1.ConfigMapOrBuilderpublic 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;containsData in interface V1.ConfigMapOrBuilder@Deprecated public Map<String,String> getData()
getDataMap() instead.getData in interface V1.ConfigMapOrBuilderpublic 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;getDataMap in interface V1.ConfigMapOrBuilderpublic 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;getDataOrDefault in interface V1.ConfigMapOrBuilderpublic 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;getDataOrThrow in interface V1.ConfigMapOrBuilderpublic V1.ConfigMap.Builder clearData()
public V1.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;@Deprecated public Map<String,String> getMutableData()
public V1.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;public V1.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;public int getBinaryDataCount()
V1.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;getBinaryDataCount in interface V1.ConfigMapOrBuilderpublic 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;containsBinaryData in interface V1.ConfigMapOrBuilder@Deprecated public Map<String,com.google.protobuf.ByteString> getBinaryData()
getBinaryDataMap() instead.getBinaryData in interface V1.ConfigMapOrBuilderpublic 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;getBinaryDataMap in interface V1.ConfigMapOrBuilderpublic 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;getBinaryDataOrDefault in interface V1.ConfigMapOrBuilderpublic 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;getBinaryDataOrThrow in interface V1.ConfigMapOrBuilderpublic V1.ConfigMap.Builder clearBinaryData()
public V1.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;@Deprecated public Map<String,com.google.protobuf.ByteString> getMutableBinaryData()
public V1.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;public V1.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;public final V1.ConfigMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>public final V1.ConfigMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ConfigMap.Builder>Copyright © 2019. All rights reserved.