Class ContainerStoppedEvent.Builder (0.26.0)

public static final class ContainerStoppedEvent.Builder extends GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder> implements ContainerStoppedEventOrBuilder

An event generated when a container exits.

Protobuf type google.cloud.lifesciences.v2beta.ContainerStoppedEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ContainerStoppedEvent build()
Returns
TypeDescription
ContainerStoppedEvent

buildPartial()

public ContainerStoppedEvent buildPartial()
Returns
TypeDescription
ContainerStoppedEvent

clear()

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

clearActionId()

public ContainerStoppedEvent.Builder clearActionId()

The numeric ID of the action that started this container.

int32 action_id = 1;

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

clearExitStatus()

public ContainerStoppedEvent.Builder clearExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStderr()

public ContainerStoppedEvent.Builder clearStderr()

The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the DISABLE_STANDARD_ERROR_CAPTURE flag.

Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the /google/logs directory mounted into each action, and can be copied off the machine as described elsewhere.

string stderr = 3;

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

clone()

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

getActionId()

public int getActionId()

The numeric ID of the action that started this container.

int32 action_id = 1;

Returns
TypeDescription
int

The actionId.

getDefaultInstanceForType()

public ContainerStoppedEvent getDefaultInstanceForType()
Returns
TypeDescription
ContainerStoppedEvent

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.

getStderr()

public String getStderr()

The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the DISABLE_STANDARD_ERROR_CAPTURE flag.

Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the /google/logs directory mounted into each action, and can be copied off the machine as described elsewhere.

string stderr = 3;

Returns
TypeDescription
String

The stderr.

getStderrBytes()

public ByteString getStderrBytes()

The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the DISABLE_STANDARD_ERROR_CAPTURE flag.

Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the /google/logs directory mounted into each action, and can be copied off the machine as described elsewhere.

string stderr = 3;

Returns
TypeDescription
ByteString

The bytes for stderr.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContainerStoppedEvent other)

public ContainerStoppedEvent.Builder mergeFrom(ContainerStoppedEvent other)
Parameter
NameDescription
otherContainerStoppedEvent
Returns
TypeDescription
ContainerStoppedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerStoppedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerStoppedEvent.Builder
Overrides

setActionId(int value)

public ContainerStoppedEvent.Builder setActionId(int value)

The numeric ID of the action that started this container.

int32 action_id = 1;

Parameter
NameDescription
valueint

The actionId to set.

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

setExitStatus(int value)

public ContainerStoppedEvent.Builder setExitStatus(int value)

The exit status of the container.

int32 exit_status = 2;

Parameter
NameDescription
valueint

The exitStatus to set.

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStderr(String value)

public ContainerStoppedEvent.Builder setStderr(String value)

The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the DISABLE_STANDARD_ERROR_CAPTURE flag.

Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the /google/logs directory mounted into each action, and can be copied off the machine as described elsewhere.

string stderr = 3;

Parameter
NameDescription
valueString

The stderr to set.

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

setStderrBytes(ByteString value)

public ContainerStoppedEvent.Builder setStderrBytes(ByteString value)

The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the DISABLE_STANDARD_ERROR_CAPTURE flag.

Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the /google/logs directory mounted into each action, and can be copied off the machine as described elsewhere.

string stderr = 3;

Parameter
NameDescription
valueByteString

The bytes for stderr to set.

Returns
TypeDescription
ContainerStoppedEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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