Interface PipelineOrBuilder (0.51.0)

public interface PipelineOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEnvironment(String key)

public abstract boolean containsEnvironment(String key)

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).

map<string, string> environment = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getActions(int index)

public abstract Action getActions(int index)

The list of actions to execute, in the order they are specified.

repeated .google.cloud.lifesciences.v2beta.Action actions = 1;

Parameter
Name Description
index int
Returns
Type Description
Action

getActionsCount()

public abstract int getActionsCount()

The list of actions to execute, in the order they are specified.

repeated .google.cloud.lifesciences.v2beta.Action actions = 1;

Returns
Type Description
int

getActionsList()

public abstract List<Action> getActionsList()

The list of actions to execute, in the order they are specified.

repeated .google.cloud.lifesciences.v2beta.Action actions = 1;

Returns
Type Description
List<Action>

getActionsOrBuilder(int index)

public abstract ActionOrBuilder getActionsOrBuilder(int index)

The list of actions to execute, in the order they are specified.

repeated .google.cloud.lifesciences.v2beta.Action actions = 1;

Parameter
Name Description
index int
Returns
Type Description
ActionOrBuilder

getActionsOrBuilderList()

public abstract List<? extends ActionOrBuilder> getActionsOrBuilderList()

The list of actions to execute, in the order they are specified.

repeated .google.cloud.lifesciences.v2beta.Action actions = 1;

Returns
Type Description
List<? extends com.google.cloud.lifesciences.v2beta.ActionOrBuilder>

getEncryptedEnvironment()

public abstract Secret getEncryptedEnvironment()

The encrypted environment to pass into every action. Each action can also specify its own encrypted environment.

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 = 5;

Returns
Type Description
Secret

The encryptedEnvironment.

getEncryptedEnvironmentOrBuilder()

public abstract SecretOrBuilder getEncryptedEnvironmentOrBuilder()

The encrypted environment to pass into every action. Each action can also specify its own encrypted environment.

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 = 5;

Returns
Type Description
SecretOrBuilder

getEnvironment() (deprecated)

public abstract Map<String,String> getEnvironment()

Use #getEnvironmentMap() instead.

Returns
Type Description
Map<String,String>

getEnvironmentCount()

public abstract int getEnvironmentCount()

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).

map<string, string> environment = 3;

Returns
Type Description
int

getEnvironmentMap()

public abstract Map<String,String> getEnvironmentMap()

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).

map<string, string> environment = 3;

Returns
Type Description
Map<String,String>

getEnvironmentOrDefault(String key, String defaultValue)

public abstract String getEnvironmentOrDefault(String key, String defaultValue)

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).

map<string, string> environment = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvironmentOrThrow(String key)

public abstract String getEnvironmentOrThrow(String key)

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).

map<string, string> environment = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getResources()

public abstract Resources getResources()

The resources required for execution.

.google.cloud.lifesciences.v2beta.Resources resources = 2;

Returns
Type Description
Resources

The resources.

getResourcesOrBuilder()

public abstract ResourcesOrBuilder getResourcesOrBuilder()

The resources required for execution.

.google.cloud.lifesciences.v2beta.Resources resources = 2;

Returns
Type Description
ResourcesOrBuilder

getTimeout()

public abstract Duration getTimeout()

The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED.

If unspecified, it will default to 7 days.

.google.protobuf.Duration timeout = 4;

Returns
Type Description
Duration

The timeout.

getTimeoutOrBuilder()

public abstract DurationOrBuilder getTimeoutOrBuilder()

The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED.

If unspecified, it will default to 7 days.

.google.protobuf.Duration timeout = 4;

Returns
Type Description
DurationOrBuilder

hasEncryptedEnvironment()

public abstract boolean hasEncryptedEnvironment()

The encrypted environment to pass into every action. Each action can also specify its own encrypted environment.

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 = 5;

Returns
Type Description
boolean

Whether the encryptedEnvironment field is set.

hasResources()

public abstract boolean hasResources()

The resources required for execution.

.google.cloud.lifesciences.v2beta.Resources resources = 2;

Returns
Type Description
boolean

Whether the resources field is set.

hasTimeout()

public abstract boolean hasTimeout()

The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED.

If unspecified, it will default to 7 days.

.google.protobuf.Duration timeout = 4;

Returns
Type Description
boolean

Whether the timeout field is set.