Class Generated.ContainerStatus.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.ContainerStatus.Builder>
      • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

        public boolean hasName()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.ContainerStatusOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.ContainerStatusOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.ContainerStatus.Builder setName​(String value)
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.ContainerStatus.Builder clearName()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.ContainerStatus.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasState

        public boolean hasState()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
        Specified by:
        hasState in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the state field is set.
      • clearState

        public Generated.ContainerStatus.Builder clearState()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
      • getStateBuilder

        public Generated.ContainerState.Builder getStateBuilder()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
      • hasLastState

        public boolean hasLastState()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
        Specified by:
        hasLastState in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the lastState field is set.
      • getLastState

        public Generated.ContainerState getLastState()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
        Specified by:
        getLastState in interface Generated.ContainerStatusOrBuilder
        Returns:
        The lastState.
      • setLastState

        public Generated.ContainerStatus.Builder setLastState​(Generated.ContainerState value)
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • setLastState

        public Generated.ContainerStatus.Builder setLastState​(Generated.ContainerState.Builder builderForValue)
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • mergeLastState

        public Generated.ContainerStatus.Builder mergeLastState​(Generated.ContainerState value)
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • clearLastState

        public Generated.ContainerStatus.Builder clearLastState()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • getLastStateBuilder

        public Generated.ContainerState.Builder getLastStateBuilder()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • getLastStateOrBuilder

        public Generated.ContainerStateOrBuilder getLastStateOrBuilder()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
        Specified by:
        getLastStateOrBuilder in interface Generated.ContainerStatusOrBuilder
      • hasReady

        public boolean hasReady()
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Specified by:
        hasReady in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the ready field is set.
      • getReady

        public boolean getReady()
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Specified by:
        getReady in interface Generated.ContainerStatusOrBuilder
        Returns:
        The ready.
      • setReady

        public Generated.ContainerStatus.Builder setReady​(boolean value)
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Parameters:
        value - The ready to set.
        Returns:
        This builder for chaining.
      • clearReady

        public Generated.ContainerStatus.Builder clearReady()
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Returns:
        This builder for chaining.
      • hasRestartCount

        public boolean hasRestartCount()
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Specified by:
        hasRestartCount in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the restartCount field is set.
      • getRestartCount

        public int getRestartCount()
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Specified by:
        getRestartCount in interface Generated.ContainerStatusOrBuilder
        Returns:
        The restartCount.
      • setRestartCount

        public Generated.ContainerStatus.Builder setRestartCount​(int value)
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Parameters:
        value - The restartCount to set.
        Returns:
        This builder for chaining.
      • clearRestartCount

        public Generated.ContainerStatus.Builder clearRestartCount()
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Returns:
        This builder for chaining.
      • hasImage

        public boolean hasImage()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Specified by:
        hasImage in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the image field is set.
      • getImage

        public String getImage()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Specified by:
        getImage in interface Generated.ContainerStatusOrBuilder
        Returns:
        The image.
      • getImageBytes

        public com.google.protobuf.ByteString getImageBytes()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Specified by:
        getImageBytes in interface Generated.ContainerStatusOrBuilder
        Returns:
        The bytes for image.
      • setImage

        public Generated.ContainerStatus.Builder setImage​(String value)
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Parameters:
        value - The image to set.
        Returns:
        This builder for chaining.
      • clearImage

        public Generated.ContainerStatus.Builder clearImage()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Returns:
        This builder for chaining.
      • setImageBytes

        public Generated.ContainerStatus.Builder setImageBytes​(com.google.protobuf.ByteString value)
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Parameters:
        value - The bytes for image to set.
        Returns:
        This builder for chaining.
      • hasImageID

        public boolean hasImageID()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Specified by:
        hasImageID in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the imageID field is set.
      • getImageID

        public String getImageID()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Specified by:
        getImageID in interface Generated.ContainerStatusOrBuilder
        Returns:
        The imageID.
      • getImageIDBytes

        public com.google.protobuf.ByteString getImageIDBytes()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Specified by:
        getImageIDBytes in interface Generated.ContainerStatusOrBuilder
        Returns:
        The bytes for imageID.
      • setImageID

        public Generated.ContainerStatus.Builder setImageID​(String value)
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Parameters:
        value - The imageID to set.
        Returns:
        This builder for chaining.
      • clearImageID

        public Generated.ContainerStatus.Builder clearImageID()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Returns:
        This builder for chaining.
      • setImageIDBytes

        public Generated.ContainerStatus.Builder setImageIDBytes​(com.google.protobuf.ByteString value)
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Parameters:
        value - The bytes for imageID to set.
        Returns:
        This builder for chaining.
      • hasContainerID

        public boolean hasContainerID()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Specified by:
        hasContainerID in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the containerID field is set.
      • getContainerID

        public String getContainerID()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Specified by:
        getContainerID in interface Generated.ContainerStatusOrBuilder
        Returns:
        The containerID.
      • getContainerIDBytes

        public com.google.protobuf.ByteString getContainerIDBytes()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Specified by:
        getContainerIDBytes in interface Generated.ContainerStatusOrBuilder
        Returns:
        The bytes for containerID.
      • setContainerID

        public Generated.ContainerStatus.Builder setContainerID​(String value)
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Parameters:
        value - The containerID to set.
        Returns:
        This builder for chaining.
      • clearContainerID

        public Generated.ContainerStatus.Builder clearContainerID()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Returns:
        This builder for chaining.
      • setContainerIDBytes

        public Generated.ContainerStatus.Builder setContainerIDBytes​(com.google.protobuf.ByteString value)
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Parameters:
        value - The bytes for containerID to set.
        Returns:
        This builder for chaining.
      • hasStarted

        public boolean hasStarted()
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Specified by:
        hasStarted in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the started field is set.
      • getStarted

        public boolean getStarted()
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Specified by:
        getStarted in interface Generated.ContainerStatusOrBuilder
        Returns:
        The started.
      • setStarted

        public Generated.ContainerStatus.Builder setStarted​(boolean value)
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Parameters:
        value - The started to set.
        Returns:
        This builder for chaining.
      • clearStarted

        public Generated.ContainerStatus.Builder clearStarted()
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Returns:
        This builder for chaining.
      • getAllocatedResourcesCount

        public int getAllocatedResourcesCount()
        Description copied from interface: Generated.ContainerStatusOrBuilder
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
        Specified by:
        getAllocatedResourcesCount in interface Generated.ContainerStatusOrBuilder
      • containsAllocatedResources

        public boolean containsAllocatedResources​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
        Specified by:
        containsAllocatedResources in interface Generated.ContainerStatusOrBuilder
      • getAllocatedResourcesMap

        public Map<String,​Generated.Quantity> getAllocatedResourcesMap()
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
        Specified by:
        getAllocatedResourcesMap in interface Generated.ContainerStatusOrBuilder
      • getAllocatedResourcesOrDefault

        public Generated.Quantity getAllocatedResourcesOrDefault​(String key,
                                                                 Generated.Quantity defaultValue)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
        Specified by:
        getAllocatedResourcesOrDefault in interface Generated.ContainerStatusOrBuilder
      • getAllocatedResourcesOrThrow

        public Generated.Quantity getAllocatedResourcesOrThrow​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
        Specified by:
        getAllocatedResourcesOrThrow in interface Generated.ContainerStatusOrBuilder
      • removeAllocatedResources

        public Generated.ContainerStatus.Builder removeAllocatedResources​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • putAllocatedResources

        public Generated.ContainerStatus.Builder putAllocatedResources​(String key,
                                                                       Generated.Quantity value)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • putAllAllocatedResources

        public Generated.ContainerStatus.Builder putAllAllocatedResources​(Map<String,​Generated.Quantity> values)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • putAllocatedResourcesBuilderIfAbsent

        public Generated.Quantity.Builder putAllocatedResourcesBuilderIfAbsent​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • hasResources

        public boolean hasResources()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
        Specified by:
        hasResources in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the resources field is set.
      • getResources

        public Generated.ResourceRequirements getResources()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
        Specified by:
        getResources in interface Generated.ContainerStatusOrBuilder
        Returns:
        The resources.
      • setResources

        public Generated.ContainerStatus.Builder setResources​(Generated.ResourceRequirements value)
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • setResources

        public Generated.ContainerStatus.Builder setResources​(Generated.ResourceRequirements.Builder builderForValue)
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • mergeResources

        public Generated.ContainerStatus.Builder mergeResources​(Generated.ResourceRequirements value)
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • clearResources

        public Generated.ContainerStatus.Builder clearResources()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • getResourcesBuilder

        public Generated.ResourceRequirements.Builder getResourcesBuilder()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • getResourcesOrBuilder

        public Generated.ResourceRequirementsOrBuilder getResourcesOrBuilder()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
        Specified by:
        getResourcesOrBuilder in interface Generated.ContainerStatusOrBuilder
      • getVolumeMountsCount

        public int getVolumeMountsCount()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
        Specified by:
        getVolumeMountsCount in interface Generated.ContainerStatusOrBuilder
      • getVolumeMounts

        public Generated.VolumeMountStatus getVolumeMounts​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
        Specified by:
        getVolumeMounts in interface Generated.ContainerStatusOrBuilder
      • setVolumeMounts

        public Generated.ContainerStatus.Builder setVolumeMounts​(int index,
                                                                 Generated.VolumeMountStatus value)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • setVolumeMounts

        public Generated.ContainerStatus.Builder setVolumeMounts​(int index,
                                                                 Generated.VolumeMountStatus.Builder builderForValue)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMounts

        public Generated.ContainerStatus.Builder addVolumeMounts​(Generated.VolumeMountStatus value)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMounts

        public Generated.ContainerStatus.Builder addVolumeMounts​(int index,
                                                                 Generated.VolumeMountStatus value)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMounts

        public Generated.ContainerStatus.Builder addVolumeMounts​(Generated.VolumeMountStatus.Builder builderForValue)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMounts

        public Generated.ContainerStatus.Builder addVolumeMounts​(int index,
                                                                 Generated.VolumeMountStatus.Builder builderForValue)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addAllVolumeMounts

        public Generated.ContainerStatus.Builder addAllVolumeMounts​(Iterable<? extends Generated.VolumeMountStatus> values)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • clearVolumeMounts

        public Generated.ContainerStatus.Builder clearVolumeMounts()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • removeVolumeMounts

        public Generated.ContainerStatus.Builder removeVolumeMounts​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMountsBuilder

        public Generated.VolumeMountStatus.Builder getVolumeMountsBuilder​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMountsBuilder

        public Generated.VolumeMountStatus.Builder addVolumeMountsBuilder()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • addVolumeMountsBuilder

        public Generated.VolumeMountStatus.Builder addVolumeMountsBuilder​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMountsBuilderList

        public List<Generated.VolumeMountStatus.Builder> getVolumeMountsBuilderList()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • hasUser

        public boolean hasUser()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
        Specified by:
        hasUser in interface Generated.ContainerStatusOrBuilder
        Returns:
        Whether the user field is set.
      • getUser

        public Generated.ContainerUser getUser()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
        Specified by:
        getUser in interface Generated.ContainerStatusOrBuilder
        Returns:
        The user.
      • setUser

        public Generated.ContainerStatus.Builder setUser​(Generated.ContainerUser value)
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
      • mergeUser

        public Generated.ContainerStatus.Builder mergeUser​(Generated.ContainerUser value)
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
      • clearUser

        public Generated.ContainerStatus.Builder clearUser()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
      • getUserBuilder

        public Generated.ContainerUser.Builder getUserBuilder()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
      • getAllocatedResourcesStatusList

        public List<Generated.ResourceStatus> getAllocatedResourcesStatusList()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
        Specified by:
        getAllocatedResourcesStatusList in interface Generated.ContainerStatusOrBuilder
      • getAllocatedResourcesStatusCount

        public int getAllocatedResourcesStatusCount()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
        Specified by:
        getAllocatedResourcesStatusCount in interface Generated.ContainerStatusOrBuilder
      • getAllocatedResourcesStatus

        public Generated.ResourceStatus getAllocatedResourcesStatus​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
        Specified by:
        getAllocatedResourcesStatus in interface Generated.ContainerStatusOrBuilder
      • setAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder setAllocatedResourcesStatus​(int index,
                                                                             Generated.ResourceStatus value)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • setAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder setAllocatedResourcesStatus​(int index,
                                                                             Generated.ResourceStatus.Builder builderForValue)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder addAllocatedResourcesStatus​(Generated.ResourceStatus value)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder addAllocatedResourcesStatus​(int index,
                                                                             Generated.ResourceStatus value)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder addAllocatedResourcesStatus​(Generated.ResourceStatus.Builder builderForValue)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder addAllocatedResourcesStatus​(int index,
                                                                             Generated.ResourceStatus.Builder builderForValue)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder addAllAllocatedResourcesStatus​(Iterable<? extends Generated.ResourceStatus> values)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • clearAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder clearAllocatedResourcesStatus()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • removeAllocatedResourcesStatus

        public Generated.ContainerStatus.Builder removeAllocatedResourcesStatus​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusBuilder

        public Generated.ResourceStatus.Builder getAllocatedResourcesStatusBuilder​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusOrBuilder

        public Generated.ResourceStatusOrBuilder getAllocatedResourcesStatusOrBuilder​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
        Specified by:
        getAllocatedResourcesStatusOrBuilder in interface Generated.ContainerStatusOrBuilder
      • addAllocatedResourcesStatusBuilder

        public Generated.ResourceStatus.Builder addAllocatedResourcesStatusBuilder()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • addAllocatedResourcesStatusBuilder

        public Generated.ResourceStatus.Builder addAllocatedResourcesStatusBuilder​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusBuilderList

        public List<Generated.ResourceStatus.Builder> getAllocatedResourcesStatusBuilderList()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • setUnknownFields

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

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