Class Generated.ConfigMapNodeConfigSource.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ConfigMapNodeConfigSource.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.ConfigMapNodeConfigSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.ConfigMapNodeConfigSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.ConfigMapNodeConfigSource.Builder>
      • hasNamespace

        public boolean hasNamespace()
         Namespace is the metadata.namespace of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string namespace = 1;
        Specified by:
        hasNamespace in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        Whether the namespace field is set.
      • getNamespaceBytes

        public com.google.protobuf.ByteString getNamespaceBytes()
         Namespace is the metadata.namespace of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string namespace = 1;
        Specified by:
        getNamespaceBytes in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

        public Generated.ConfigMapNodeConfigSource.Builder setNamespace​(String value)
         Namespace is the metadata.namespace of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public Generated.ConfigMapNodeConfigSource.Builder clearNamespace()
         Namespace is the metadata.namespace of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string namespace = 1;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public Generated.ConfigMapNodeConfigSource.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         Namespace is the metadata.namespace of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Name is the metadata.name of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string name = 2;
        Specified by:
        hasName in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name is the metadata.name of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.ConfigMapNodeConfigSource.Builder setName​(String value)
         Name is the metadata.name of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.ConfigMapNodeConfigSource.Builder clearName()
         Name is the metadata.name of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.ConfigMapNodeConfigSource.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name is the metadata.name of the referenced ConfigMap.
         This field is required in all cases.
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasUid

        public boolean hasUid()
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Specified by:
        hasUid in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        Whether the uid field is set.
      • getUid

        public String getUid()
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Specified by:
        getUid in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Specified by:
        getUidBytes in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Generated.ConfigMapNodeConfigSource.Builder setUid​(String value)
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Generated.ConfigMapNodeConfigSource.Builder clearUid()
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Returns:
        This builder for chaining.
      • setUidBytes

        public Generated.ConfigMapNodeConfigSource.Builder setUidBytes​(com.google.protobuf.ByteString value)
         UID is the metadata.UID of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string uid = 3;
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • hasResourceVersion

        public boolean hasResourceVersion()
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Specified by:
        hasResourceVersion in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        Whether the resourceVersion field is set.
      • getResourceVersion

        public String getResourceVersion()
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Specified by:
        getResourceVersion in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Specified by:
        getResourceVersionBytes in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public Generated.ConfigMapNodeConfigSource.Builder setResourceVersion​(String value)
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public Generated.ConfigMapNodeConfigSource.Builder clearResourceVersion()
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public Generated.ConfigMapNodeConfigSource.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
         This field is forbidden in Node.Spec, and required in Node.Status.
         +optional
         
        optional string resourceVersion = 4;
        Parameters:
        value - The bytes for resourceVersion to set.
        Returns:
        This builder for chaining.
      • hasKubeletConfigKey

        public boolean hasKubeletConfigKey()
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Specified by:
        hasKubeletConfigKey in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        Whether the kubeletConfigKey field is set.
      • getKubeletConfigKey

        public String getKubeletConfigKey()
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Specified by:
        getKubeletConfigKey in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The kubeletConfigKey.
      • getKubeletConfigKeyBytes

        public com.google.protobuf.ByteString getKubeletConfigKeyBytes()
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Specified by:
        getKubeletConfigKeyBytes in interface Generated.ConfigMapNodeConfigSourceOrBuilder
        Returns:
        The bytes for kubeletConfigKey.
      • setKubeletConfigKey

        public Generated.ConfigMapNodeConfigSource.Builder setKubeletConfigKey​(String value)
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Parameters:
        value - The kubeletConfigKey to set.
        Returns:
        This builder for chaining.
      • clearKubeletConfigKey

        public Generated.ConfigMapNodeConfigSource.Builder clearKubeletConfigKey()
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Returns:
        This builder for chaining.
      • setKubeletConfigKeyBytes

        public Generated.ConfigMapNodeConfigSource.Builder setKubeletConfigKeyBytes​(com.google.protobuf.ByteString value)
         KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
         This field is required in all cases.
         
        optional string kubeletConfigKey = 5;
        Parameters:
        value - The bytes for kubeletConfigKey to set.
        Returns:
        This builder for chaining.