Class Generated.ConfigMap.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • clear

        public Generated.ConfigMap.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • getDefaultInstanceForType

        public Generated.ConfigMap getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.ConfigMap build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.ConfigMap buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Generated.ConfigMap.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • setField

        public Generated.ConfigMap.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • clearField

        public Generated.ConfigMap.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • clearOneof

        public Generated.ConfigMap.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • addRepeatedField

        public Generated.ConfigMap.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • mergeFrom

        public Generated.ConfigMap.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.ConfigMap.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        hasMetadata in interface Generated.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:
        getMetadata in interface Generated.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;
      • 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:
        hasImmutable in interface Generated.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:
        getImmutable in interface Generated.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.ConfigMapOrBuilder
         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:
        getDataCount in interface Generated.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:
        containsData in interface Generated.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:
        getDataMap in interface Generated.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:
        getDataOrDefault in interface Generated.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:
        getDataOrThrow in interface Generated.ConfigMapOrBuilder
      • 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.ConfigMapOrBuilder
         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:
        getBinaryDataCount in interface Generated.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:
        containsBinaryData in interface Generated.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:
        getBinaryDataMap in interface Generated.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:
        getBinaryDataOrDefault in interface Generated.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:
        getBinaryDataOrThrow in interface Generated.ConfigMapOrBuilder
      • 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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>
      • mergeUnknownFields

        public final Generated.ConfigMap.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMap.Builder>