Interface PipelineOrBuilder (0.9.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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecretOrBuilder

getEnvironment()

public abstract Map<String,String> getEnvironment()

Use #getEnvironmentMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getResources()

public abstract Resources getResources()

The resources required for execution.

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

Returns
TypeDescription
Resources

The resources.

getResourcesOrBuilder()

public abstract ResourcesOrBuilder getResourcesOrBuilder()

The resources required for execution.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeout field is set.