Class ContainerKilledEvent.Builder (0.55.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerKilledEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

build()

public ContainerKilledEvent build()
Returns
Type Description
ContainerKilledEvent

buildPartial()

public ContainerKilledEvent buildPartial()
Returns
Type Description
ContainerKilledEvent

clear()

public ContainerKilledEvent.Builder clear()
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

clearActionId()

public ContainerKilledEvent.Builder clearActionId()

The numeric ID of the action that started the container.

int32 action_id = 1;

Returns
Type Description
ContainerKilledEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ContainerKilledEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerKilledEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

clone()

public ContainerKilledEvent.Builder clone()
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

getActionId()

public int getActionId()

The numeric ID of the action that started the container.

int32 action_id = 1;

Returns
Type Description
int

The actionId.

getDefaultInstanceForType()

public ContainerKilledEvent getDefaultInstanceForType()
Returns
Type Description
ContainerKilledEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContainerKilledEvent other)

public ContainerKilledEvent.Builder mergeFrom(ContainerKilledEvent other)
Parameter
Name Description
other ContainerKilledEvent
Returns
Type Description
ContainerKilledEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerKilledEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerKilledEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContainerKilledEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerKilledEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

setActionId(int value)

public ContainerKilledEvent.Builder setActionId(int value)

The numeric ID of the action that started the container.

int32 action_id = 1;

Parameter
Name Description
value int

The actionId to set.

Returns
Type Description
ContainerKilledEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerKilledEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContainerKilledEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ContainerKilledEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerKilledEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerKilledEvent.Builder
Overrides