Class KubernetesPodData.ContainerStateTerminated.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.ContainerStateTerminated.Builder
- All Implemented Interfaces:
KubernetesPodData.ContainerStateTerminatedOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KubernetesPodData.ContainerStateTerminated
public static final class KubernetesPodData.ContainerStateTerminated.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
implements KubernetesPodData.ContainerStateTerminatedOrBuilder
ContainerStateTerminated is a terminated state of a container.Protobuf type
chalk.kubernetes.v1.KubernetesPodData.ContainerStateTerminated-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Container's ID in the format '<type>://<container_id>' +optionalExit status from the last termination of the containerclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Time at which the container last terminated +optionalMessage regarding the last termination of the container +optionalclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) (brief) reason from the last termination of the container +optionalSignal from the last termination of the container +optionalTime at which previous execution of the container started +optionalclone()Container's ID in the format '<type>://<container_id>' +optionalcom.google.protobuf.ByteStringContainer's ID in the format '<type>://<container_id>' +optionalstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintExit status from the last termination of the containerlongTime at which the container last terminated +optionalMessage regarding the last termination of the container +optionalcom.google.protobuf.ByteStringMessage regarding the last termination of the container +optional(brief) reason from the last termination of the container +optionalcom.google.protobuf.ByteString(brief) reason from the last termination of the container +optionalintSignal from the last termination of the container +optionallongTime at which previous execution of the container started +optionalbooleanContainer's ID in the format '<type>://<container_id>' +optionalbooleanTime at which the container last terminated +optionalbooleanMessage regarding the last termination of the container +optionalboolean(brief) reason from the last termination of the container +optionalbooleanSignal from the last termination of the container +optionalbooleanTime at which previous execution of the container started +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setContainerId(String value) Container's ID in the format '<type>://<container_id>' +optionalsetContainerIdBytes(com.google.protobuf.ByteString value) Container's ID in the format '<type>://<container_id>' +optionalsetExitCode(int value) Exit status from the last termination of the containersetFinishedAt(long value) Time at which the container last terminated +optionalsetMessage(String value) Message regarding the last termination of the container +optionalsetMessageBytes(com.google.protobuf.ByteString value) Message regarding the last termination of the container +optional(brief) reason from the last termination of the container +optionalsetReasonBytes(com.google.protobuf.ByteString value) (brief) reason from the last termination of the container +optionalsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSignal(int value) Signal from the last termination of the container +optionalsetStartedAt(long value) Time at which previous execution of the container started +optionalsetUnknownFields(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.ContainerStateTerminated.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.ContainerStateTerminated.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.ContainerStateTerminated.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.ContainerStateTerminated.Builder>
-
setField
public KubernetesPodData.ContainerStateTerminated.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.ContainerStateTerminated.Builder>
-
clearField
public KubernetesPodData.ContainerStateTerminated.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-
clearOneof
public KubernetesPodData.ContainerStateTerminated.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-
setRepeatedField
public KubernetesPodData.ContainerStateTerminated.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.ContainerStateTerminated.Builder>
-
addRepeatedField
public KubernetesPodData.ContainerStateTerminated.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.ContainerStateTerminated.Builder>
-
mergeFrom
public KubernetesPodData.ContainerStateTerminated.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-
mergeFrom
public KubernetesPodData.ContainerStateTerminated.Builder mergeFrom(KubernetesPodData.ContainerStateTerminated other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-
mergeFrom
public KubernetesPodData.ContainerStateTerminated.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.ContainerStateTerminated.Builder>- Throws:
IOException
-
getExitCode
public int getExitCode()Exit status from the last termination of the container
int32 exit_code = 1 [json_name = "exitCode"];- Specified by:
getExitCodein interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The exitCode.
-
setExitCode
Exit status from the last termination of the container
int32 exit_code = 1 [json_name = "exitCode"];- Parameters:
value- The exitCode to set.- Returns:
- This builder for chaining.
-
clearExitCode
Exit status from the last termination of the container
int32 exit_code = 1 [json_name = "exitCode"];- Returns:
- This builder for chaining.
-
hasSignal
public boolean hasSignal()Signal from the last termination of the container +optional
optional int32 signal = 2 [json_name = "signal"];- Specified by:
hasSignalin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the signal field is set.
-
getSignal
public int getSignal()Signal from the last termination of the container +optional
optional int32 signal = 2 [json_name = "signal"];- Specified by:
getSignalin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The signal.
-
setSignal
Signal from the last termination of the container +optional
optional int32 signal = 2 [json_name = "signal"];- Parameters:
value- The signal to set.- Returns:
- This builder for chaining.
-
clearSignal
Signal from the last termination of the container +optional
optional int32 signal = 2 [json_name = "signal"];- Returns:
- This builder for chaining.
-
hasReason
public boolean hasReason()(brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Specified by:
hasReasonin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the reason field is set.
-
getReason
(brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Specified by:
getReasonin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()(brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Specified by:
getReasonBytesin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The bytes for reason.
-
setReason
(brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
(brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Returns:
- This builder for chaining.
-
setReasonBytes
public KubernetesPodData.ContainerStateTerminated.Builder setReasonBytes(com.google.protobuf.ByteString value) (brief) reason from the last termination of the container +optional
optional string reason = 3 [json_name = "reason"];- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Specified by:
hasMessagein interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Specified by:
getMessagein interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Specified by:
getMessageBytesin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The bytes for message.
-
setMessage
Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Returns:
- This builder for chaining.
-
setMessageBytes
public KubernetesPodData.ContainerStateTerminated.Builder setMessageBytes(com.google.protobuf.ByteString value) Message regarding the last termination of the container +optional
optional string message = 4 [json_name = "message"];- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasStartedAt
public boolean hasStartedAt()Time at which previous execution of the container started +optional
optional int64 started_at = 5 [json_name = "startedAt"];- Specified by:
hasStartedAtin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the startedAt field is set.
-
getStartedAt
public long getStartedAt()Time at which previous execution of the container started +optional
optional int64 started_at = 5 [json_name = "startedAt"];- Specified by:
getStartedAtin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The startedAt.
-
setStartedAt
Time at which previous execution of the container started +optional
optional int64 started_at = 5 [json_name = "startedAt"];- Parameters:
value- The startedAt to set.- Returns:
- This builder for chaining.
-
clearStartedAt
Time at which previous execution of the container started +optional
optional int64 started_at = 5 [json_name = "startedAt"];- Returns:
- This builder for chaining.
-
hasFinishedAt
public boolean hasFinishedAt()Time at which the container last terminated +optional
optional int64 finished_at = 6 [json_name = "finishedAt"];- Specified by:
hasFinishedAtin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the finishedAt field is set.
-
getFinishedAt
public long getFinishedAt()Time at which the container last terminated +optional
optional int64 finished_at = 6 [json_name = "finishedAt"];- Specified by:
getFinishedAtin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The finishedAt.
-
setFinishedAt
Time at which the container last terminated +optional
optional int64 finished_at = 6 [json_name = "finishedAt"];- Parameters:
value- The finishedAt to set.- Returns:
- This builder for chaining.
-
clearFinishedAt
Time at which the container last terminated +optional
optional int64 finished_at = 6 [json_name = "finishedAt"];- Returns:
- This builder for chaining.
-
hasContainerId
public boolean hasContainerId()Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Specified by:
hasContainerIdin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- Whether the containerId field is set.
-
getContainerId
Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Specified by:
getContainerIdin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The containerId.
-
getContainerIdBytes
public com.google.protobuf.ByteString getContainerIdBytes()Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Specified by:
getContainerIdBytesin interfaceKubernetesPodData.ContainerStateTerminatedOrBuilder- Returns:
- The bytes for containerId.
-
setContainerId
Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Parameters:
value- The containerId to set.- Returns:
- This builder for chaining.
-
clearContainerId
Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Returns:
- This builder for chaining.
-
setContainerIdBytes
public KubernetesPodData.ContainerStateTerminated.Builder setContainerIdBytes(com.google.protobuf.ByteString value) Container's ID in the format '<type>://<container_id>' +optional
optional string container_id = 7 [json_name = "containerId"];- Parameters:
value- The bytes for containerId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KubernetesPodData.ContainerStateTerminated.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-
mergeUnknownFields
public final KubernetesPodData.ContainerStateTerminated.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KubernetesPodData.ContainerStateTerminated.Builder>
-