Class Action.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
- com.google.cloud.lifesciences.v2beta.Action.Builder
-
- All Implemented Interfaces:
ActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action
public static final class Action.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder> implements ActionOrBuilder
Specifies a single action that runs a Docker container.
Protobuf typegoogle.cloud.lifesciences.v2beta.Action
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Action.BuilderaddAllCommands(Iterable<String> values)If specified, overrides the `CMD` specified in the container.Action.BuilderaddAllMounts(Iterable<? extends Mount> values)A list of mounts to make available to the action.Action.BuilderaddCommands(String value)If specified, overrides the `CMD` specified in the container.Action.BuilderaddCommandsBytes(com.google.protobuf.ByteString value)If specified, overrides the `CMD` specified in the container.Action.BuilderaddMounts(int index, Mount value)A list of mounts to make available to the action.Action.BuilderaddMounts(int index, Mount.Builder builderForValue)A list of mounts to make available to the action.Action.BuilderaddMounts(Mount value)A list of mounts to make available to the action.Action.BuilderaddMounts(Mount.Builder builderForValue)A list of mounts to make available to the action.Mount.BuilderaddMountsBuilder()A list of mounts to make available to the action.Mount.BuilderaddMountsBuilder(int index)A list of mounts to make available to the action.Action.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Actionbuild()ActionbuildPartial()Action.Builderclear()Action.BuilderclearAlwaysRun()By default, after an action fails, no further actions are run.Action.BuilderclearBlockExternalNetwork()Prevents the container from accessing the external network.Action.BuilderclearCommands()If specified, overrides the `CMD` specified in the container.Action.BuilderclearContainerName()An optional name for the container.Action.BuilderclearCredentials()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.Action.BuilderclearDisableImagePrefetch()All container images are typically downloaded before any actions are executed.Action.BuilderclearDisableStandardErrorCapture()A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`.Action.BuilderclearEnableFuse()Enable access to the FUSE device for this action.Action.BuilderclearEncryptedEnvironment()The encrypted environment to pass into the container.Action.BuilderclearEntrypoint()If specified, overrides the `ENTRYPOINT` specified in the container.Action.BuilderclearEnvironment()Action.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Action.BuilderclearIgnoreExitStatus()Normally, a non-zero exit status causes the pipeline to fail.Action.BuilderclearImageUri()Required.Action.BuilderclearLabels()Action.BuilderclearMounts()A list of mounts to make available to the action.Action.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Action.BuilderclearPidNamespace()An optional identifier for a PID namespace to run the action inside.Action.BuilderclearPortMappings()Action.BuilderclearPublishExposedPorts()Exposes all ports specified by `EXPOSE` statements in the container.Action.BuilderclearRunInBackground()This flag allows an action to continue running in the background while executing subsequent actions.Action.BuilderclearTimeout()The maximum amount of time to give the action to complete.Action.Builderclone()booleancontainsEnvironment(String key)The environment to pass into the container.booleancontainsLabels(String key)Labels to associate with the action.booleancontainsPortMappings(int key)A map of containers to host port mappings for this container.booleangetAlwaysRun()By default, after an action fails, no further actions are run.booleangetBlockExternalNetwork()Prevents the container from accessing the external network.StringgetCommands(int index)If specified, overrides the `CMD` specified in the container.com.google.protobuf.ByteStringgetCommandsBytes(int index)If specified, overrides the `CMD` specified in the container.intgetCommandsCount()If specified, overrides the `CMD` specified in the container.com.google.protobuf.ProtocolStringListgetCommandsList()If specified, overrides the `CMD` specified in the container.StringgetContainerName()An optional name for the container.com.google.protobuf.ByteStringgetContainerNameBytes()An optional name for the container.SecretgetCredentials()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.Secret.BuildergetCredentialsBuilder()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.SecretOrBuildergetCredentialsOrBuilder()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.ActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableImagePrefetch()All container images are typically downloaded before any actions are executed.booleangetDisableStandardErrorCapture()A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`.booleangetEnableFuse()Enable access to the FUSE device for this action.SecretgetEncryptedEnvironment()The encrypted environment to pass into the container.Secret.BuildergetEncryptedEnvironmentBuilder()The encrypted environment to pass into the container.SecretOrBuildergetEncryptedEnvironmentOrBuilder()The encrypted environment to pass into the container.StringgetEntrypoint()If specified, overrides the `ENTRYPOINT` specified in the container.com.google.protobuf.ByteStringgetEntrypointBytes()If specified, overrides the `ENTRYPOINT` specified in the container.Map<String,String>getEnvironment()Deprecated.intgetEnvironmentCount()The environment to pass into the container.Map<String,String>getEnvironmentMap()The environment to pass into the container.StringgetEnvironmentOrDefault(String key, String defaultValue)The environment to pass into the container.StringgetEnvironmentOrThrow(String key)The environment to pass into the container.booleangetIgnoreExitStatus()Normally, a non-zero exit status causes the pipeline to fail.StringgetImageUri()Required.com.google.protobuf.ByteStringgetImageUriBytes()Required.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels to associate with the action.Map<String,String>getLabelsMap()Labels to associate with the action.StringgetLabelsOrDefault(String key, String defaultValue)Labels to associate with the action.StringgetLabelsOrThrow(String key)Labels to associate with the action.MountgetMounts(int index)A list of mounts to make available to the action.Mount.BuildergetMountsBuilder(int index)A list of mounts to make available to the action.List<Mount.Builder>getMountsBuilderList()A list of mounts to make available to the action.intgetMountsCount()A list of mounts to make available to the action.List<Mount>getMountsList()A list of mounts to make available to the action.MountOrBuildergetMountsOrBuilder(int index)A list of mounts to make available to the action.List<? extends MountOrBuilder>getMountsOrBuilderList()A list of mounts to make available to the action.Map<String,String>getMutableEnvironment()Deprecated.Map<String,String>getMutableLabels()Deprecated.Map<Integer,Integer>getMutablePortMappings()Deprecated.StringgetPidNamespace()An optional identifier for a PID namespace to run the action inside.com.google.protobuf.ByteStringgetPidNamespaceBytes()An optional identifier for a PID namespace to run the action inside.Map<Integer,Integer>getPortMappings()Deprecated.intgetPortMappingsCount()A map of containers to host port mappings for this container.Map<Integer,Integer>getPortMappingsMap()A map of containers to host port mappings for this container.intgetPortMappingsOrDefault(int key, int defaultValue)A map of containers to host port mappings for this container.intgetPortMappingsOrThrow(int key)A map of containers to host port mappings for this container.booleangetPublishExposedPorts()Exposes all ports specified by `EXPOSE` statements in the container.booleangetRunInBackground()This flag allows an action to continue running in the background while executing subsequent actions.com.google.protobuf.DurationgetTimeout()The maximum amount of time to give the action to complete.com.google.protobuf.Duration.BuildergetTimeoutBuilder()The maximum amount of time to give the action to complete.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The maximum amount of time to give the action to complete.booleanhasCredentials()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.booleanhasEncryptedEnvironment()The encrypted environment to pass into the container.booleanhasTimeout()The maximum amount of time to give the action to complete.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Action.BuildermergeCredentials(Secret value)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.Action.BuildermergeEncryptedEnvironment(Secret value)The encrypted environment to pass into the container.Action.BuildermergeFrom(Action other)Action.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Action.BuildermergeFrom(com.google.protobuf.Message other)Action.BuildermergeTimeout(com.google.protobuf.Duration value)The maximum amount of time to give the action to complete.Action.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Action.BuilderputAllEnvironment(Map<String,String> values)The environment to pass into the container.Action.BuilderputAllLabels(Map<String,String> values)Labels to associate with the action.Action.BuilderputAllPortMappings(Map<Integer,Integer> values)A map of containers to host port mappings for this container.Action.BuilderputEnvironment(String key, String value)The environment to pass into the container.Action.BuilderputLabels(String key, String value)Labels to associate with the action.Action.BuilderputPortMappings(int key, int value)A map of containers to host port mappings for this container.Action.BuilderremoveEnvironment(String key)The environment to pass into the container.Action.BuilderremoveLabels(String key)Labels to associate with the action.Action.BuilderremoveMounts(int index)A list of mounts to make available to the action.Action.BuilderremovePortMappings(int key)A map of containers to host port mappings for this container.Action.BuildersetAlwaysRun(boolean value)By default, after an action fails, no further actions are run.Action.BuildersetBlockExternalNetwork(boolean value)Prevents the container from accessing the external network.Action.BuildersetCommands(int index, String value)If specified, overrides the `CMD` specified in the container.Action.BuildersetContainerName(String value)An optional name for the container.Action.BuildersetContainerNameBytes(com.google.protobuf.ByteString value)An optional name for the container.Action.BuildersetCredentials(Secret value)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.Action.BuildersetCredentials(Secret.Builder builderForValue)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.Action.BuildersetDisableImagePrefetch(boolean value)All container images are typically downloaded before any actions are executed.Action.BuildersetDisableStandardErrorCapture(boolean value)A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`.Action.BuildersetEnableFuse(boolean value)Enable access to the FUSE device for this action.Action.BuildersetEncryptedEnvironment(Secret value)The encrypted environment to pass into the container.Action.BuildersetEncryptedEnvironment(Secret.Builder builderForValue)The encrypted environment to pass into the container.Action.BuildersetEntrypoint(String value)If specified, overrides the `ENTRYPOINT` specified in the container.Action.BuildersetEntrypointBytes(com.google.protobuf.ByteString value)If specified, overrides the `ENTRYPOINT` specified in the container.Action.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Action.BuildersetIgnoreExitStatus(boolean value)Normally, a non-zero exit status causes the pipeline to fail.Action.BuildersetImageUri(String value)Required.Action.BuildersetImageUriBytes(com.google.protobuf.ByteString value)Required.Action.BuildersetMounts(int index, Mount value)A list of mounts to make available to the action.Action.BuildersetMounts(int index, Mount.Builder builderForValue)A list of mounts to make available to the action.Action.BuildersetPidNamespace(String value)An optional identifier for a PID namespace to run the action inside.Action.BuildersetPidNamespaceBytes(com.google.protobuf.ByteString value)An optional identifier for a PID namespace to run the action inside.Action.BuildersetPublishExposedPorts(boolean value)Exposes all ports specified by `EXPOSE` statements in the container.Action.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Action.BuildersetRunInBackground(boolean value)This flag allows an action to continue running in the background while executing subsequent actions.Action.BuildersetTimeout(com.google.protobuf.Duration value)The maximum amount of time to give the action to complete.Action.BuildersetTimeout(com.google.protobuf.Duration.Builder builderForValue)The maximum amount of time to give the action to complete.Action.BuildersetUnknownFields(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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
clear
public Action.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
getDefaultInstanceForType
public Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
setField
public Action.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
clearField
public Action.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
clearOneof
public Action.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
setRepeatedField
public Action.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
addRepeatedField
public Action.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
mergeFrom
public Action.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.Builder>
-
mergeFrom
public Action.Builder mergeFrom(Action other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
mergeFrom
public Action.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.Builder>- Throws:
IOException
-
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;- Specified by:
getContainerNamein interfaceActionOrBuilder- Returns:
- The containerName.
-
getContainerNameBytes
public com.google.protobuf.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;- Specified by:
getContainerNameBytesin interfaceActionOrBuilder- Returns:
- The bytes for containerName.
-
setContainerName
public Action.Builder setContainerName(String value)
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;- Parameters:
value- The containerName to set.- Returns:
- This builder for chaining.
-
clearContainerName
public Action.Builder clearContainerName()
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:
- This builder for chaining.
-
setContainerNameBytes
public Action.Builder setContainerNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for containerName to set.- Returns:
- This builder for chaining.
-
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][google.cloud.lifesciences.v2beta.Action.credentials] field.string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImageUriin interfaceActionOrBuilder- Returns:
- The imageUri.
-
getImageUriBytes
public com.google.protobuf.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][google.cloud.lifesciences.v2beta.Action.credentials] field.string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImageUriBytesin interfaceActionOrBuilder- Returns:
- The bytes for imageUri.
-
setImageUri
public Action.Builder setImageUri(String value)
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][google.cloud.lifesciences.v2beta.Action.credentials] field.string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The imageUri to set.- Returns:
- This builder for chaining.
-
clearImageUri
public Action.Builder clearImageUri()
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][google.cloud.lifesciences.v2beta.Action.credentials] field.string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setImageUriBytes
public Action.Builder setImageUriBytes(com.google.protobuf.ByteString value)
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][google.cloud.lifesciences.v2beta.Action.credentials] field.string image_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for imageUri to set.- Returns:
- This builder for chaining.
-
getCommandsList
public com.google.protobuf.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;- Specified by:
getCommandsListin interfaceActionOrBuilder- Returns:
- A list containing the commands.
-
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;- Specified by:
getCommandsCountin interfaceActionOrBuilder- Returns:
- The count of commands.
-
getCommands
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;- Specified by:
getCommandsin interfaceActionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The commands at the given index.
-
getCommandsBytes
public com.google.protobuf.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;- Specified by:
getCommandsBytesin interfaceActionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the commands at the given index.
-
setCommands
public Action.Builder setCommands(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The commands to set.- Returns:
- This builder for chaining.
-
addCommands
public Action.Builder addCommands(String value)
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;- Parameters:
value- The commands to add.- Returns:
- This builder for chaining.
-
addAllCommands
public Action.Builder addAllCommands(Iterable<String> values)
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;- Parameters:
values- The commands to add.- Returns:
- This builder for chaining.
-
clearCommands
public Action.Builder clearCommands()
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:
- This builder for chaining.
-
addCommandsBytes
public Action.Builder addCommandsBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the commands to add.- Returns:
- This builder for chaining.
-
getEntrypoint
public String getEntrypoint()
If specified, overrides the `ENTRYPOINT` specified in the container.
string entrypoint = 4;- Specified by:
getEntrypointin interfaceActionOrBuilder- Returns:
- The entrypoint.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes()
If specified, overrides the `ENTRYPOINT` specified in the container.
string entrypoint = 4;- Specified by:
getEntrypointBytesin interfaceActionOrBuilder- Returns:
- The bytes for entrypoint.
-
setEntrypoint
public Action.Builder setEntrypoint(String value)
If specified, overrides the `ENTRYPOINT` specified in the container.
string entrypoint = 4;- Parameters:
value- The entrypoint to set.- Returns:
- This builder for chaining.
-
clearEntrypoint
public Action.Builder clearEntrypoint()
If specified, overrides the `ENTRYPOINT` specified in the container.
string entrypoint = 4;- Returns:
- This builder for chaining.
-
setEntrypointBytes
public Action.Builder setEntrypointBytes(com.google.protobuf.ByteString value)
If specified, overrides the `ENTRYPOINT` specified in the container.
string entrypoint = 4;- Parameters:
value- The bytes for entrypoint to set.- Returns:
- This builder for chaining.
-
getEnvironmentCount
public int getEnvironmentCount()
Description copied from interface:ActionOrBuilderThe environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;- Specified by:
getEnvironmentCountin interfaceActionOrBuilder
-
containsEnvironment
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][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;- Specified by:
containsEnvironmentin interfaceActionOrBuilder
-
getEnvironment
@Deprecated public Map<String,String> getEnvironment()
Deprecated.UsegetEnvironmentMap()instead.- Specified by:
getEnvironmentin interfaceActionOrBuilder
-
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][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;- Specified by:
getEnvironmentMapin interfaceActionOrBuilder
-
getEnvironmentOrDefault
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][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;- Specified by:
getEnvironmentOrDefaultin interfaceActionOrBuilder
-
getEnvironmentOrThrow
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][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;- Specified by:
getEnvironmentOrThrowin interfaceActionOrBuilder
-
clearEnvironment
public Action.Builder clearEnvironment()
-
removeEnvironment
public Action.Builder removeEnvironment(String key)
The environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
getMutableEnvironment
@Deprecated public Map<String,String> getMutableEnvironment()
Deprecated.Use alternate mutation accessors instead.
-
putEnvironment
public Action.Builder putEnvironment(String key, String value)
The environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
putAllEnvironment
public Action.Builder putAllEnvironment(Map<String,String> values)
The environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
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][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;- Specified by:
hasEncryptedEnvironmentin interfaceActionOrBuilder- Returns:
- Whether the encryptedEnvironment field is set.
-
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][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;- Specified by:
getEncryptedEnvironmentin interfaceActionOrBuilder- Returns:
- The encryptedEnvironment.
-
setEncryptedEnvironment
public Action.Builder setEncryptedEnvironment(Secret value)
The encrypted environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
setEncryptedEnvironment
public Action.Builder setEncryptedEnvironment(Secret.Builder builderForValue)
The encrypted environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
mergeEncryptedEnvironment
public Action.Builder mergeEncryptedEnvironment(Secret value)
The encrypted environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
clearEncryptedEnvironment
public Action.Builder clearEncryptedEnvironment()
The encrypted environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
getEncryptedEnvironmentBuilder
public Secret.Builder getEncryptedEnvironmentBuilder()
The encrypted environment to pass into the container. This environment is merged with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][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;
-
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][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;- Specified by:
getEncryptedEnvironmentOrBuilderin interfaceActionOrBuilder
-
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;- Specified by:
getPidNamespacein interfaceActionOrBuilder- Returns:
- The pidNamespace.
-
getPidNamespaceBytes
public com.google.protobuf.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;- Specified by:
getPidNamespaceBytesin interfaceActionOrBuilder- Returns:
- The bytes for pidNamespace.
-
setPidNamespace
public Action.Builder setPidNamespace(String value)
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;- Parameters:
value- The pidNamespace to set.- Returns:
- This builder for chaining.
-
clearPidNamespace
public Action.Builder clearPidNamespace()
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:
- This builder for chaining.
-
setPidNamespaceBytes
public Action.Builder setPidNamespaceBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for pidNamespace to set.- Returns:
- This builder for chaining.
-
getPortMappingsCount
public int getPortMappingsCount()
Description copied from interface:ActionOrBuilderA 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;- Specified by:
getPortMappingsCountin interfaceActionOrBuilder
-
containsPortMappings
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;- Specified by:
containsPortMappingsin interfaceActionOrBuilder
-
getPortMappings
@Deprecated public Map<Integer,Integer> getPortMappings()
Deprecated.UsegetPortMappingsMap()instead.- Specified by:
getPortMappingsin interfaceActionOrBuilder
-
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;- Specified by:
getPortMappingsMapin interfaceActionOrBuilder
-
getPortMappingsOrDefault
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;- Specified by:
getPortMappingsOrDefaultin interfaceActionOrBuilder
-
getPortMappingsOrThrow
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;- Specified by:
getPortMappingsOrThrowin interfaceActionOrBuilder
-
clearPortMappings
public Action.Builder clearPortMappings()
-
removePortMappings
public Action.Builder removePortMappings(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;
-
getMutablePortMappings
@Deprecated public Map<Integer,Integer> getMutablePortMappings()
Deprecated.Use alternate mutation accessors instead.
-
putPortMappings
public Action.Builder putPortMappings(int key, int value)
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;
-
putAllPortMappings
public Action.Builder putAllPortMappings(Map<Integer,Integer> values)
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;
-
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;- Specified by:
getMountsListin interfaceActionOrBuilder
-
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;- Specified by:
getMountsCountin interfaceActionOrBuilder
-
getMounts
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;- Specified by:
getMountsin interfaceActionOrBuilder
-
setMounts
public Action.Builder setMounts(int index, Mount value)
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;
-
setMounts
public Action.Builder setMounts(int index, Mount.Builder builderForValue)
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;
-
addMounts
public Action.Builder addMounts(Mount value)
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;
-
addMounts
public Action.Builder addMounts(int index, Mount value)
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;
-
addMounts
public Action.Builder addMounts(Mount.Builder builderForValue)
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;
-
addMounts
public Action.Builder addMounts(int index, Mount.Builder builderForValue)
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;
-
addAllMounts
public Action.Builder addAllMounts(Iterable<? extends Mount> values)
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;
-
clearMounts
public Action.Builder clearMounts()
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;
-
removeMounts
public Action.Builder removeMounts(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;
-
getMountsBuilder
public Mount.Builder getMountsBuilder(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;
-
getMountsOrBuilder
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;- Specified by:
getMountsOrBuilderin interfaceActionOrBuilder
-
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;- Specified by:
getMountsOrBuilderListin interfaceActionOrBuilder
-
addMountsBuilder
public Mount.Builder addMountsBuilder()
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;
-
addMountsBuilder
public Mount.Builder addMountsBuilder(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;
-
getMountsBuilderList
public List<Mount.Builder> getMountsBuilderList()
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;
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ActionOrBuilderLabels 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;- Specified by:
getLabelsCountin interfaceActionOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceActionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceActionOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceActionOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceActionOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceActionOrBuilder
-
clearLabels
public Action.Builder clearLabels()
-
removeLabels
public Action.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Action.Builder putLabels(String key, String value)
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;
-
putAllLabels
public Action.Builder putAllLabels(Map<String,String> values)
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;
-
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;- Specified by:
hasCredentialsin interfaceActionOrBuilder- Returns:
- Whether the credentials field is set.
-
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;- Specified by:
getCredentialsin interfaceActionOrBuilder- Returns:
- The credentials.
-
setCredentials
public Action.Builder setCredentials(Secret value)
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;
-
setCredentials
public Action.Builder setCredentials(Secret.Builder builderForValue)
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;
-
mergeCredentials
public Action.Builder mergeCredentials(Secret value)
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;
-
clearCredentials
public Action.Builder clearCredentials()
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;
-
getCredentialsBuilder
public Secret.Builder getCredentialsBuilder()
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;
-
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;- Specified by:
getCredentialsOrBuilderin interfaceActionOrBuilder
-
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;- Specified by:
hasTimeoutin interfaceActionOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.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;- Specified by:
getTimeoutin interfaceActionOrBuilder- Returns:
- The timeout.
-
setTimeout
public Action.Builder setTimeout(com.google.protobuf.Duration value)
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;
-
setTimeout
public Action.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeTimeout
public Action.Builder mergeTimeout(com.google.protobuf.Duration value)
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;
-
clearTimeout
public Action.Builder clearTimeout()
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;
-
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()
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;
-
getTimeoutOrBuilder
public com.google.protobuf.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;- Specified by:
getTimeoutOrBuilderin interfaceActionOrBuilder
-
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;- Specified by:
getIgnoreExitStatusin interfaceActionOrBuilder- Returns:
- The ignoreExitStatus.
-
setIgnoreExitStatus
public Action.Builder setIgnoreExitStatus(boolean value)
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;- Parameters:
value- The ignoreExitStatus to set.- Returns:
- This builder for chaining.
-
clearIgnoreExitStatus
public Action.Builder clearIgnoreExitStatus()
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:
- This builder for chaining.
-
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;- Specified by:
getRunInBackgroundin interfaceActionOrBuilder- Returns:
- The runInBackground.
-
setRunInBackground
public Action.Builder setRunInBackground(boolean value)
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;- Parameters:
value- The runInBackground to set.- Returns:
- This builder for chaining.
-
clearRunInBackground
public Action.Builder clearRunInBackground()
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:
- This builder for chaining.
-
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;- Specified by:
getAlwaysRunin interfaceActionOrBuilder- Returns:
- The alwaysRun.
-
setAlwaysRun
public Action.Builder setAlwaysRun(boolean value)
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;- Parameters:
value- The alwaysRun to set.- Returns:
- This builder for chaining.
-
clearAlwaysRun
public Action.Builder clearAlwaysRun()
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:
- This builder for chaining.
-
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;- Specified by:
getEnableFusein interfaceActionOrBuilder- Returns:
- The enableFuse.
-
setEnableFuse
public Action.Builder setEnableFuse(boolean value)
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;- Parameters:
value- The enableFuse to set.- Returns:
- This builder for chaining.
-
clearEnableFuse
public Action.Builder clearEnableFuse()
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:
- This builder for chaining.
-
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;- Specified by:
getPublishExposedPortsin interfaceActionOrBuilder- Returns:
- The publishExposedPorts.
-
setPublishExposedPorts
public Action.Builder setPublishExposedPorts(boolean value)
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;- Parameters:
value- The publishExposedPorts to set.- Returns:
- This builder for chaining.
-
clearPublishExposedPorts
public Action.Builder clearPublishExposedPorts()
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:
- This builder for chaining.
-
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;- Specified by:
getDisableImagePrefetchin interfaceActionOrBuilder- Returns:
- The disableImagePrefetch.
-
setDisableImagePrefetch
public Action.Builder setDisableImagePrefetch(boolean value)
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;- Parameters:
value- The disableImagePrefetch to set.- Returns:
- This builder for chaining.
-
clearDisableImagePrefetch
public Action.Builder clearDisableImagePrefetch()
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:
- This builder for chaining.
-
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;- Specified by:
getDisableStandardErrorCapturein interfaceActionOrBuilder- Returns:
- The disableStandardErrorCapture.
-
setDisableStandardErrorCapture
public Action.Builder setDisableStandardErrorCapture(boolean value)
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;- Parameters:
value- The disableStandardErrorCapture to set.- Returns:
- This builder for chaining.
-
clearDisableStandardErrorCapture
public Action.Builder clearDisableStandardErrorCapture()
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:
- This builder for chaining.
-
getBlockExternalNetwork
public boolean getBlockExternalNetwork()
Prevents the container from accessing the external network.
bool block_external_network = 20;- Specified by:
getBlockExternalNetworkin interfaceActionOrBuilder- Returns:
- The blockExternalNetwork.
-
setBlockExternalNetwork
public Action.Builder setBlockExternalNetwork(boolean value)
Prevents the container from accessing the external network.
bool block_external_network = 20;- Parameters:
value- The blockExternalNetwork to set.- Returns:
- This builder for chaining.
-
clearBlockExternalNetwork
public Action.Builder clearBlockExternalNetwork()
Prevents the container from accessing the external network.
bool block_external_network = 20;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Action.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
mergeUnknownFields
public final Action.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>
-
-