Class KubernetesPodData.ContainerStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.ContainerStatus.Builder
- All Implemented Interfaces:
KubernetesPodData.ContainerStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KubernetesPodData.ContainerStatus
public static final class KubernetesPodData.ContainerStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
implements KubernetesPodData.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.Protobuf type
chalk.kubernetes.v1.KubernetesPodData.ContainerStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()ContainerID is the ID of the container in the format '<type>://<container_id>'.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Image is the name of container image that the container is running.ImageID is the image ID of the container's image.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Name is a DNS_LABEL representing the unique name of the container.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Ready specifies whether the container is currently passing its readiness check.RestartCount holds the number of times the container has been restarted.Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.State holds details about the container's current condition.clone()ContainerID is the ID of the container in the format '<type>://<container_id>'.com.google.protobuf.ByteStringContainerID is the ID of the container in the format '<type>://<container_id>'.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetImage()Image is the name of container image that the container is running.com.google.protobuf.ByteStringImage is the name of container image that the container is running.ImageID is the image ID of the container's image.com.google.protobuf.ByteStringImageID is the image ID of the container's image.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.getName()Name is a DNS_LABEL representing the unique name of the container.com.google.protobuf.ByteStringName is a DNS_LABEL representing the unique name of the container.booleangetReady()Ready specifies whether the container is currently passing its readiness check.intRestartCount holds the number of times the container has been restarted.booleanStarted indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.getState()State holds details about the container's current condition.State holds details about the container's current condition.State holds details about the container's current condition.booleanLastTerminationState holds the last termination state of the container to help debug container crashes and restarts.booleanhasReady()Ready specifies whether the container is currently passing its readiness check.booleanhasState()State holds details about the container's current condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.State holds details about the container's current condition.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setContainerId(String value) ContainerID is the ID of the container in the format '<type>://<container_id>'.setContainerIdBytes(com.google.protobuf.ByteString value) ContainerID is the ID of the container in the format '<type>://<container_id>'.Image is the name of container image that the container is running.setImageBytes(com.google.protobuf.ByteString value) Image is the name of container image that the container is running.setImageId(String value) ImageID is the image ID of the container's image.setImageIdBytes(com.google.protobuf.ByteString value) ImageID is the image ID of the container's image.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.setLastState(KubernetesPodData.ContainerState.Builder builderForValue) LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Name is a DNS_LABEL representing the unique name of the container.setNameBytes(com.google.protobuf.ByteString value) Name is a DNS_LABEL representing the unique name of the container.setReady(boolean value) Ready specifies whether the container is currently passing its readiness check.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRestartCount(int value) RestartCount holds the number of times the container has been restarted.setStarted(boolean value) Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.State holds details about the container's current condition.setState(KubernetesPodData.ContainerState.Builder builderForValue) State holds details about the container's current condition.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.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<KubernetesPodData.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<KubernetesPodData.ContainerStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<KubernetesPodData.ContainerStatus.Builder>
-
setField
public KubernetesPodData.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<KubernetesPodData.ContainerStatus.Builder>
-
clearField
public KubernetesPodData.ContainerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
-
clearOneof
public KubernetesPodData.ContainerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
-
setRepeatedField
public KubernetesPodData.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<KubernetesPodData.ContainerStatus.Builder>
-
addRepeatedField
public KubernetesPodData.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<KubernetesPodData.ContainerStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KubernetesPodData.ContainerStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
-
mergeFrom
public KubernetesPodData.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<KubernetesPodData.ContainerStatus.Builder>- Throws:
IOException
-
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.
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceKubernetesPodData.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.
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for name.
-
setName
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.
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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.
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
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.
string name = 1 [json_name = "name"];- 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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
hasStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
getStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The state.
-
setState
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"]; -
setState
public KubernetesPodData.ContainerStatus.Builder setState(KubernetesPodData.ContainerState.Builder builderForValue) State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"]; -
mergeState
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"]; -
clearState
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"]; -
getStateBuilder
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"]; -
getStateOrBuilder
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
getStateOrBuilderin interfaceKubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
hasLastStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- Whether the lastState field is set.
-
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
getLastStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The lastState.
-
setLastState
public KubernetesPodData.ContainerStatus.Builder setLastState(KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"]; -
setLastState
public KubernetesPodData.ContainerStatus.Builder setLastState(KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"]; -
mergeLastState
public KubernetesPodData.ContainerStatus.Builder mergeLastState(KubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"]; -
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"]; -
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"]; -
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
getLastStateOrBuilderin interfaceKubernetesPodData.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 [json_name = "ready"];- Specified by:
hasReadyin interfaceKubernetesPodData.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 [json_name = "ready"];- Specified by:
getReadyin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The ready.
-
setReady
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 [json_name = "ready"];- Parameters:
value- The ready to set.- Returns:
- This builder for chaining.
-
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 [json_name = "ready"];- Returns:
- This builder for chaining.
-
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.
int32 restart_count = 5 [json_name = "restartCount"];- Specified by:
getRestartCountin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The restartCount.
-
setRestartCount
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.
int32 restart_count = 5 [json_name = "restartCount"];- Parameters:
value- The restartCount to set.- Returns:
- This builder for chaining.
-
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.
int32 restart_count = 5 [json_name = "restartCount"];- Returns:
- This builder for chaining.
-
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.
string image = 6 [json_name = "image"];- Specified by:
getImagein interfaceKubernetesPodData.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.
string image = 6 [json_name = "image"];- Specified by:
getImageBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for image.
-
setImage
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.
string image = 6 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
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.
string image = 6 [json_name = "image"];- Returns:
- This builder for chaining.
-
setImageBytes
public KubernetesPodData.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.
string image = 6 [json_name = "image"];- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
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.
string image_id = 7 [json_name = "imageId"];- Specified by:
getImageIdin interfaceKubernetesPodData.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.
string image_id = 7 [json_name = "imageId"];- Specified by:
getImageIdBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for imageId.
-
setImageId
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.
string image_id = 7 [json_name = "imageId"];- Parameters:
value- The imageId to set.- Returns:
- This builder for chaining.
-
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.
string image_id = 7 [json_name = "imageId"];- Returns:
- This builder for chaining.
-
setImageIdBytes
public KubernetesPodData.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.
string image_id = 7 [json_name = "imageId"];- Parameters:
value- The bytes for imageId to set.- Returns:
- This builder for chaining.
-
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
string container_id = 8 [json_name = "containerId"];- Specified by:
getContainerIdin interfaceKubernetesPodData.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
string container_id = 8 [json_name = "containerId"];- Specified by:
getContainerIdBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for containerId.
-
setContainerId
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
string container_id = 8 [json_name = "containerId"];- Parameters:
value- The containerId to set.- Returns:
- This builder for chaining.
-
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
string container_id = 8 [json_name = "containerId"];- Returns:
- This builder for chaining.
-
setContainerIdBytes
public KubernetesPodData.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
string container_id = 8 [json_name = "containerId"];- Parameters:
value- The bytes for containerId to set.- Returns:
- This builder for chaining.
-
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.
bool started = 9 [json_name = "started"];- Specified by:
getStartedin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The started.
-
setStarted
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.
bool started = 9 [json_name = "started"];- Parameters:
value- The started to set.- Returns:
- This builder for chaining.
-
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.
bool started = 9 [json_name = "started"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final KubernetesPodData.ContainerStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
-
mergeUnknownFields
public final KubernetesPodData.ContainerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStatus.Builder>
-