public static final class RunPipelineRequest.Builder extends GeneratedMessageV3.Builder<RunPipelineRequest.Builder> implements RunPipelineRequestOrBuilder
The arguments to the RunPipeline
method. The requesting user must have
the iam.serviceAccounts.actAs
permission for the Cloud Life Sciences
service account or the request will fail.
Protobuf type google.cloud.lifesciences.v2beta.RunPipelineRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RunPipelineRequest build()
Returns
buildPartial()
public RunPipelineRequest buildPartial()
Returns
clear()
public RunPipelineRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RunPipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabels()
public RunPipelineRequest.Builder clearLabels()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RunPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public RunPipelineRequest.Builder clearParent()
The project and location that this request should be executed against.
string parent = 4;
Returns
clearPipeline()
public RunPipelineRequest.Builder clearPipeline()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearPubSubTopic()
public RunPipelineRequest.Builder clearPubSubTopic()
The name of an existing Pub/Sub topic. The server will publish
messages to this topic whenever the status of the operation changes.
The Life Sciences Service Agent account must have publisher permissions to
the specified topic or notifications will not be sent.
string pub_sub_topic = 3;
Returns
clone()
public RunPipelineRequest.Builder clone()
Returns
Overrides
containsLabels(String key)
public boolean containsLabels(String key)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameter
Returns
getDefaultInstanceForType()
public RunPipelineRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameter
Returns
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns
getParent()
public String getParent()
The project and location that this request should be executed against.
string parent = 4;
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
The project and location that this request should be executed against.
string parent = 4;
Returns
getPipeline()
public Pipeline getPipeline()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPipelineBuilder()
public Pipeline.Builder getPipelineBuilder()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPipelineOrBuilder()
public PipelineOrBuilder getPipelineOrBuilder()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPubSubTopic()
public String getPubSubTopic()
The name of an existing Pub/Sub topic. The server will publish
messages to this topic whenever the status of the operation changes.
The Life Sciences Service Agent account must have publisher permissions to
the specified topic or notifications will not be sent.
string pub_sub_topic = 3;
Returns
Type | Description |
String | The pubSubTopic.
|
getPubSubTopicBytes()
public ByteString getPubSubTopicBytes()
The name of an existing Pub/Sub topic. The server will publish
messages to this topic whenever the status of the operation changes.
The Life Sciences Service Agent account must have publisher permissions to
the specified topic or notifications will not be sent.
string pub_sub_topic = 3;
Returns
Type | Description |
ByteString | The bytes for pubSubTopic.
|
hasPipeline()
public boolean hasPipeline()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the pipeline field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RunPipelineRequest other)
public RunPipelineRequest.Builder mergeFrom(RunPipelineRequest other)
Parameter
Returns
public RunPipelineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RunPipelineRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePipeline(Pipeline value)
public RunPipelineRequest.Builder mergePipeline(Pipeline value)
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllLabels(Map<String,String> values)
public RunPipelineRequest.Builder putAllLabels(Map<String,String> values)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameter
Returns
putLabels(String key, String value)
public RunPipelineRequest.Builder putLabels(String key, String value)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameters
Returns
removeLabels(String key)
public RunPipelineRequest.Builder removeLabels(String key)
User-defined labels to associate with the returned operation. These
labels are not propagated to any Google Cloud Platform resources used by
the operation, and can be modified at any time.
To associate labels with resources created while executing the operation,
see the appropriate resource message (for example, VirtualMachine
).
map<string, string> labels = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public RunPipelineRequest.Builder setParent(String value)
The project and location that this request should be executed against.
string parent = 4;
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public RunPipelineRequest.Builder setParentBytes(ByteString value)
The project and location that this request should be executed against.
string parent = 4;
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setPipeline(Pipeline value)
public RunPipelineRequest.Builder setPipeline(Pipeline value)
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setPipeline(Pipeline.Builder builderForValue)
public RunPipelineRequest.Builder setPipeline(Pipeline.Builder builderForValue)
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setPubSubTopic(String value)
public RunPipelineRequest.Builder setPubSubTopic(String value)
The name of an existing Pub/Sub topic. The server will publish
messages to this topic whenever the status of the operation changes.
The Life Sciences Service Agent account must have publisher permissions to
the specified topic or notifications will not be sent.
string pub_sub_topic = 3;
Parameter
Name | Description |
value | String
The pubSubTopic to set.
|
Returns
setPubSubTopicBytes(ByteString value)
public RunPipelineRequest.Builder setPubSubTopicBytes(ByteString value)
The name of an existing Pub/Sub topic. The server will publish
messages to this topic whenever the status of the operation changes.
The Life Sciences Service Agent account must have publisher permissions to
the specified topic or notifications will not be sent.
string pub_sub_topic = 3;
Parameter
Name | Description |
value | ByteString
The bytes for pubSubTopic to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunPipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides