Class ContainerStoppedEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
- com.google.cloud.lifesciences.v2beta.ContainerStoppedEvent.Builder
-
- All Implemented Interfaces:
ContainerStoppedEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ContainerStoppedEvent
public static final class ContainerStoppedEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder> implements ContainerStoppedEventOrBuilder
An event generated when a container exits.
Protobuf typegoogle.cloud.lifesciences.v2beta.ContainerStoppedEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerStoppedEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ContainerStoppedEvent
build()
ContainerStoppedEvent
buildPartial()
ContainerStoppedEvent.Builder
clear()
ContainerStoppedEvent.Builder
clearActionId()
The numeric ID of the action that started this container.ContainerStoppedEvent.Builder
clearExitStatus()
The exit status of the container.ContainerStoppedEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ContainerStoppedEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ContainerStoppedEvent.Builder
clearStderr()
The tail end of any content written to standard error by the container.ContainerStoppedEvent.Builder
clone()
int
getActionId()
The numeric ID of the action that started this container.ContainerStoppedEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getExitStatus()
The exit status of the container.String
getStderr()
The tail end of any content written to standard error by the container.com.google.protobuf.ByteString
getStderrBytes()
The tail end of any content written to standard error by the container.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ContainerStoppedEvent.Builder
mergeFrom(ContainerStoppedEvent other)
ContainerStoppedEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ContainerStoppedEvent.Builder
mergeFrom(com.google.protobuf.Message other)
ContainerStoppedEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ContainerStoppedEvent.Builder
setActionId(int value)
The numeric ID of the action that started this container.ContainerStoppedEvent.Builder
setExitStatus(int value)
The exit status of the container.ContainerStoppedEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ContainerStoppedEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ContainerStoppedEvent.Builder
setStderr(String value)
The tail end of any content written to standard error by the container.ContainerStoppedEvent.Builder
setStderrBytes(com.google.protobuf.ByteString value)
The tail end of any content written to standard error by the container.ContainerStoppedEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
clear
public ContainerStoppedEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
getDefaultInstanceForType
public ContainerStoppedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ContainerStoppedEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ContainerStoppedEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ContainerStoppedEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
setField
public ContainerStoppedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
clearField
public ContainerStoppedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
clearOneof
public ContainerStoppedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
setRepeatedField
public ContainerStoppedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
addRepeatedField
public ContainerStoppedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
mergeFrom
public ContainerStoppedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ContainerStoppedEvent.Builder>
-
mergeFrom
public ContainerStoppedEvent.Builder mergeFrom(ContainerStoppedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
mergeFrom
public ContainerStoppedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ContainerStoppedEvent.Builder>
- Throws:
IOException
-
getActionId
public int getActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
- Specified by:
getActionId
in interfaceContainerStoppedEventOrBuilder
- Returns:
- The actionId.
-
setActionId
public ContainerStoppedEvent.Builder setActionId(int value)
The numeric ID of the action that started this container.
int32 action_id = 1;
- Parameters:
value
- The actionId to set.- Returns:
- This builder for chaining.
-
clearActionId
public ContainerStoppedEvent.Builder clearActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
- Returns:
- This builder for chaining.
-
getExitStatus
public int getExitStatus()
The exit status of the container.
int32 exit_status = 2;
- Specified by:
getExitStatus
in interfaceContainerStoppedEventOrBuilder
- Returns:
- The exitStatus.
-
setExitStatus
public ContainerStoppedEvent.Builder setExitStatus(int value)
The exit status of the container.
int32 exit_status = 2;
- Parameters:
value
- The exitStatus to set.- Returns:
- This builder for chaining.
-
clearExitStatus
public ContainerStoppedEvent.Builder clearExitStatus()
The exit status of the container.
int32 exit_status = 2;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getStderr
in interfaceContainerStoppedEventOrBuilder
- Returns:
- The stderr.
-
getStderrBytes
public com.google.protobuf.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;
- Specified by:
getStderrBytes
in interfaceContainerStoppedEventOrBuilder
- Returns:
- The bytes for stderr.
-
setStderr
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;
- Parameters:
value
- The stderr to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStderrBytes
public ContainerStoppedEvent.Builder setStderrBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for stderr to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ContainerStoppedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
mergeUnknownFields
public final ContainerStoppedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContainerStoppedEvent.Builder>
-
-