Class Pipeline
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.lifesciences.v2beta.Pipeline
-
- All Implemented Interfaces:
PipelineOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Pipeline extends com.google.protobuf.GeneratedMessageV3 implements PipelineOrBuilder
Specifies a series of actions to execute, expressed as Docker containers.
Protobuf typegoogle.cloud.lifesciences.v2beta.Pipeline
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Pipeline.Builder
Specifies a series of actions to execute, expressed as Docker containers.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIONS_FIELD_NUMBER
static int
ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
static int
ENVIRONMENT_FIELD_NUMBER
static int
RESOURCES_FIELD_NUMBER
static int
TIMEOUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsEnvironment(String key)
The environment to pass into every action.boolean
equals(Object obj)
Action
getActions(int index)
The list of actions to execute, in the order they are specified.int
getActionsCount()
The list of actions to execute, in the order they are specified.List<Action>
getActionsList()
The list of actions to execute, in the order they are specified.ActionOrBuilder
getActionsOrBuilder(int index)
The list of actions to execute, in the order they are specified.List<? extends ActionOrBuilder>
getActionsOrBuilderList()
The list of actions to execute, in the order they are specified.static Pipeline
getDefaultInstance()
Pipeline
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Secret
getEncryptedEnvironment()
The encrypted environment to pass into every action.SecretOrBuilder
getEncryptedEnvironmentOrBuilder()
The encrypted environment to pass into every action.Map<String,String>
getEnvironment()
Deprecated.int
getEnvironmentCount()
The environment to pass into every action.Map<String,String>
getEnvironmentMap()
The environment to pass into every action.String
getEnvironmentOrDefault(String key, String defaultValue)
The environment to pass into every action.String
getEnvironmentOrThrow(String key)
The environment to pass into every action.com.google.protobuf.Parser<Pipeline>
getParserForType()
Resources
getResources()
The resources required for execution.ResourcesOrBuilder
getResourcesOrBuilder()
The resources required for execution.int
getSerializedSize()
com.google.protobuf.Duration
getTimeout()
The maximum amount of time to give the pipeline to complete.com.google.protobuf.DurationOrBuilder
getTimeoutOrBuilder()
The maximum amount of time to give the pipeline to complete.boolean
hasEncryptedEnvironment()
The encrypted environment to pass into every action.int
hashCode()
boolean
hasResources()
The resources required for execution.boolean
hasTimeout()
The maximum amount of time to give the pipeline to complete.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Pipeline.Builder
newBuilder()
static Pipeline.Builder
newBuilder(Pipeline prototype)
Pipeline.Builder
newBuilderForType()
protected Pipeline.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Pipeline
parseDelimitedFrom(InputStream input)
static Pipeline
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Pipeline
parseFrom(byte[] data)
static Pipeline
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Pipeline
parseFrom(com.google.protobuf.ByteString data)
static Pipeline
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Pipeline
parseFrom(com.google.protobuf.CodedInputStream input)
static Pipeline
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Pipeline
parseFrom(InputStream input)
static Pipeline
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Pipeline
parseFrom(ByteBuffer data)
static Pipeline
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Pipeline>
parser()
Pipeline.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
public static final int ENCRYPTED_ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
getActionsList
in interfacePipelineOrBuilder
-
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;
- Specified by:
getActionsOrBuilderList
in interfacePipelineOrBuilder
-
getActionsCount
public int getActionsCount()
The list of actions to execute, in the order they are specified.
repeated .google.cloud.lifesciences.v2beta.Action actions = 1;
- Specified by:
getActionsCount
in interfacePipelineOrBuilder
-
getActions
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;
- Specified by:
getActions
in interfacePipelineOrBuilder
-
getActionsOrBuilder
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;
- Specified by:
getActionsOrBuilder
in interfacePipelineOrBuilder
-
hasResources
public boolean hasResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
- Specified by:
hasResources
in interfacePipelineOrBuilder
- Returns:
- Whether the resources field is set.
-
getResources
public Resources getResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
- Specified by:
getResources
in interfacePipelineOrBuilder
- Returns:
- The resources.
-
getResourcesOrBuilder
public ResourcesOrBuilder getResourcesOrBuilder()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
- Specified by:
getResourcesOrBuilder
in interfacePipelineOrBuilder
-
getEnvironmentCount
public int getEnvironmentCount()
Description copied from interface:PipelineOrBuilder
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;
- Specified by:
getEnvironmentCount
in interfacePipelineOrBuilder
-
containsEnvironment
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;
- Specified by:
containsEnvironment
in interfacePipelineOrBuilder
-
getEnvironment
@Deprecated public Map<String,String> getEnvironment()
Deprecated.UsegetEnvironmentMap()
instead.- Specified by:
getEnvironment
in interfacePipelineOrBuilder
-
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;
- Specified by:
getEnvironmentMap
in interfacePipelineOrBuilder
-
getEnvironmentOrDefault
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;
- Specified by:
getEnvironmentOrDefault
in interfacePipelineOrBuilder
-
getEnvironmentOrThrow
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;
- Specified by:
getEnvironmentOrThrow
in interfacePipelineOrBuilder
-
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;
- Specified by:
hasEncryptedEnvironment
in interfacePipelineOrBuilder
- Returns:
- Whether the encryptedEnvironment field is set.
-
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;
- Specified by:
getEncryptedEnvironment
in interfacePipelineOrBuilder
- Returns:
- 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;
- Specified by:
getEncryptedEnvironmentOrBuilder
in interfacePipelineOrBuilder
-
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;
- Specified by:
hasTimeout
in interfacePipelineOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.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;
- Specified by:
getTimeout
in interfacePipelineOrBuilder
- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.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;
- Specified by:
getTimeoutOrBuilder
in interfacePipelineOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Pipeline parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pipeline parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Pipeline parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Pipeline parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Pipeline parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Pipeline parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Pipeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Pipeline.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Pipeline.Builder newBuilder()
-
newBuilder
public static Pipeline.Builder newBuilder(Pipeline prototype)
-
toBuilder
public Pipeline.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Pipeline.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Pipeline getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Pipeline> parser()
-
getParserForType
public com.google.protobuf.Parser<Pipeline> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Pipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-