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()
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 |
---|
Name | Description |
value | Action
|
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Pipeline buildPartial()
clear()
public Pipeline.Builder clear()
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;
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;
clearEnvironment()
public Pipeline.Builder clearEnvironment()
clearField(Descriptors.FieldDescriptor field)
public Pipeline.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Pipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResources()
public Pipeline.Builder clearResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
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;
clone()
public Pipeline.Builder clone()
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 |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
getEnvironment()
public Map<String,String> getEnvironment()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getMutableEnvironment()
public Map<String,String> getMutableEnvironment()
Use alternate mutation accessors instead.
getResources()
public Resources getResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns |
---|
Type | Description |
Resources | The resources.
|
getResourcesBuilder()
public Resources.Builder getResourcesBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
getResourcesOrBuilder()
public ResourcesOrBuilder getResourcesOrBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
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 |
---|
Type | Description |
Duration | The timeout.
|
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;
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;
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
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 |
---|
Name | Description |
value | Secret
|
mergeFrom(Pipeline other)
public Pipeline.Builder mergeFrom(Pipeline other)
public Pipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Pipeline.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeResources(Resources value)
public Pipeline.Builder mergeResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
key | String
|
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;
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;
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 |
---|
Name | Description |
value | Secret
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Pipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResources(Resources value)
public Pipeline.Builder setResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
setResources(Resources.Builder builderForValue)
public Pipeline.Builder setResources(Resources.Builder builderForValue)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides