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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunPipelineRequest build()
buildPartial()
public RunPipelineRequest buildPartial()
clear()
public RunPipelineRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RunPipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public RunPipelineRequest.Builder clearLabels()
clearOneof(Descriptors.OneofDescriptor oneof)
public RunPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public RunPipelineRequest.Builder clearParent()
The project and location that this request should be executed against.
string parent = 4;
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];
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;
clone()
public RunPipelineRequest.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public RunPipelineRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabels()
public Map<String,String> getLabels()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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 |
---|
Type | Description |
Pipeline | The pipeline.
|
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];
getPipelineOrBuilder()
public PipelineOrBuilder getPipelineOrBuilder()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RunPipelineRequest other)
public RunPipelineRequest.Builder mergeFrom(RunPipelineRequest other)
public RunPipelineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunPipelineRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunPipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides