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