Class UnexpectedExitStatusEvent.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UnexpectedExitStatusEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

build()

public UnexpectedExitStatusEvent build()
Returns
TypeDescription
UnexpectedExitStatusEvent

buildPartial()

public UnexpectedExitStatusEvent buildPartial()
Returns
TypeDescription
UnexpectedExitStatusEvent

clear()

public UnexpectedExitStatusEvent.Builder clear()
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

clearActionId()

public UnexpectedExitStatusEvent.Builder clearActionId()

The numeric ID of the action that started the container.

int32 action_id = 1;

Returns
TypeDescription
UnexpectedExitStatusEvent.Builder

This builder for chaining.

clearExitStatus()

public UnexpectedExitStatusEvent.Builder clearExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
TypeDescription
UnexpectedExitStatusEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UnexpectedExitStatusEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UnexpectedExitStatusEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

clone()

public UnexpectedExitStatusEvent.Builder clone()
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

getActionId()

public int getActionId()

The numeric ID of the action that started the container.

int32 action_id = 1;

Returns
TypeDescription
int

The actionId.

getDefaultInstanceForType()

public UnexpectedExitStatusEvent getDefaultInstanceForType()
Returns
TypeDescription
UnexpectedExitStatusEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExitStatus()

public int getExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
TypeDescription
int

The exitStatus.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UnexpectedExitStatusEvent other)

public UnexpectedExitStatusEvent.Builder mergeFrom(UnexpectedExitStatusEvent other)
Parameter
NameDescription
otherUnexpectedExitStatusEvent
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UnexpectedExitStatusEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UnexpectedExitStatusEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UnexpectedExitStatusEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The actionId to set.

Returns
TypeDescription
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
NameDescription
valueint

The exitStatus to set.

Returns
TypeDescription
UnexpectedExitStatusEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UnexpectedExitStatusEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

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

public UnexpectedExitStatusEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UnexpectedExitStatusEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UnexpectedExitStatusEvent.Builder
Overrides