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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
public static final int ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Pipeline getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Pipeline.Builder newBuilder()
newBuilder(Pipeline prototype)
public static Pipeline.Builder newBuilder(Pipeline prototype)
Parameter |
---|
Name | Description |
prototype | Pipeline
|
public static Pipeline parseDelimitedFrom(InputStream input)
public static Pipeline parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Pipeline parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Pipeline parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(CodedInputStream input)
public static Pipeline parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(InputStream input)
public static Pipeline parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Pipeline parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Pipeline parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Pipeline> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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
|
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()
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;
getEnvironment() (deprecated)
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
|
getParserForType()
public Parser<Pipeline> getParserForType()
Overrides
getResources()
public Resources getResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
Returns |
---|
Type | Description |
Resources | The resources.
|
getResourcesOrBuilder()
public ResourcesOrBuilder getResourcesOrBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
Duration | The timeout.
|
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Pipeline.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Pipeline.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Pipeline.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides