public static final class ContainerKilledEvent.Builder extends GeneratedMessageV3.Builder<ContainerKilledEvent.Builder> implements ContainerKilledEventOrBuilder
An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.
Protobuf type google.cloud.lifesciences.v2beta.ContainerKilledEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContainerKilledEvent.BuilderImplements
ContainerKilledEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerKilledEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContainerKilledEvent.Builder |
build()
public ContainerKilledEvent build()
Type | Description |
ContainerKilledEvent |
buildPartial()
public ContainerKilledEvent buildPartial()
Type | Description |
ContainerKilledEvent |
clear()
public ContainerKilledEvent.Builder clear()
Type | Description |
ContainerKilledEvent.Builder |
clearActionId()
public ContainerKilledEvent.Builder clearActionId()
The numeric ID of the action that started the container.
int32 action_id = 1;
Type | Description |
ContainerKilledEvent.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ContainerKilledEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ContainerKilledEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerKilledEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ContainerKilledEvent.Builder |
clone()
public ContainerKilledEvent.Builder clone()
Type | Description |
ContainerKilledEvent.Builder |
getActionId()
public int getActionId()
The numeric ID of the action that started the container.
int32 action_id = 1;
Type | Description |
int | The actionId. |
getDefaultInstanceForType()
public ContainerKilledEvent getDefaultInstanceForType()
Type | Description |
ContainerKilledEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ContainerKilledEvent other)
public ContainerKilledEvent.Builder mergeFrom(ContainerKilledEvent other)
Name | Description |
other | ContainerKilledEvent |
Type | Description |
ContainerKilledEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContainerKilledEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ContainerKilledEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ContainerKilledEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ContainerKilledEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerKilledEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContainerKilledEvent.Builder |
setActionId(int value)
public ContainerKilledEvent.Builder setActionId(int value)
The numeric ID of the action that started the container.
int32 action_id = 1;
Name | Description |
value | int The actionId to set. |
Type | Description |
ContainerKilledEvent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerKilledEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContainerKilledEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerKilledEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ContainerKilledEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerKilledEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContainerKilledEvent.Builder |