Class UnexpectedExitStatusEvent.Builder (0.44.0)

public static final class UnexpectedExitStatusEvent.Builder extends GeneratedMessageV3.Builder<UnexpectedExitStatusEvent.Builder> implements UnexpectedExitStatusEventOrBuilder

An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as ALWAYS_RUN will be executed. Other actions will be skipped.

Protobuf type google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UnexpectedExitStatusEvent build()
Returns
Type Description
UnexpectedExitStatusEvent

buildPartial()

public UnexpectedExitStatusEvent buildPartial()
Returns
Type Description
UnexpectedExitStatusEvent

clear()

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

clearActionId()

public UnexpectedExitStatusEvent.Builder clearActionId()

The numeric ID of the action that started the container.

int32 action_id = 1;

Returns
Type Description
UnexpectedExitStatusEvent.Builder

This builder for chaining.

clearExitStatus()

public UnexpectedExitStatusEvent.Builder clearExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
Type Description
UnexpectedExitStatusEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UnexpectedExitStatusEvent.Builder clone()
Returns
Type Description
UnexpectedExitStatusEvent.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 UnexpectedExitStatusEvent getDefaultInstanceForType()
Returns
Type Description
UnexpectedExitStatusEvent

getDescriptorForType()

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

getExitStatus()

public int getExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
Type Description
int

The exitStatus.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UnexpectedExitStatusEvent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActionId(int value)

public UnexpectedExitStatusEvent.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
UnexpectedExitStatusEvent.Builder

This builder for chaining.

setExitStatus(int value)

public UnexpectedExitStatusEvent.Builder setExitStatus(int value)

The exit status of the container.

int32 exit_status = 2;

Parameter
Name Description
value int

The exitStatus to set.

Returns
Type Description
UnexpectedExitStatusEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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