Class Generated.NamespaceStatus.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.NamespaceStatus.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.NamespaceStatus.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.NamespaceStatus.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.NamespaceStatus.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.NamespaceStatus.Builder>
      • mergeFrom

        public Generated.NamespaceStatus.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.NamespaceStatus.Builder>
        Throws:
        IOException
      • hasPhase

        public boolean hasPhase()
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Specified by:
        hasPhase in interface Generated.NamespaceStatusOrBuilder
        Returns:
        Whether the phase field is set.
      • getPhase

        public String getPhase()
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Specified by:
        getPhase in interface Generated.NamespaceStatusOrBuilder
        Returns:
        The phase.
      • getPhaseBytes

        public com.google.protobuf.ByteString getPhaseBytes()
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Specified by:
        getPhaseBytes in interface Generated.NamespaceStatusOrBuilder
        Returns:
        The bytes for phase.
      • setPhase

        public Generated.NamespaceStatus.Builder setPhase​(String value)
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The phase to set.
        Returns:
        This builder for chaining.
      • clearPhase

        public Generated.NamespaceStatus.Builder clearPhase()
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Returns:
        This builder for chaining.
      • setPhaseBytes

        public Generated.NamespaceStatus.Builder setPhaseBytes​(com.google.protobuf.ByteString value)
         Phase is the current lifecycle phase of the namespace.
         More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The bytes for phase to set.
        Returns:
        This builder for chaining.
      • getConditionsCount

        public int getConditionsCount()
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
        Specified by:
        getConditionsCount in interface Generated.NamespaceStatusOrBuilder
      • getConditions

        public Generated.NamespaceCondition getConditions​(int index)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
        Specified by:
        getConditions in interface Generated.NamespaceStatusOrBuilder
      • setConditions

        public Generated.NamespaceStatus.Builder setConditions​(int index,
                                                               Generated.NamespaceCondition value)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • setConditions

        public Generated.NamespaceStatus.Builder setConditions​(int index,
                                                               Generated.NamespaceCondition.Builder builderForValue)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditions

        public Generated.NamespaceStatus.Builder addConditions​(Generated.NamespaceCondition value)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditions

        public Generated.NamespaceStatus.Builder addConditions​(int index,
                                                               Generated.NamespaceCondition value)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditions

        public Generated.NamespaceStatus.Builder addConditions​(Generated.NamespaceCondition.Builder builderForValue)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditions

        public Generated.NamespaceStatus.Builder addConditions​(int index,
                                                               Generated.NamespaceCondition.Builder builderForValue)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addAllConditions

        public Generated.NamespaceStatus.Builder addAllConditions​(Iterable<? extends Generated.NamespaceCondition> values)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • clearConditions

        public Generated.NamespaceStatus.Builder clearConditions()
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • removeConditions

        public Generated.NamespaceStatus.Builder removeConditions​(int index)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • getConditionsBuilder

        public Generated.NamespaceCondition.Builder getConditionsBuilder​(int index)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditionsBuilder

        public Generated.NamespaceCondition.Builder addConditionsBuilder()
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • addConditionsBuilder

        public Generated.NamespaceCondition.Builder addConditionsBuilder​(int index)
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • getConditionsBuilderList

        public List<Generated.NamespaceCondition.Builder> getConditionsBuilderList()
         Represents the latest available observations of a namespace's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NamespaceCondition conditions = 2;
      • setUnknownFields

        public final Generated.NamespaceStatus.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.NamespaceStatus.Builder>
      • mergeUnknownFields

        public final Generated.NamespaceStatus.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.NamespaceStatus.Builder>