# Class Action (0.95.0)

0.95.0 (latest) 0.93.0 0.90.0 0.89.0 0.87.0 0.85.0 0.84.0 0.83.0 0.82.0 0.80.0 0.78.0 0.77.0 0.76.0 0.75.0 0.74.0 0.72.0 0.70.0 0.69.0 0.66.0 0.65.0 0.64.0 0.62.0 0.61.0 0.60.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.54.0 0.53.0 0.51.0 0.50.0 0.49.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.42.0 0.41.0 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.3.8

    public final class Action extends GeneratedMessage implements ActionOrBuilder

Specifies a single action that runs a Docker container.

Protobuf type `google.cloud.lifesciences.v2beta.Action`

## Inheritance

[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> [AbstractMessageLite\<MessageType,BuilderType\>](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html) \> [AbstractMessage](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html) \> [GeneratedMessage](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html) \> Action

## Implements

[ActionOrBuilder](https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.ActionOrBuilder)

## Inherited Members

[AbstractMessage.equals(Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_equals_java_lang_Object_) [AbstractMessage.findInitializationErrors()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_findInitializationErrors__) [AbstractMessage.getInitializationErrorString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_getInitializationErrorString__) [AbstractMessage.hashCode()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashCode__) [AbstractMessage.hashFields(int,Map\<Descriptors.FieldDescriptor,Object\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashFields_int_java_util_Map_com_google_protobuf_Descriptors_FieldDescriptor_java_lang_Object__) [AbstractMessage.newBuilderForType(AbstractMessage.BuilderParent)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_newBuilderForType_com_google_protobuf_AbstractMessage_BuilderParent_) [AbstractMessage.toString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_toString__) [AbstractMessageLite.\<T\>addAll(Iterable\<T\>,List\<? super T\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite__T_addAll_java_lang_Iterable_T__java_util_List___super_T__) [AbstractMessageLite.checkByteStringIsUtf8(ByteString)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_checkByteStringIsUtf8_com_google_protobuf_ByteString_) [AbstractMessageLite.toByteArray()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_toByteArray__) [AbstractMessageLite.toByteString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_toByteString__) [AbstractMessageLite.writeDelimitedTo(OutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_writeDelimitedTo_java_io_OutputStream_) [AbstractMessageLite.writeTo(OutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_writeTo_java_io_OutputStream_) com.google.protobuf.GeneratedMessage.\<ContainingT,T\>newFileScopedGeneratedExtension(java.lang.Class\<?\>,com.google.protobuf.Message) com.google.protobuf.GeneratedMessage.\<ContainingT,T\>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class\<?\>,com.google.protobuf.Message) com.google.protobuf.GeneratedMessage.\<ListT\>makeMutableCopy(ListT) com.google.protobuf.GeneratedMessage.\<ListT\>makeMutableCopy(ListT,int) [GeneratedMessage.\<M\>parseDelimitedWithIOException(Parser\<M\>,InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseDelimitedWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_) [GeneratedMessage.\<M\>parseDelimitedWithIOException(Parser\<M\>,InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseDelimitedWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,CodedInputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__com_google_protobuf_CodedInputStream_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,CodedInputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__com_google_protobuf_CodedInputStream_com_google_protobuf_ExtensionRegistryLite_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) com.google.protobuf.GeneratedMessage.\<T\>emptyList(java.lang.Class\<T\>) com.google.protobuf.GeneratedMessage.\<V\>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Boolean,V\>,com.google.protobuf.MapEntry\<java.lang.Boolean,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Integer,V\>,com.google.protobuf.MapEntry\<java.lang.Integer,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Long,V\>,com.google.protobuf.MapEntry\<java.lang.Long,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.String,V\>,com.google.protobuf.MapEntry\<java.lang.String,V\>,int) com.google.protobuf.GeneratedMessage.canUseUnsafe() [GeneratedMessage.computeStringSize(int,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_computeStringSize_int_java_lang_Object_) [GeneratedMessage.computeStringSizeNoTag(Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_computeStringSizeNoTag_java_lang_Object_) com.google.protobuf.GeneratedMessage.emptyBooleanList() com.google.protobuf.GeneratedMessage.emptyDoubleList() com.google.protobuf.GeneratedMessage.emptyFloatList() com.google.protobuf.GeneratedMessage.emptyIntList() com.google.protobuf.GeneratedMessage.emptyLongList() [GeneratedMessage.getAllFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getAllFields__) [GeneratedMessage.getDescriptorForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getDescriptorForType__) [GeneratedMessage.getField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.getOneofFieldDescriptor(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getOneofFieldDescriptor_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.getParserForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getParserForType__) [GeneratedMessage.getRepeatedField(Descriptors.FieldDescriptor,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getRepeatedField_com_google_protobuf_Descriptors_FieldDescriptor_int_) [GeneratedMessage.getRepeatedFieldCount(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getRepeatedFieldCount_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.getSerializedSize()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getSerializedSize__) [GeneratedMessage.getUnknownFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getUnknownFields__) [GeneratedMessage.hasField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_hasField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.hasOneof(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_hasOneof_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetFieldAccessorTable__) [GeneratedMessage.internalGetMapField(int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetMapField_int_) com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int) [GeneratedMessage.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_isInitialized__) com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object) [GeneratedMessage.makeExtensionsImmutable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_makeExtensionsImmutable__) com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite) com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter) [GeneratedMessage.parseUnknownField(CodedInputStream,UnknownFieldSet.Builder,ExtensionRegistryLite,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_parseUnknownField_com_google_protobuf_CodedInputStream_com_google_protobuf_UnknownFieldSet_Builder_com_google_protobuf_ExtensionRegistryLite_int_) com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int) [GeneratedMessage.writeReplace()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeReplace__) [GeneratedMessage.writeString(CodedOutputStream,int,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeString_com_google_protobuf_CodedOutputStream_int_java_lang_Object_) [GeneratedMessage.writeStringNoTag(CodedOutputStream,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeStringNoTag_com_google_protobuf_CodedOutputStream_java_lang_Object_) [GeneratedMessage.writeTo(CodedOutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeTo_com_google_protobuf_CodedOutputStream_) [Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### ALWAYS_RUN_FIELD_NUMBER

    public static final int ALWAYS_RUN_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### BLOCK_EXTERNAL_NETWORK_FIELD_NUMBER

    public static final int BLOCK_EXTERNAL_NETWORK_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### COMMANDS_FIELD_NUMBER

    public static final int COMMANDS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### CONTAINER_NAME_FIELD_NUMBER

    public static final int CONTAINER_NAME_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### CREDENTIALS_FIELD_NUMBER

    public static final int CREDENTIALS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### DISABLE_IMAGE_PREFETCH_FIELD_NUMBER

    public static final int DISABLE_IMAGE_PREFETCH_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### DISABLE_STANDARD_ERROR_CAPTURE_FIELD_NUMBER

    public static final int DISABLE_STANDARD_ERROR_CAPTURE_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### ENABLE_FUSE_FIELD_NUMBER

    public static final int ENABLE_FUSE_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### ENCRYPTED_ENVIRONMENT_FIELD_NUMBER

    public static final int ENCRYPTED_ENVIRONMENT_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### ENTRYPOINT_FIELD_NUMBER

    public static final int ENTRYPOINT_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### ENVIRONMENT_FIELD_NUMBER

    public static final int ENVIRONMENT_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### IGNORE_EXIT_STATUS_FIELD_NUMBER

    public static final int IGNORE_EXIT_STATUS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### IMAGE_URI_FIELD_NUMBER

    public static final int IMAGE_URI_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### LABELS_FIELD_NUMBER

    public static final int LABELS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### MOUNTS_FIELD_NUMBER

    public static final int MOUNTS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### PID_NAMESPACE_FIELD_NUMBER

    public static final int PID_NAMESPACE_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### PORT_MAPPINGS_FIELD_NUMBER

    public static final int PORT_MAPPINGS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### PUBLISH_EXPOSED_PORTS_FIELD_NUMBER

    public static final int PUBLISH_EXPOSED_PORTS_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### RUN_IN_BACKGROUND_FIELD_NUMBER

    public static final int RUN_IN_BACKGROUND_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### TIMEOUT_FIELD_NUMBER

    public static final int TIMEOUT_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

## Static Methods

### getDefaultInstance()

    public static Action getDefaultInstance()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

### getDescriptor()

    public static final Descriptors.Descriptor getDescriptor()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Descriptors.Descriptor.html` |   |

### newBuilder()

    public static Action.Builder newBuilder()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action.Builder` |   |

### newBuilder(Action prototype)

    public static Action.Builder newBuilder(Action prototype)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `prototype` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action.Builder` |   |

### parseDelimitedFrom(InputStream input)

    public static Action parseDelimitedFrom(InputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

    public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(byte\[\] data)

    public static Action parseFrom(byte[] data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `byte[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(byte\[\] data, ExtensionRegistryLite extensionRegistry)

    public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `byte[]` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteString data)

    public static Action parseFrom(ByteString data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

    public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(CodedInputStream input)

    public static Action parseFrom(CodedInputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedInputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

    public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedInputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(InputStream input)

    public static Action parseFrom(InputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

    public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(ByteBuffer data)

    public static Action parseFrom(ByteBuffer data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

    public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parser()

    public static Parser<Action> parser()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Parser.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action>` |   |

## Methods

### containsEnvironment(String key)

    public boolean containsEnvironment(String key)

The environment to pass into the container. This environment is merged
with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

In addition to the values passed here, a few other values are
automatically injected into the environment. These cannot be hidden or
overwritten.

`GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
because an action has exited with a non-zero status (and did not have the
`IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
debug or logging actions should execute.

`GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
non-background action that executed. This can be used by workflow engine
authors to determine whether an individual action has succeeded or failed.

`map<string, string> environment = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### containsLabels(String key)

    public boolean containsLabels(String key)

Labels to associate with the action. This field is provided to assist
workflow engine authors in identifying actions (for example, to indicate
what sort of action they perform, such as localization or debugging).
They are returned in the operation metadata, but are otherwise ignored.

`map<string, string> labels = 10;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### containsPortMappings(int key)

    public boolean containsPortMappings(int key)

A map of containers to host port mappings for this container. If the
container already specifies exposed ports, use the
`PUBLISH_EXPOSED_PORTS` flag instead.

The host port number must be less than 65536. If it is zero, an unused
random port is assigned. To determine the resulting port number, consult
the `ContainerStartedEvent` in the operation metadata.

`map<int32, int32> port_mappings = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### equals(Object obj)

    public boolean equals(Object obj)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `obj` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [AbstractMessage.equals(Object other)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_equals_java_lang_Object_)

### getAlwaysRun()

    public boolean getAlwaysRun()

By default, after an action fails, no further actions are run. This flag
indicates that this action must be run even if the pipeline has already
failed. This is useful for actions that copy output files off of the VM
or for debugging. Note that no actions will be run if image prefetching
fails.

`bool always_run = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The alwaysRun. |

### getBlockExternalNetwork()

    public boolean getBlockExternalNetwork()

Prevents the container from accessing the external network.

`bool block_external_network = 20;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The blockExternalNetwork. |

### getCommands(int index)

    public String getCommands(int index)

If specified, overrides the `CMD` specified in the container. If the
container also has an `ENTRYPOINT` the values are used as entrypoint
arguments. Otherwise, they are used as a command and arguments to run
inside the container.

`repeated string commands = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The commands at the given index. |

### getCommandsBytes(int index)

    public ByteString getCommandsBytes(int index)

If specified, overrides the `CMD` specified in the container. If the
container also has an `ENTRYPOINT` the values are used as entrypoint
arguments. Otherwise, they are used as a command and arguments to run
inside the container.

`repeated string commands = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the commands at the given index. |

### getCommandsCount()

    public int getCommandsCount()

If specified, overrides the `CMD` specified in the container. If the
container also has an `ENTRYPOINT` the values are used as entrypoint
arguments. Otherwise, they are used as a command and arguments to run
inside the container.

`repeated string commands = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of commands. |

### getCommandsList()

    public ProtocolStringList getCommandsList()

If specified, overrides the `CMD` specified in the container. If the
container also has an `ENTRYPOINT` the values are used as entrypoint
arguments. Otherwise, they are used as a command and arguments to run
inside the container.

`repeated string commands = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolStringList.html` | A list containing the commands. |

### getContainerName()

    public String getContainerName()

An optional name for the container. The container hostname will be set to
this name, making it useful for inter-container communication. The name
must contain only upper and lowercase alphanumeric characters and hyphens
and cannot start with a hyphen.

`string container_name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The containerName. |

### getContainerNameBytes()

    public ByteString getContainerNameBytes()

An optional name for the container. The container hostname will be set to
this name, making it useful for inter-container communication. The name
must contain only upper and lowercase alphanumeric characters and hyphens
and cannot start with a hyphen.

`string container_name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for containerName. |

### getCredentials()

    public Secret getCredentials()

If the specified image is hosted on a private registry other than Google
Container Registry, the credentials required to pull the image must be
specified here as an encrypted secret.

The secret must decrypt to a JSON-encoded dictionary containing both
`username` and `password` keys.

`.google.cloud.lifesciences.v2beta.Secret credentials = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Secret` | The credentials. |

### getCredentialsOrBuilder()

    public SecretOrBuilder getCredentialsOrBuilder()

If the specified image is hosted on a private registry other than Google
Container Registry, the credentials required to pull the image must be
specified here as an encrypted secret.

The secret must decrypt to a JSON-encoded dictionary containing both
`username` and `password` keys.

`.google.cloud.lifesciences.v2beta.Secret credentials = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.SecretOrBuilder` |   |

### getDefaultInstanceForType()

    public Action getDefaultInstanceForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action` |   |

### getDisableImagePrefetch()

    public boolean getDisableImagePrefetch()

All container images are typically downloaded before any actions are
executed. This helps prevent typos in URIs or issues like lack of disk
space from wasting large amounts of compute resources.

If set, this flag prevents the worker from downloading the image until
just before the action is executed.

`bool disable_image_prefetch = 18;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableImagePrefetch. |

### getDisableStandardErrorCapture()

    public boolean getDisableStandardErrorCapture()

A small portion of the container's standard error stream is typically
captured and returned inside the `ContainerStoppedEvent`. Setting this
flag disables this functionality.

`bool disable_standard_error_capture = 19;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableStandardErrorCapture. |

### getEnableFuse()

    public boolean getEnableFuse()

Enable access to the FUSE device for this action. Filesystems can then
be mounted into disks shared with other actions. The other actions do
not need the `enable_fuse` flag to access the mounted filesystem.

This has the effect of causing the container to be executed with
`CAP_SYS_ADMIN` and exposes `/dev/fuse` to the container, so use it only
for containers you trust.

`bool enable_fuse = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableFuse. |

### getEncryptedEnvironment()

    public Secret getEncryptedEnvironment()

The encrypted environment to pass into the container. This environment is
merged with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

The secret must decrypt to a JSON-encoded dictionary where key-value pairs
serve as environment variable names and their values. The decoded
environment variables can overwrite the values specified by the
`environment` field.

`.google.cloud.lifesciences.v2beta.Secret encrypted_environment = 21;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Secret` | The encryptedEnvironment. |

### getEncryptedEnvironmentOrBuilder()

    public SecretOrBuilder getEncryptedEnvironmentOrBuilder()

The encrypted environment to pass into the container. This environment is
merged with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

The secret must decrypt to a JSON-encoded dictionary where key-value pairs
serve as environment variable names and their values. The decoded
environment variables can overwrite the values specified by the
`environment` field.

`.google.cloud.lifesciences.v2beta.Secret encrypted_environment = 21;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.SecretOrBuilder` |   |

### getEntrypoint()

    public String getEntrypoint()

If specified, overrides the `ENTRYPOINT` specified in the container.

`string entrypoint = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The entrypoint. |

### getEntrypointBytes()

    public ByteString getEntrypointBytes()

If specified, overrides the `ENTRYPOINT` specified in the container.

`string entrypoint = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for entrypoint. |

### getEnvironment() (deprecated)

    public Map<String,String> getEnvironment()

Use [#getEnvironmentMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action#com_google_cloud_lifesciences_v2beta_Action_getEnvironmentMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getEnvironmentCount()

    public int getEnvironmentCount()

The environment to pass into the container. This environment is merged
with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

In addition to the values passed here, a few other values are
automatically injected into the environment. These cannot be hidden or
overwritten.

`GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
because an action has exited with a non-zero status (and did not have the
`IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
debug or logging actions should execute.

`GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
non-background action that executed. This can be used by workflow engine
authors to determine whether an individual action has succeeded or failed.

`map<string, string> environment = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getEnvironmentMap()

    public Map<String,String> getEnvironmentMap()

The environment to pass into the container. This environment is merged
with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

In addition to the values passed here, a few other values are
automatically injected into the environment. These cannot be hidden or
overwritten.

`GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
because an action has exited with a non-zero status (and did not have the
`IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
debug or logging actions should execute.

`GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
non-background action that executed. This can be used by workflow engine
authors to determine whether an individual action has succeeded or failed.

`map<string, string> environment = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getEnvironmentOrDefault(String key, String defaultValue)

    public String getEnvironmentOrDefault(String key, String defaultValue)

The environment to pass into the container. This environment is merged
with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

In addition to the values passed here, a few other values are
automatically injected into the environment. These cannot be hidden or
overwritten.

`GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
because an action has exited with a non-zero status (and did not have the
`IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
debug or logging actions should execute.

`GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
non-background action that executed. This can be used by workflow engine
authors to determine whether an individual action has succeeded or failed.

`map<string, string> environment = 5;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getEnvironmentOrThrow(String key)

    public String getEnvironmentOrThrow(String key)

The environment to pass into the container. This environment is merged
with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

In addition to the values passed here, a few other values are
automatically injected into the environment. These cannot be hidden or
overwritten.

`GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
because an action has exited with a non-zero status (and did not have the
`IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
debug or logging actions should execute.

`GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
non-background action that executed. This can be used by workflow engine
authors to determine whether an individual action has succeeded or failed.

`map<string, string> environment = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getIgnoreExitStatus()

    public boolean getIgnoreExitStatus()

Normally, a non-zero exit status causes the pipeline to fail. This flag
allows execution of other actions to continue instead.

`bool ignore_exit_status = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The ignoreExitStatus. |

### getImageUri()

    public String getImageUri()

Required. The URI to pull the container image from. Note that all images
referenced by actions in the pipeline are pulled before the first action
runs. If multiple actions reference the same image, it is only pulled once,
ensuring that the same image is used for all actions in a single pipeline.

The image URI can be either a complete host and image specification (e.g.,
quay.io/biocontainers/samtools), a library and image name (e.g.,
google/cloud-sdk) or a bare image name ('bash') to pull from the default
library. No schema is required in any of these cases.

If the specified image is not public, the service account specified for
the Virtual Machine must have access to pull the images from GCR, or
appropriate credentials must be specified in the
google.cloud.lifesciences.v2beta.Action.credentials
field.

`string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The imageUri. |

### getImageUriBytes()

    public ByteString getImageUriBytes()

Required. The URI to pull the container image from. Note that all images
referenced by actions in the pipeline are pulled before the first action
runs. If multiple actions reference the same image, it is only pulled once,
ensuring that the same image is used for all actions in a single pipeline.

The image URI can be either a complete host and image specification (e.g.,
quay.io/biocontainers/samtools), a library and image name (e.g.,
google/cloud-sdk) or a bare image name ('bash') to pull from the default
library. No schema is required in any of these cases.

If the specified image is not public, the service account specified for
the Virtual Machine must have access to pull the images from GCR, or
appropriate credentials must be specified in the
google.cloud.lifesciences.v2beta.Action.credentials
field.

`string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for imageUri. |

### getLabels() (deprecated)

    public Map<String,String> getLabels()

Use [#getLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action#com_google_cloud_lifesciences_v2beta_Action_getLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsCount()

    public int getLabelsCount()

Labels to associate with the action. This field is provided to assist
workflow engine authors in identifying actions (for example, to indicate
what sort of action they perform, such as localization or debugging).
They are returned in the operation metadata, but are otherwise ignored.

`map<string, string> labels = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsMap()

    public Map<String,String> getLabelsMap()

Labels to associate with the action. This field is provided to assist
workflow engine authors in identifying actions (for example, to indicate
what sort of action they perform, such as localization or debugging).
They are returned in the operation metadata, but are otherwise ignored.

`map<string, string> labels = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsOrDefault(String key, String defaultValue)

    public String getLabelsOrDefault(String key, String defaultValue)

Labels to associate with the action. This field is provided to assist
workflow engine authors in identifying actions (for example, to indicate
what sort of action they perform, such as localization or debugging).
They are returned in the operation metadata, but are otherwise ignored.

`map<string, string> labels = 10;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLabelsOrThrow(String key)

    public String getLabelsOrThrow(String key)

Labels to associate with the action. This field is provided to assist
workflow engine authors in identifying actions (for example, to indicate
what sort of action they perform, such as localization or debugging).
They are returned in the operation metadata, but are otherwise ignored.

`map<string, string> labels = 10;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getMounts(int index)

    public Mount getMounts(int index)

A list of mounts to make available to the action.

In addition to the values specified here, every action has a special
virtual disk mounted under `/google` that contains log files and other
operational components.

\<ul\>
\<li\>\<code\>/google/logs\</code\> All logs written during the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/output\</code\> The combined standard output and
standard error of all actions run as part of the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/action/\*/stdout\</code\> The complete contents of
each individual action's standard output.\</li\>
\<li\>\<code\>/google/logs/action/\*/stderr\</code\> The complete contents of
each individual action's standard error output.\</li\>
\</ul\>

`repeated .google.cloud.lifesciences.v2beta.Mount mounts = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Mount` |   |

### getMountsCount()

    public int getMountsCount()

A list of mounts to make available to the action.

In addition to the values specified here, every action has a special
virtual disk mounted under `/google` that contains log files and other
operational components.

\<ul\>
\<li\>\<code\>/google/logs\</code\> All logs written during the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/output\</code\> The combined standard output and
standard error of all actions run as part of the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/action/\*/stdout\</code\> The complete contents of
each individual action's standard output.\</li\>
\<li\>\<code\>/google/logs/action/\*/stderr\</code\> The complete contents of
each individual action's standard error output.\</li\>
\</ul\>

`repeated .google.cloud.lifesciences.v2beta.Mount mounts = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getMountsList()

    public List<Mount> getMountsList()

A list of mounts to make available to the action.

In addition to the values specified here, every action has a special
virtual disk mounted under `/google` that contains log files and other
operational components.

\<ul\>
\<li\>\<code\>/google/logs\</code\> All logs written during the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/output\</code\> The combined standard output and
standard error of all actions run as part of the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/action/\*/stdout\</code\> The complete contents of
each individual action's standard output.\</li\>
\<li\>\<code\>/google/logs/action/\*/stderr\</code\> The complete contents of
each individual action's standard error output.\</li\>
\</ul\>

`repeated .google.cloud.lifesciences.v2beta.Mount mounts = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Mount>` |   |

### getMountsOrBuilder(int index)

    public MountOrBuilder getMountsOrBuilder(int index)

A list of mounts to make available to the action.

In addition to the values specified here, every action has a special
virtual disk mounted under `/google` that contains log files and other
operational components.

\<ul\>
\<li\>\<code\>/google/logs\</code\> All logs written during the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/output\</code\> The combined standard output and
standard error of all actions run as part of the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/action/\*/stdout\</code\> The complete contents of
each individual action's standard output.\</li\>
\<li\>\<code\>/google/logs/action/\*/stderr\</code\> The complete contents of
each individual action's standard error output.\</li\>
\</ul\>

`repeated .google.cloud.lifesciences.v2beta.Mount mounts = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.MountOrBuilder` |   |

### getMountsOrBuilderList()

    public List<? extends MountOrBuilder> getMountsOrBuilderList()

A list of mounts to make available to the action.

In addition to the values specified here, every action has a special
virtual disk mounted under `/google` that contains log files and other
operational components.

\<ul\>
\<li\>\<code\>/google/logs\</code\> All logs written during the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/output\</code\> The combined standard output and
standard error of all actions run as part of the pipeline
execution.\</li\>
\<li\>\<code\>/google/logs/action/\*/stdout\</code\> The complete contents of
each individual action's standard output.\</li\>
\<li\>\<code\>/google/logs/action/\*/stderr\</code\> The complete contents of
each individual action's standard error output.\</li\>
\</ul\>

`repeated .google.cloud.lifesciences.v2beta.Mount mounts = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.lifesciences.v2beta.MountOrBuilder>` |   |

### getParserForType()

    public Parser<Action> getParserForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Parser.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action>` |   |

**Overrides** [GeneratedMessage.getParserForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getParserForType__)

### getPidNamespace()

    public String getPidNamespace()

An optional identifier for a PID namespace to run the action inside.
Multiple actions should use the same string to share a namespace. If
unspecified, a separate isolated namespace is used.

`string pid_namespace = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The pidNamespace. |

### getPidNamespaceBytes()

    public ByteString getPidNamespaceBytes()

An optional identifier for a PID namespace to run the action inside.
Multiple actions should use the same string to share a namespace. If
unspecified, a separate isolated namespace is used.

`string pid_namespace = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for pidNamespace. |

### getPortMappings() (deprecated)

    public Map<Integer,Integer> getPortMappings()

Use [#getPortMappingsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action#com_google_cloud_lifesciences_v2beta_Action_getPortMappingsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<java.lang.Integer,java.lang.Integer>` |   |

### getPortMappingsCount()

    public int getPortMappingsCount()

A map of containers to host port mappings for this container. If the
container already specifies exposed ports, use the
`PUBLISH_EXPOSED_PORTS` flag instead.

The host port number must be less than 65536. If it is zero, an unused
random port is assigned. To determine the resulting port number, consult
the `ContainerStartedEvent` in the operation metadata.

`map<int32, int32> port_mappings = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getPortMappingsMap()

    public Map<Integer,Integer> getPortMappingsMap()

A map of containers to host port mappings for this container. If the
container already specifies exposed ports, use the
`PUBLISH_EXPOSED_PORTS` flag instead.

The host port number must be less than 65536. If it is zero, an unused
random port is assigned. To determine the resulting port number, consult
the `ContainerStartedEvent` in the operation metadata.

`map<int32, int32> port_mappings = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<java.lang.Integer,java.lang.Integer>` |   |

### getPortMappingsOrDefault(int key, int defaultValue)

    public int getPortMappingsOrDefault(int key, int defaultValue)

A map of containers to host port mappings for this container. If the
container already specifies exposed ports, use the
`PUBLISH_EXPOSED_PORTS` flag instead.

The host port number must be less than 65536. If it is zero, an unused
random port is assigned. To determine the resulting port number, consult
the `ContainerStartedEvent` in the operation metadata.

`map<int32, int32> port_mappings = 8;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |
| `defaultValue` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getPortMappingsOrThrow(int key)

    public int getPortMappingsOrThrow(int key)

A map of containers to host port mappings for this container. If the
container already specifies exposed ports, use the
`PUBLISH_EXPOSED_PORTS` flag instead.

The host port number must be less than 65536. If it is zero, an unused
random port is assigned. To determine the resulting port number, consult
the `ContainerStartedEvent` in the operation metadata.

`map<int32, int32> port_mappings = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getPublishExposedPorts()

    public boolean getPublishExposedPorts()

Exposes all ports specified by `EXPOSE` statements in the container. To
discover the host side port numbers, consult the `ACTION_STARTED` event
in the operation metadata.

`bool publish_exposed_ports = 17;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The publishExposedPorts. |

### getRunInBackground()

    public boolean getRunInBackground()

This flag allows an action to continue running in the background while
executing subsequent actions. This is useful to provide services to
other actions (or to provide debugging support tools like SSH servers).

`bool run_in_background = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The runInBackground. |

### getSerializedSize()

    public int getSerializedSize()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [GeneratedMessage.getSerializedSize()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getSerializedSize__)

### getTimeout()

    public Duration getTimeout()

The maximum amount of time to give the action to complete. If the action
fails to complete before the timeout, it will be terminated and the exit
status will be non-zero. The pipeline will continue or terminate based
on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.

`.google.protobuf.Duration timeout = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The timeout. |

### getTimeoutOrBuilder()

    public DurationOrBuilder getTimeoutOrBuilder()

The maximum amount of time to give the action to complete. If the action
fails to complete before the timeout, it will be terminated and the exit
status will be non-zero. The pipeline will continue or terminate based
on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.

`.google.protobuf.Duration timeout = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### hasCredentials()

    public boolean hasCredentials()

If the specified image is hosted on a private registry other than Google
Container Registry, the credentials required to pull the image must be
specified here as an encrypted secret.

The secret must decrypt to a JSON-encoded dictionary containing both
`username` and `password` keys.

`.google.cloud.lifesciences.v2beta.Secret credentials = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the credentials field is set. |

### hasEncryptedEnvironment()

    public boolean hasEncryptedEnvironment()

The encrypted environment to pass into the container. This environment is
merged with values specified in the
google.cloud.lifesciences.v2beta.Pipeline
message, overwriting any duplicate values.

The secret must decrypt to a JSON-encoded dictionary where key-value pairs
serve as environment variable names and their values. The decoded
environment variables can overwrite the values specified by the
`environment` field.

`.google.cloud.lifesciences.v2beta.Secret encrypted_environment = 21;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the encryptedEnvironment field is set. |

### hasTimeout()

    public boolean hasTimeout()

The maximum amount of time to give the action to complete. If the action
fails to complete before the timeout, it will be terminated and the exit
status will be non-zero. The pipeline will continue or terminate based
on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.

`.google.protobuf.Duration timeout = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the timeout field is set. |

### hashCode()

    public int hashCode()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [AbstractMessage.hashCode()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashCode__)

### internalGetFieldAccessorTable()

    protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.FieldAccessorTable.html` |   |

**Overrides** [GeneratedMessage.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetFieldAccessorTable__)

### internalGetMapFieldReflection(int number)

    protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `number` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.protobuf.MapFieldReflectionAccessor` |   |

**Overrides** com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

### isInitialized()

    public final boolean isInitialized()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [GeneratedMessage.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_isInitialized__)

### newBuilderForType()

    public Action.Builder newBuilderForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action.Builder` |   |

### newBuilderForType(AbstractMessage.BuilderParent parent)

    protected Action.Builder newBuilderForType(AbstractMessage.BuilderParent parent)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.BuilderParent.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action.Builder` |   |

**Overrides** [AbstractMessage.newBuilderForType(AbstractMessage.BuilderParent parent)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_newBuilderForType_com_google_protobuf_AbstractMessage_BuilderParent_)

### toBuilder()

    public Action.Builder toBuilder()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/com.google.cloud.lifesciences.v2beta.Action.Builder` |   |

### writeTo(CodedOutputStream output)

    public void writeTo(CodedOutputStream output)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `output` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedOutputStream.html` |

**Overrides** [GeneratedMessage.writeTo(CodedOutputStream output)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeTo_com_google_protobuf_CodedOutputStream_)

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |