Package k8s.io.api.core.v1
Class Generated.ContainerStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
- k8s.io.api.core.v1.Generated.ContainerStatus.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ContainerStatusOrBuilder
- Enclosing class:
- Generated.ContainerStatus
public static final class Generated.ContainerStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder> implements Generated.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.
Protobuf typek8s.io.api.core.v1.ContainerStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Generated.ContainerStatus.BuilderaddAllAllocatedResourcesStatus(Iterable<? extends Generated.ResourceStatus> values)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderaddAllocatedResourcesStatus(int index, Generated.ResourceStatus value)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderaddAllocatedResourcesStatus(int index, Generated.ResourceStatus.Builder builderForValue)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderaddAllocatedResourcesStatus(Generated.ResourceStatus value)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderaddAllocatedResourcesStatus(Generated.ResourceStatus.Builder builderForValue)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ResourceStatus.BuilderaddAllocatedResourcesStatusBuilder()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ResourceStatus.BuilderaddAllocatedResourcesStatusBuilder(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderaddAllVolumeMounts(Iterable<? extends Generated.VolumeMountStatus> values)Status of volume mounts.Generated.ContainerStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ContainerStatus.BuilderaddVolumeMounts(int index, Generated.VolumeMountStatus value)Status of volume mounts.Generated.ContainerStatus.BuilderaddVolumeMounts(int index, Generated.VolumeMountStatus.Builder builderForValue)Status of volume mounts.Generated.ContainerStatus.BuilderaddVolumeMounts(Generated.VolumeMountStatus value)Status of volume mounts.Generated.ContainerStatus.BuilderaddVolumeMounts(Generated.VolumeMountStatus.Builder builderForValue)Status of volume mounts.Generated.VolumeMountStatus.BuilderaddVolumeMountsBuilder()Status of volume mounts.Generated.VolumeMountStatus.BuilderaddVolumeMountsBuilder(int index)Status of volume mounts.Generated.ContainerStatusbuild()Generated.ContainerStatusbuildPartial()Generated.ContainerStatus.Builderclear()Generated.ContainerStatus.BuilderclearAllocatedResources()Generated.ContainerStatus.BuilderclearAllocatedResourcesStatus()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderclearContainerID()ContainerID is the ID of the container in the format '<type>://<container_id>'.Generated.ContainerStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ContainerStatus.BuilderclearImage()Image is the name of container image that the container is running.Generated.ContainerStatus.BuilderclearImageID()ImageID is the image ID of the container's image.Generated.ContainerStatus.BuilderclearLastState()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStatus.BuilderclearName()Name is a DNS_LABEL representing the unique name of the container.Generated.ContainerStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ContainerStatus.BuilderclearReady()Ready specifies whether the container is currently passing its readiness check.Generated.ContainerStatus.BuilderclearResources()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.Generated.ContainerStatus.BuilderclearRestartCount()RestartCount holds the number of times the container has been restarted.Generated.ContainerStatus.BuilderclearStarted()Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.Generated.ContainerStatus.BuilderclearState()State holds details about the container's current condition.Generated.ContainerStatus.BuilderclearUser()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerStatus.BuilderclearVolumeMounts()Status of volume mounts.Generated.ContainerStatus.Builderclone()booleancontainsAllocatedResources(String key)AllocatedResources represents the compute resources allocated for this container by the node.Map<String,Generated.Quantity>getAllocatedResources()Deprecated.intgetAllocatedResourcesCount()AllocatedResources represents the compute resources allocated for this container by the node.Map<String,Generated.Quantity>getAllocatedResourcesMap()AllocatedResources represents the compute resources allocated for this container by the node.Generated.QuantitygetAllocatedResourcesOrDefault(String key, Generated.Quantity defaultValue)AllocatedResources represents the compute resources allocated for this container by the node.Generated.QuantitygetAllocatedResourcesOrThrow(String key)AllocatedResources represents the compute resources allocated for this container by the node.Generated.ResourceStatusgetAllocatedResourcesStatus(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ResourceStatus.BuildergetAllocatedResourcesStatusBuilder(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.List<Generated.ResourceStatus.Builder>getAllocatedResourcesStatusBuilderList()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.intgetAllocatedResourcesStatusCount()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.List<Generated.ResourceStatus>getAllocatedResourcesStatusList()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ResourceStatusOrBuildergetAllocatedResourcesStatusOrBuilder(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.List<? extends Generated.ResourceStatusOrBuilder>getAllocatedResourcesStatusOrBuilderList()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.StringgetContainerID()ContainerID is the ID of the container in the format '<type>://<container_id>'.com.google.protobuf.ByteStringgetContainerIDBytes()ContainerID is the ID of the container in the format '<type>://<container_id>'.Generated.ContainerStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetImage()Image is the name of container image that the container is running.com.google.protobuf.ByteStringgetImageBytes()Image is the name of container image that the container is running.StringgetImageID()ImageID is the image ID of the container's image.com.google.protobuf.ByteStringgetImageIDBytes()ImageID is the image ID of the container's image.Generated.ContainerStategetLastState()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerState.BuildergetLastStateBuilder()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStateOrBuildergetLastStateOrBuilder()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Map<String,Generated.Quantity>getMutableAllocatedResources()Deprecated.StringgetName()Name is a DNS_LABEL representing the unique name of the container.com.google.protobuf.ByteStringgetNameBytes()Name is a DNS_LABEL representing the unique name of the container.booleangetReady()Ready specifies whether the container is currently passing its readiness check.Generated.ResourceRequirementsgetResources()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.Generated.ResourceRequirements.BuildergetResourcesBuilder()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.Generated.ResourceRequirementsOrBuildergetResourcesOrBuilder()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.intgetRestartCount()RestartCount holds the number of times the container has been restarted.booleangetStarted()Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.Generated.ContainerStategetState()State holds details about the container's current condition.Generated.ContainerState.BuildergetStateBuilder()State holds details about the container's current condition.Generated.ContainerStateOrBuildergetStateOrBuilder()State holds details about the container's current condition.Generated.ContainerUsergetUser()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerUser.BuildergetUserBuilder()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerUserOrBuildergetUserOrBuilder()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.VolumeMountStatusgetVolumeMounts(int index)Status of volume mounts.Generated.VolumeMountStatus.BuildergetVolumeMountsBuilder(int index)Status of volume mounts.List<Generated.VolumeMountStatus.Builder>getVolumeMountsBuilderList()Status of volume mounts.intgetVolumeMountsCount()Status of volume mounts.List<Generated.VolumeMountStatus>getVolumeMountsList()Status of volume mounts.Generated.VolumeMountStatusOrBuildergetVolumeMountsOrBuilder(int index)Status of volume mounts.List<? extends Generated.VolumeMountStatusOrBuilder>getVolumeMountsOrBuilderList()Status of volume mounts.booleanhasContainerID()ContainerID is the ID of the container in the format '<type>://<container_id>'.booleanhasImage()Image is the name of container image that the container is running.booleanhasImageID()ImageID is the image ID of the container's image.booleanhasLastState()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.booleanhasName()Name is a DNS_LABEL representing the unique name of the container.booleanhasReady()Ready specifies whether the container is currently passing its readiness check.booleanhasResources()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.booleanhasRestartCount()RestartCount holds the number of times the container has been restarted.booleanhasStarted()Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.booleanhasState()State holds details about the container's current condition.booleanhasUser()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()Generated.ContainerStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ContainerStatus.BuildermergeFrom(com.google.protobuf.Message other)Generated.ContainerStatus.BuildermergeFrom(Generated.ContainerStatus other)Generated.ContainerStatus.BuildermergeLastState(Generated.ContainerState value)LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStatus.BuildermergeResources(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.Generated.ContainerStatus.BuildermergeState(Generated.ContainerState value)State holds details about the container's current condition.Generated.ContainerStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ContainerStatus.BuildermergeUser(Generated.ContainerUser value)User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerStatus.BuilderputAllAllocatedResources(Map<String,Generated.Quantity> values)AllocatedResources represents the compute resources allocated for this container by the node.Generated.ContainerStatus.BuilderputAllocatedResources(String key, Generated.Quantity value)AllocatedResources represents the compute resources allocated for this container by the node.Generated.Quantity.BuilderputAllocatedResourcesBuilderIfAbsent(String key)AllocatedResources represents the compute resources allocated for this container by the node.Generated.ContainerStatus.BuilderremoveAllocatedResources(String key)AllocatedResources represents the compute resources allocated for this container by the node.Generated.ContainerStatus.BuilderremoveAllocatedResourcesStatus(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuilderremoveVolumeMounts(int index)Status of volume mounts.Generated.ContainerStatus.BuildersetAllocatedResourcesStatus(int index, Generated.ResourceStatus value)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuildersetAllocatedResourcesStatus(int index, Generated.ResourceStatus.Builder builderForValue)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ContainerStatus.BuildersetContainerID(String value)ContainerID is the ID of the container in the format '<type>://<container_id>'.Generated.ContainerStatus.BuildersetContainerIDBytes(com.google.protobuf.ByteString value)ContainerID is the ID of the container in the format '<type>://<container_id>'.Generated.ContainerStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ContainerStatus.BuildersetImage(String value)Image is the name of container image that the container is running.Generated.ContainerStatus.BuildersetImageBytes(com.google.protobuf.ByteString value)Image is the name of container image that the container is running.Generated.ContainerStatus.BuildersetImageID(String value)ImageID is the image ID of the container's image.Generated.ContainerStatus.BuildersetImageIDBytes(com.google.protobuf.ByteString value)ImageID is the image ID of the container's image.Generated.ContainerStatus.BuildersetLastState(Generated.ContainerState value)LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStatus.BuildersetLastState(Generated.ContainerState.Builder builderForValue)LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStatus.BuildersetName(String value)Name is a DNS_LABEL representing the unique name of the container.Generated.ContainerStatus.BuildersetNameBytes(com.google.protobuf.ByteString value)Name is a DNS_LABEL representing the unique name of the container.Generated.ContainerStatus.BuildersetReady(boolean value)Ready specifies whether the container is currently passing its readiness check.Generated.ContainerStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ContainerStatus.BuildersetResources(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.Generated.ContainerStatus.BuildersetResources(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.Generated.ContainerStatus.BuildersetRestartCount(int value)RestartCount holds the number of times the container has been restarted.Generated.ContainerStatus.BuildersetStarted(boolean value)Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.Generated.ContainerStatus.BuildersetState(Generated.ContainerState value)State holds details about the container's current condition.Generated.ContainerStatus.BuildersetState(Generated.ContainerState.Builder builderForValue)State holds details about the container's current condition.Generated.ContainerStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ContainerStatus.BuildersetUser(Generated.ContainerUser value)User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerStatus.BuildersetUser(Generated.ContainerUser.Builder builderForValue)User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerStatus.BuildersetVolumeMounts(int index, Generated.VolumeMountStatus value)Status of volume mounts.Generated.ContainerStatus.BuildersetVolumeMounts(int index, Generated.VolumeMountStatus.Builder builderForValue)Status of volume mounts.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
clear
public Generated.ContainerStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
getDefaultInstanceForType
public Generated.ContainerStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ContainerStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ContainerStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ContainerStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
setField
public Generated.ContainerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
clearField
public Generated.ContainerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
clearOneof
public Generated.ContainerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
setRepeatedField
public Generated.ContainerStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
addRepeatedField
public Generated.ContainerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
mergeFrom
public Generated.ContainerStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ContainerStatus.Builder>
-
mergeFrom
public Generated.ContainerStatus.Builder mergeFrom(Generated.ContainerStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasNamein interfaceGenerated.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:
getNamein interfaceGenerated.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:
getNameBytesin interfaceGenerated.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:
hasStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
public Generated.ContainerState getState()
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The state.
-
setState
public Generated.ContainerStatus.Builder setState(Generated.ContainerState value)
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
setState
public Generated.ContainerStatus.Builder setState(Generated.ContainerState.Builder builderForValue)
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
mergeState
public Generated.ContainerStatus.Builder mergeState(Generated.ContainerState value)
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
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;
-
getStateOrBuilder
public Generated.ContainerStateOrBuilder getStateOrBuilder()
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStateOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
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:
hasLastStatein interfaceGenerated.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:
getLastStatein interfaceGenerated.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:
getLastStateOrBuilderin interfaceGenerated.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:
hasReadyin interfaceGenerated.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:
getReadyin interfaceGenerated.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:
hasRestartCountin interfaceGenerated.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:
getRestartCountin interfaceGenerated.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:
hasImagein interfaceGenerated.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:
getImagein interfaceGenerated.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:
getImageBytesin interfaceGenerated.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:
hasImageIDin interfaceGenerated.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:
getImageIDin interfaceGenerated.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:
getImageIDBytesin interfaceGenerated.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:
hasContainerIDin interfaceGenerated.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:
getContainerIDin interfaceGenerated.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:
getContainerIDBytesin interfaceGenerated.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:
hasStartedin interfaceGenerated.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:
getStartedin interfaceGenerated.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.ContainerStatusOrBuilderAllocatedResources 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:
getAllocatedResourcesCountin interfaceGenerated.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:
containsAllocatedResourcesin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResources
@Deprecated public Map<String,Generated.Quantity> getAllocatedResources()
Deprecated.UsegetAllocatedResourcesMap()instead.- Specified by:
getAllocatedResourcesin interfaceGenerated.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:
getAllocatedResourcesMapin interfaceGenerated.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:
getAllocatedResourcesOrDefaultin interfaceGenerated.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:
getAllocatedResourcesOrThrowin interfaceGenerated.ContainerStatusOrBuilder
-
clearAllocatedResources
public Generated.ContainerStatus.Builder clearAllocatedResources()
-
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;
-
getMutableAllocatedResources
@Deprecated public Map<String,Generated.Quantity> getMutableAllocatedResources()
Deprecated.Use alternate mutation accessors instead.
-
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:
hasResourcesin interfaceGenerated.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:
getResourcesin interfaceGenerated.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:
getResourcesOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsList
public List<Generated.VolumeMountStatus> getVolumeMountsList()
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:
getVolumeMountsListin interfaceGenerated.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:
getVolumeMountsCountin interfaceGenerated.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:
getVolumeMountsin interfaceGenerated.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;
-
getVolumeMountsOrBuilder
public Generated.VolumeMountStatusOrBuilder getVolumeMountsOrBuilder(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:
getVolumeMountsOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsOrBuilderList
public List<? extends Generated.VolumeMountStatusOrBuilder> getVolumeMountsOrBuilderList()
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:
getVolumeMountsOrBuilderListin interfaceGenerated.ContainerStatusOrBuilder
-
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:
hasUserin interfaceGenerated.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:
getUserin interfaceGenerated.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;
-
setUser
public Generated.ContainerStatus.Builder setUser(Generated.ContainerUser.Builder builderForValue)
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;
-
getUserOrBuilder
public Generated.ContainerUserOrBuilder getUserOrBuilder()
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:
getUserOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
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:
getAllocatedResourcesStatusListin interfaceGenerated.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:
getAllocatedResourcesStatusCountin interfaceGenerated.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:
getAllocatedResourcesStatusin interfaceGenerated.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:
getAllocatedResourcesStatusOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatusOrBuilderList
public List<? extends Generated.ResourceStatusOrBuilder> getAllocatedResourcesStatusOrBuilderList()
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:
getAllocatedResourcesStatusOrBuilderListin interfaceGenerated.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
mergeUnknownFields
public final Generated.ContainerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ContainerStatus.Builder>
-
-