public static final class Pipeline.Builder extends GeneratedMessageV3.Builder<Pipeline.Builder> implements PipelineOrBuilder
Specifies a series of actions to execute, expressed as Docker containers.
Protobuf type google.cloud.lifesciences.v2beta.Pipeline
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addActions(Action value)
public Pipeline.Builder addActions(Action value)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Returns
addActions(Action.Builder builderForValue)
public Pipeline.Builder addActions(Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Returns
addActions(int index, Action value)
public Pipeline.Builder addActions(int index, Action value)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameters
Returns
addActions(int index, Action.Builder builderForValue)
public Pipeline.Builder addActions(int index, Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameters
Returns
addActionsBuilder()
public Action.Builder addActionsBuilder()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Returns
addActionsBuilder(int index)
public Action.Builder addActionsBuilder(int index)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Returns
addAllActions(Iterable<? extends Action> values)
public Pipeline.Builder addAllActions(Iterable<? extends Action> values)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.lifesciences.v2beta.Action>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Pipeline buildPartial()
Returns
clear()
public Pipeline.Builder clear()
Returns
Overrides
clearActions()
public Pipeline.Builder clearActions()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Returns
clearEncryptedEnvironment()
public Pipeline.Builder clearEncryptedEnvironment()
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
clearEnvironment()
public Pipeline.Builder clearEnvironment()
Returns
clearField(Descriptors.FieldDescriptor field)
public Pipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Pipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResources()
public Pipeline.Builder clearResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns
clearTimeout()
public Pipeline.Builder clearTimeout()
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
clone()
public Pipeline.Builder clone()
Returns
Overrides
containsEnvironment(String key)
public 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
Returns
getActions(int index)
public 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
Returns
getActionsBuilder(int index)
public Action.Builder getActionsBuilder(int index)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Returns
getActionsBuilderList()
public List<Action.Builder> getActionsBuilderList()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Returns
getActionsCount()
public int getActionsCount()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Returns
getActionsList()
public List<Action> getActionsList()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Returns
getActionsOrBuilder(int index)
public 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
Returns
getActionsOrBuilderList()
public 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> | |
getDefaultInstanceForType()
public Pipeline getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEncryptedEnvironment()
public 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.
|
getEncryptedEnvironmentBuilder()
public Secret.Builder getEncryptedEnvironmentBuilder()
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
getEncryptedEnvironmentOrBuilder()
public 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
getEnvironment()
public Map<String,String> getEnvironment()
Returns
getEnvironmentCount()
public 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
getEnvironmentMap()
public 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
getEnvironmentOrDefault(String key, String defaultValue)
public 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
Returns
getEnvironmentOrThrow(String key)
public 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
Returns
getMutableEnvironment()
public Map<String,String> getMutableEnvironment()
Use alternate mutation accessors instead.
Returns
getResources()
public Resources getResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns
getResourcesBuilder()
public Resources.Builder getResourcesBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns
getResourcesOrBuilder()
public ResourcesOrBuilder getResourcesOrBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns
getTimeout()
public 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
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
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
getTimeoutOrBuilder()
public 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
hasEncryptedEnvironment()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEncryptedEnvironment(Secret value)
public Pipeline.Builder mergeEncryptedEnvironment(Secret value)
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;
Parameter
Returns
mergeFrom(Pipeline other)
public Pipeline.Builder mergeFrom(Pipeline other)
Parameter
Returns
public Pipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Pipeline.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeResources(Resources value)
public Pipeline.Builder mergeResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Parameter
Returns
mergeTimeout(Duration value)
public Pipeline.Builder mergeTimeout(Duration value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllEnvironment(Map<String,String> values)
public Pipeline.Builder putAllEnvironment(Map<String,String> values)
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
Returns
putEnvironment(String key, String value)
public Pipeline.Builder putEnvironment(String key, String value)
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
Returns
removeActions(int index)
public Pipeline.Builder removeActions(int index)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameter
Returns
removeEnvironment(String key)
public Pipeline.Builder removeEnvironment(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
Returns
setActions(int index, Action value)
public Pipeline.Builder setActions(int index, Action value)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameters
Returns
setActions(int index, Action.Builder builderForValue)
public Pipeline.Builder setActions(int index, Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
Parameters
Returns
setEncryptedEnvironment(Secret value)
public Pipeline.Builder setEncryptedEnvironment(Secret value)
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;
Parameter
Returns
setEncryptedEnvironment(Secret.Builder builderForValue)
public Pipeline.Builder setEncryptedEnvironment(Secret.Builder builderForValue)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Pipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResources(Resources value)
public Pipeline.Builder setResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Parameter
Returns
setResources(Resources.Builder builderForValue)
public Pipeline.Builder setResources(Resources.Builder builderForValue)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Parameter
Returns
setTimeout(Duration value)
public Pipeline.Builder setTimeout(Duration value)
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;
Parameter
Returns
setTimeout(Duration.Builder builderForValue)
public Pipeline.Builder setTimeout(Duration.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides