Package io.kubernetes.client.proto
Class V1.ContainerStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
io.kubernetes.client.proto.V1.ContainerStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.ContainerStatusOrBuilder
,Cloneable
- Enclosing class:
- V1.ContainerStatus
public static final class V1.ContainerStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
implements V1.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.Protobuf type
k8s.io.api.core.v1.ContainerStatus
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Container's ID in the format 'docker://<container_id>'.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The image the container is running.ImageID of the container's image.Details about the container's last termination condition.This must be a DNS_LABEL.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies whether the container has passed its readiness probe.The number of times the container has been restarted.Specifies whether the container has passed its startup probe.Details about the container's current condition.clone()
Container's ID in the format 'docker://<container_id>'.com.google.protobuf.ByteString
Container's ID in the format 'docker://<container_id>'.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getImage()
The image the container is running.com.google.protobuf.ByteString
The image the container is running.ImageID of the container's image.com.google.protobuf.ByteString
ImageID of the container's image.Details about the container's last termination condition.Details about the container's last termination condition.Details about the container's last termination condition.getName()
This must be a DNS_LABEL.com.google.protobuf.ByteString
This must be a DNS_LABEL.boolean
getReady()
Specifies whether the container has passed its readiness probe.int
The number of times the container has been restarted.boolean
Specifies whether the container has passed its startup probe.getState()
Details about the container's current condition.Details about the container's current condition.Details about the container's current condition.boolean
Container's ID in the format 'docker://<container_id>'.boolean
hasImage()
The image the container is running.boolean
ImageID of the container's image.boolean
Details about the container's last termination condition.boolean
hasName()
This must be a DNS_LABEL.boolean
hasReady()
Specifies whether the container has passed its readiness probe.boolean
The number of times the container has been restarted.boolean
Specifies whether the container has passed its startup probe.boolean
hasState()
Details about the container's current condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.ContainerStatus other) mergeLastState
(V1.ContainerState value) Details about the container's last termination condition.mergeState
(V1.ContainerState value) Details about the container's current condition.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setContainerID
(String value) Container's ID in the format 'docker://<container_id>'.setContainerIDBytes
(com.google.protobuf.ByteString value) Container's ID in the format 'docker://<container_id>'.The image the container is running.setImageBytes
(com.google.protobuf.ByteString value) The image the container is running.setImageID
(String value) ImageID of the container's image.setImageIDBytes
(com.google.protobuf.ByteString value) ImageID of the container's image.setLastState
(V1.ContainerState value) Details about the container's last termination condition.setLastState
(V1.ContainerState.Builder builderForValue) Details about the container's last termination condition.This must be a DNS_LABEL.setNameBytes
(com.google.protobuf.ByteString value) This must be a DNS_LABEL.setReady
(boolean value) Specifies whether the container has passed its readiness probe.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRestartCount
(int value) The number of times the container has been restarted.setStarted
(boolean value) Specifies whether the container has passed its startup probe.setState
(V1.ContainerState value) Details about the container's current condition.setState
(V1.ContainerState.Builder builderForValue) 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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
setField
public V1.ContainerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
setRepeatedField
public V1.ContainerStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
addRepeatedField
public V1.ContainerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.ContainerStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
mergeFrom
public V1.ContainerStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.ContainerStatus.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
- Specified by:
hasName
in interfaceV1.ContainerStatusOrBuilder
-
getName
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
- Specified by:
getName
in interfaceV1.ContainerStatusOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceV1.ContainerStatusOrBuilder
-
setName
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
clearName
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
setNameBytes
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
hasState
public boolean hasState()Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
- Specified by:
hasState
in interfaceV1.ContainerStatusOrBuilder
-
getState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
- Specified by:
getState
in interfaceV1.ContainerStatusOrBuilder
-
setState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
setState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
mergeState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
clearState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
getStateBuilder
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
getStateOrBuilder
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
- Specified by:
getStateOrBuilder
in interfaceV1.ContainerStatusOrBuilder
-
hasLastState
public boolean hasLastState()Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
- Specified by:
hasLastState
in interfaceV1.ContainerStatusOrBuilder
-
getLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
- Specified by:
getLastState
in interfaceV1.ContainerStatusOrBuilder
-
setLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
setLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
mergeLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
clearLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
getLastStateBuilder
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
getLastStateOrBuilder
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
- Specified by:
getLastStateOrBuilder
in interfaceV1.ContainerStatusOrBuilder
-
hasReady
public boolean hasReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
- Specified by:
hasReady
in interfaceV1.ContainerStatusOrBuilder
-
getReady
public boolean getReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
- Specified by:
getReady
in interfaceV1.ContainerStatusOrBuilder
-
setReady
Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
-
clearReady
Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
-
hasRestartCount
public boolean hasRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
- Specified by:
hasRestartCount
in interfaceV1.ContainerStatusOrBuilder
-
getRestartCount
public int getRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
- Specified by:
getRestartCount
in interfaceV1.ContainerStatusOrBuilder
-
setRestartCount
The number of times the container has been restarted.
optional int32 restartCount = 5;
-
clearRestartCount
The number of times the container has been restarted.
optional int32 restartCount = 5;
-
hasImage
public boolean hasImage()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
- Specified by:
hasImage
in interfaceV1.ContainerStatusOrBuilder
-
getImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
- Specified by:
getImage
in interfaceV1.ContainerStatusOrBuilder
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
- Specified by:
getImageBytes
in interfaceV1.ContainerStatusOrBuilder
-
setImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
clearImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
setImageBytes
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
hasImageID
public boolean hasImageID()ImageID of the container's image.
optional string imageID = 7;
- Specified by:
hasImageID
in interfaceV1.ContainerStatusOrBuilder
-
getImageID
ImageID of the container's image.
optional string imageID = 7;
- Specified by:
getImageID
in interfaceV1.ContainerStatusOrBuilder
-
getImageIDBytes
public com.google.protobuf.ByteString getImageIDBytes()ImageID of the container's image.
optional string imageID = 7;
- Specified by:
getImageIDBytes
in interfaceV1.ContainerStatusOrBuilder
-
setImageID
ImageID of the container's image.
optional string imageID = 7;
-
clearImageID
ImageID of the container's image.
optional string imageID = 7;
-
setImageIDBytes
ImageID of the container's image.
optional string imageID = 7;
-
hasContainerID
public boolean hasContainerID()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
- Specified by:
hasContainerID
in interfaceV1.ContainerStatusOrBuilder
-
getContainerID
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
- Specified by:
getContainerID
in interfaceV1.ContainerStatusOrBuilder
-
getContainerIDBytes
public com.google.protobuf.ByteString getContainerIDBytes()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
- Specified by:
getContainerIDBytes
in interfaceV1.ContainerStatusOrBuilder
-
setContainerID
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
clearContainerID
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
setContainerIDBytes
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
hasStarted
public boolean hasStarted()Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;
- Specified by:
hasStarted
in interfaceV1.ContainerStatusOrBuilder
-
getStarted
public boolean getStarted()Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;
- Specified by:
getStarted
in interfaceV1.ContainerStatusOrBuilder
-
setStarted
Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;
-
clearStarted
Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;
-
setUnknownFields
public final V1.ContainerStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-
mergeUnknownFields
public final V1.ContainerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ContainerStatus.Builder>
-