Interface V1.ConfigMapOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.ConfigMap, V1.ConfigMap.Builder
Enclosing class:
V1

public static interface V1.ConfigMapOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    BinaryData contains the binary data.
    boolean
    Data contains the configuration data.
    Map<String,com.google.protobuf.ByteString>
    Deprecated.
    int
    BinaryData contains the binary data.
    Map<String,com.google.protobuf.ByteString>
    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
    BinaryData contains the binary data.
    Deprecated.
    int
    Data contains the configuration data.
    Data contains the configuration data.
    getDataOrDefault(String key, String defaultValue)
    Data contains the configuration data.
    Data contains the configuration data.
    boolean
    Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).
    Standard object's metadata.
    Standard object's metadata.
    boolean
    Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).
    boolean
    Standard object's metadata.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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;
    • getMetadata

      Meta.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;
    • getMetadataOrBuilder

      Meta.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;
    • 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;
    • 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.
      Use getDataMap() 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.
      Use getBinaryDataMap() 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;