Class ContainerStoppedEvent (0.56.0)

public final class ContainerStoppedEvent extends GeneratedMessageV3 implements ContainerStoppedEventOrBuilder

An event generated when a container exits.

Protobuf type google.cloud.lifesciences.v2beta.ContainerStoppedEvent

Static Fields

ACTION_ID_FIELD_NUMBER

public static final int ACTION_ID_FIELD_NUMBER
Field Value
Type Description
int

EXIT_STATUS_FIELD_NUMBER

public static final int EXIT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

STDERR_FIELD_NUMBER

public static final int STDERR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ContainerStoppedEvent getDefaultInstance()
Returns
Type Description
ContainerStoppedEvent

getDescriptor()

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

newBuilder()

public static ContainerStoppedEvent.Builder newBuilder()
Returns
Type Description
ContainerStoppedEvent.Builder

newBuilder(ContainerStoppedEvent prototype)

public static ContainerStoppedEvent.Builder newBuilder(ContainerStoppedEvent prototype)
Parameter
Name Description
prototype ContainerStoppedEvent
Returns
Type Description
ContainerStoppedEvent.Builder

parseDelimitedFrom(InputStream input)

public static ContainerStoppedEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ContainerStoppedEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContainerStoppedEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContainerStoppedEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ContainerStoppedEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ContainerStoppedEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerStoppedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ContainerStoppedEvent> parser()
Returns
Type Description
Parser<ContainerStoppedEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionId()

public int getActionId()

The numeric ID of the action that started this container.

int32 action_id = 1;

Returns
Type Description
int

The actionId.

getDefaultInstanceForType()

public ContainerStoppedEvent getDefaultInstanceForType()
Returns
Type Description
ContainerStoppedEvent

getExitStatus()

public int getExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
Type Description
int

The exitStatus.

getParserForType()

public Parser<ContainerStoppedEvent> getParserForType()
Returns
Type Description
Parser<ContainerStoppedEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for stderr.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ContainerStoppedEvent.Builder newBuilderForType()
Returns
Type Description
ContainerStoppedEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContainerStoppedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ContainerStoppedEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ContainerStoppedEvent.Builder toBuilder()
Returns
Type Description
ContainerStoppedEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException