Class ContainerStoppedEvent (0.10.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
TypeDescription
int

EXIT_STATUS_FIELD_NUMBER

public static final int EXIT_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

STDERR_FIELD_NUMBER

public static final int STDERR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContainerStoppedEvent getDefaultInstance()
Returns
TypeDescription
ContainerStoppedEvent

getDescriptor()

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

newBuilder()

public static ContainerStoppedEvent.Builder newBuilder()
Returns
TypeDescription
ContainerStoppedEvent.Builder

newBuilder(ContainerStoppedEvent prototype)

public static ContainerStoppedEvent.Builder newBuilder(ContainerStoppedEvent prototype)
Parameter
NameDescription
prototypeContainerStoppedEvent
Returns
TypeDescription
ContainerStoppedEvent.Builder

parseDelimitedFrom(InputStream input)

public static ContainerStoppedEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ContainerStoppedEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContainerStoppedEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContainerStoppedEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ContainerStoppedEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ContainerStoppedEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContainerStoppedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerStoppedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ContainerStoppedEvent> parser()
Returns
TypeDescription
Parser<ContainerStoppedEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getExitStatus()

public int getExitStatus()

The exit status of the container.

int32 exit_status = 2;

Returns
TypeDescription
int

The exitStatus.

getParserForType()

public Parser<ContainerStoppedEvent> getParserForType()
Returns
TypeDescription
Parser<ContainerStoppedEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ContainerStoppedEvent.Builder newBuilderForType()
Returns
TypeDescription
ContainerStoppedEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContainerStoppedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ContainerStoppedEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ContainerStoppedEvent.Builder toBuilder()
Returns
TypeDescription
ContainerStoppedEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException