public final class Pipeline extends GeneratedMessageV3 implements PipelineOrBuilder
Specifies a series of actions to execute, expressed as Docker containers.
Protobuf type google.cloud.lifesciences.v2beta.Pipeline
Static Fields
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
Field Value
ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
public static final int ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
Field Value
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Pipeline getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Pipeline.Builder newBuilder()
Returns
newBuilder(Pipeline prototype)
public static Pipeline.Builder newBuilder(Pipeline prototype)
Parameter
Returns
public static Pipeline parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Pipeline parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Pipeline parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Pipeline parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Pipeline parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Pipeline parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Pipeline parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Pipeline parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Pipeline parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Pipeline> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
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.
|
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
getParserForType()
public Parser<Pipeline> getParserForType()
Returns
Overrides
getResources()
public Resources getResources()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Pipeline.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Pipeline.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Pipeline.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions