Class Pipeline (0.8.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.8.0keyboard_arrow_down
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
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
Name
Description
index
int
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
Name
Description
index
int
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
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
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
Name
Description
number
int
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,[]]