Class Pipeline.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
- com.google.cloud.lifesciences.v2beta.Pipeline.Builder
-
- All Implemented Interfaces:
PipelineOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Pipeline
public static final class Pipeline.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder> implements PipelineOrBuilder
Specifies a series of actions to execute, expressed as Docker containers.
Protobuf typegoogle.cloud.lifesciences.v2beta.Pipeline
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Pipeline.Builder
addActions(int index, Action value)
The list of actions to execute, in the order they are specified.Pipeline.Builder
addActions(int index, Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.Pipeline.Builder
addActions(Action value)
The list of actions to execute, in the order they are specified.Pipeline.Builder
addActions(Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.Action.Builder
addActionsBuilder()
The list of actions to execute, in the order they are specified.Action.Builder
addActionsBuilder(int index)
The list of actions to execute, in the order they are specified.Pipeline.Builder
addAllActions(Iterable<? extends Action> values)
The list of actions to execute, in the order they are specified.Pipeline.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Pipeline
build()
Pipeline
buildPartial()
Pipeline.Builder
clear()
Pipeline.Builder
clearActions()
The list of actions to execute, in the order they are specified.Pipeline.Builder
clearEncryptedEnvironment()
The encrypted environment to pass into every action.Pipeline.Builder
clearEnvironment()
Pipeline.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Pipeline.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Pipeline.Builder
clearResources()
The resources required for execution.Pipeline.Builder
clearTimeout()
The maximum amount of time to give the pipeline to complete.Pipeline.Builder
clone()
boolean
containsEnvironment(String key)
The environment to pass into every action.Action
getActions(int index)
The list of actions to execute, in the order they are specified.Action.Builder
getActionsBuilder(int index)
The list of actions to execute, in the order they are specified.List<Action.Builder>
getActionsBuilderList()
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.Pipeline
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Secret
getEncryptedEnvironment()
The encrypted environment to pass into every action.Secret.Builder
getEncryptedEnvironmentBuilder()
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.Map<String,String>
getMutableEnvironment()
Deprecated.Resources
getResources()
The resources required for execution.Resources.Builder
getResourcesBuilder()
The resources required for execution.ResourcesOrBuilder
getResourcesOrBuilder()
The resources required for execution.com.google.protobuf.Duration
getTimeout()
The maximum amount of time to give the pipeline to complete.com.google.protobuf.Duration.Builder
getTimeoutBuilder()
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.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)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Pipeline.Builder
mergeEncryptedEnvironment(Secret value)
The encrypted environment to pass into every action.Pipeline.Builder
mergeFrom(Pipeline other)
Pipeline.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Pipeline.Builder
mergeFrom(com.google.protobuf.Message other)
Pipeline.Builder
mergeResources(Resources value)
The resources required for execution.Pipeline.Builder
mergeTimeout(com.google.protobuf.Duration value)
The maximum amount of time to give the pipeline to complete.Pipeline.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Pipeline.Builder
putAllEnvironment(Map<String,String> values)
The environment to pass into every action.Pipeline.Builder
putEnvironment(String key, String value)
The environment to pass into every action.Pipeline.Builder
removeActions(int index)
The list of actions to execute, in the order they are specified.Pipeline.Builder
removeEnvironment(String key)
The environment to pass into every action.Pipeline.Builder
setActions(int index, Action value)
The list of actions to execute, in the order they are specified.Pipeline.Builder
setActions(int index, Action.Builder builderForValue)
The list of actions to execute, in the order they are specified.Pipeline.Builder
setEncryptedEnvironment(Secret value)
The encrypted environment to pass into every action.Pipeline.Builder
setEncryptedEnvironment(Secret.Builder builderForValue)
The encrypted environment to pass into every action.Pipeline.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Pipeline.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Pipeline.Builder
setResources(Resources value)
The resources required for execution.Pipeline.Builder
setResources(Resources.Builder builderForValue)
The resources required for execution.Pipeline.Builder
setTimeout(com.google.protobuf.Duration value)
The maximum amount of time to give the pipeline to complete.Pipeline.Builder
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The maximum amount of time to give the pipeline to complete.Pipeline.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Pipeline.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
clear
public Pipeline.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
getDefaultInstanceForType
public Pipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Pipeline build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Pipeline buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Pipeline.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
setField
public Pipeline.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
clearField
public Pipeline.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
clearOneof
public Pipeline.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
setRepeatedField
public Pipeline.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
addRepeatedField
public Pipeline.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
mergeFrom
public Pipeline.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Pipeline.Builder>
-
mergeFrom
public Pipeline.Builder mergeFrom(Pipeline other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
mergeFrom
public Pipeline.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Pipeline.Builder>
- Throws:
IOException
-
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
-
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
-
setActions
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
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;
-
addActions
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;
-
addActions
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
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
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;
-
addAllActions
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;
-
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;
-
removeActions
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;
-
getActionsBuilder
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;
-
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
-
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
-
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
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;
-
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;
-
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.
-
setResources
public Pipeline.Builder setResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
-
setResources
public Pipeline.Builder setResources(Resources.Builder builderForValue)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
-
mergeResources
public Pipeline.Builder mergeResources(Resources value)
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
-
clearResources
public Pipeline.Builder clearResources()
The resources required for execution.
.google.cloud.lifesciences.v2beta.Resources resources = 2;
-
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;
- 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
-
clearEnvironment
public Pipeline.Builder clearEnvironment()
-
removeEnvironment
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;
-
getMutableEnvironment
@Deprecated public Map<String,String> getMutableEnvironment()
Deprecated.Use alternate mutation accessors instead.
-
putEnvironment
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;
-
putAllEnvironment
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;
-
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.
-
setEncryptedEnvironment
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;
-
setEncryptedEnvironment
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;
-
mergeEncryptedEnvironment
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;
-
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;
-
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;
- 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.
-
setTimeout
public Pipeline.Builder setTimeout(com.google.protobuf.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
public Pipeline.Builder setTimeout(com.google.protobuf.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;
-
mergeTimeout
public Pipeline.Builder mergeTimeout(com.google.protobuf.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;
-
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;
-
getTimeoutBuilder
public com.google.protobuf.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 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
-
setUnknownFields
public final Pipeline.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
mergeUnknownFields
public final Pipeline.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pipeline.Builder>
-
-