Interface PipelineOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Pipeline
,Pipeline.Builder
public interface PipelineOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsEnvironment(String key)
The environment to pass into every action.Action
getActions(int index)
The list of actions to execute, in the order they are specified.int
getActionsCount()
The list of actions to execute, in the order they are specified.List<Action>
getActionsList()
The list of actions to execute, in the order they are specified.ActionOrBuilder
getActionsOrBuilder(int index)
The list of actions to execute, in the order they are specified.List<? extends ActionOrBuilder>
getActionsOrBuilderList()
The list of actions to execute, in the order they are specified.Secret
getEncryptedEnvironment()
The encrypted environment to pass into every action.SecretOrBuilder
getEncryptedEnvironmentOrBuilder()
The encrypted environment to pass into every action.Map<String,String>
getEnvironment()
Deprecated.int
getEnvironmentCount()
The environment to pass into every action.Map<String,String>
getEnvironmentMap()
The environment to pass into every action.String
getEnvironmentOrDefault(String key, String defaultValue)
The environment to pass into every action.String
getEnvironmentOrThrow(String key)
The environment to pass into every action.Resources
getResources()
The resources required for execution.ResourcesOrBuilder
getResourcesOrBuilder()
The resources required for execution.com.google.protobuf.Duration
getTimeout()
The maximum amount of time to give the pipeline to complete.com.google.protobuf.DurationOrBuilder
getTimeoutOrBuilder()
The maximum amount of time to give the pipeline to complete.boolean
hasEncryptedEnvironment()
The encrypted environment to pass into every action.boolean
hasResources()
The resources required for execution.boolean
hasTimeout()
The maximum amount of time to give the pipeline to complete.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActionsList
List<Action> getActionsList()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
-
getActions
Action getActions(int index)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
-
getActionsCount
int getActionsCount()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
-
getActionsOrBuilderList
List<? extends ActionOrBuilder> getActionsOrBuilderList()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
-
getActionsOrBuilder
ActionOrBuilder getActionsOrBuilder(int index)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
-
hasResources
boolean hasResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
- Returns:
- Whether the resources field is set.
-
getResources
Resources getResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
- Returns:
- The resources.
-
getResourcesOrBuilder
ResourcesOrBuilder getResourcesOrBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
-
getEnvironmentCount
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;
-
containsEnvironment
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;
-
getEnvironment
@Deprecated Map<String,String> getEnvironment()
Deprecated.UsegetEnvironmentMap()
instead.
-
getEnvironmentMap
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;
-
getEnvironmentOrDefault
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;
-
getEnvironmentOrThrow
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;
-
hasEncryptedEnvironment
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:
- Whether the encryptedEnvironment field is set.
-
getEncryptedEnvironment
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:
- The encryptedEnvironment.
-
getEncryptedEnvironmentOrBuilder
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;
-
hasTimeout
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:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.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:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.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;
-
-