Package k8s.io.api.core.v1
Interface Generated.ConfigMapOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ConfigMap,Generated.ConfigMap.Builder
- Enclosing class:
- Generated
public static interface Generated.ConfigMapOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
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;- Returns:
- Whether the metadata field is set.
-
getMetadata
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;- Returns:
- The metadata.
-
getMetadataOrBuilder
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;
-
hasImmutable
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;- Returns:
- Whether the immutable field is set.
-
getImmutable
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;- Returns:
- The immutable.
-
getDataCount
int getDataCount()
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
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;
-
getData
@Deprecated Map<String,String> getData()
Deprecated.UsegetDataMap()instead.
-
getDataMap
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;
-
getDataOrDefault
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;
-
getDataOrThrow
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;
-
getBinaryDataCount
int getBinaryDataCount()
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
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;
-
getBinaryData
@Deprecated Map<String,com.google.protobuf.ByteString> getBinaryData()
Deprecated.UsegetBinaryDataMap()instead.
-
getBinaryDataMap
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;
-
getBinaryDataOrDefault
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;
-
getBinaryDataOrThrow
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;
-
-