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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerKilledEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ContainerKilledEvent build()
Returns
buildPartial()
public ContainerKilledEvent buildPartial()
Returns
clear()
public ContainerKilledEvent.Builder clear()
Returns
Overrides
clearActionId()
public ContainerKilledEvent.Builder clearActionId()
The numeric ID of the action that started the container.
int32 action_id = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ContainerKilledEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerKilledEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ContainerKilledEvent.Builder clone()
Returns
Overrides
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ContainerKilledEvent other)
public ContainerKilledEvent.Builder mergeFrom(ContainerKilledEvent other)
Parameter
Returns
public ContainerKilledEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ContainerKilledEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerKilledEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerKilledEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerKilledEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerKilledEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides