Class RunPipelineRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
- com.google.cloud.lifesciences.v2beta.RunPipelineRequest.Builder
-
- All Implemented Interfaces:
RunPipelineRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RunPipelineRequest
public static final class RunPipelineRequest.Builder extends com.google.protobuf.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 typegoogle.cloud.lifesciences.v2beta.RunPipelineRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RunPipelineRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RunPipelineRequestbuild()RunPipelineRequestbuildPartial()RunPipelineRequest.Builderclear()RunPipelineRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RunPipelineRequest.BuilderclearLabels()RunPipelineRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RunPipelineRequest.BuilderclearParent()The project and location that this request should be executed against.RunPipelineRequest.BuilderclearPipeline()Required.RunPipelineRequest.BuilderclearPubSubTopic()The name of an existing Pub/Sub topic.RunPipelineRequest.Builderclone()booleancontainsLabels(String key)User-defined labels to associate with the returned operation.RunPipelineRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getLabels()Deprecated.intgetLabelsCount()User-defined labels to associate with the returned operation.Map<String,String>getLabelsMap()User-defined labels to associate with the returned operation.StringgetLabelsOrDefault(String key, String defaultValue)User-defined labels to associate with the returned operation.StringgetLabelsOrThrow(String key)User-defined labels to associate with the returned operation.Map<String,String>getMutableLabels()Deprecated.StringgetParent()The project and location that this request should be executed against.com.google.protobuf.ByteStringgetParentBytes()The project and location that this request should be executed against.PipelinegetPipeline()Required.Pipeline.BuildergetPipelineBuilder()Required.PipelineOrBuildergetPipelineOrBuilder()Required.StringgetPubSubTopic()The name of an existing Pub/Sub topic.com.google.protobuf.ByteStringgetPubSubTopicBytes()The name of an existing Pub/Sub topic.booleanhasPipeline()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()RunPipelineRequest.BuildermergeFrom(RunPipelineRequest other)RunPipelineRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RunPipelineRequest.BuildermergeFrom(com.google.protobuf.Message other)RunPipelineRequest.BuildermergePipeline(Pipeline value)Required.RunPipelineRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RunPipelineRequest.BuilderputAllLabels(Map<String,String> values)User-defined labels to associate with the returned operation.RunPipelineRequest.BuilderputLabels(String key, String value)User-defined labels to associate with the returned operation.RunPipelineRequest.BuilderremoveLabels(String key)User-defined labels to associate with the returned operation.RunPipelineRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RunPipelineRequest.BuildersetParent(String value)The project and location that this request should be executed against.RunPipelineRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)The project and location that this request should be executed against.RunPipelineRequest.BuildersetPipeline(Pipeline value)Required.RunPipelineRequest.BuildersetPipeline(Pipeline.Builder builderForValue)Required.RunPipelineRequest.BuildersetPubSubTopic(String value)The name of an existing Pub/Sub topic.RunPipelineRequest.BuildersetPubSubTopicBytes(com.google.protobuf.ByteString value)The name of an existing Pub/Sub topic.RunPipelineRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RunPipelineRequest.BuildersetUnknownFields(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
clear
public RunPipelineRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
getDefaultInstanceForType
public RunPipelineRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RunPipelineRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RunPipelineRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RunPipelineRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
setField
public RunPipelineRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
clearField
public RunPipelineRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
clearOneof
public RunPipelineRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
setRepeatedField
public RunPipelineRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
addRepeatedField
public RunPipelineRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
mergeFrom
public RunPipelineRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunPipelineRequest.Builder>
-
mergeFrom
public RunPipelineRequest.Builder mergeFrom(RunPipelineRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
mergeFrom
public RunPipelineRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunPipelineRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
The project and location that this request should be executed against.
string parent = 4;- Specified by:
getParentin interfaceRunPipelineRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
The project and location that this request should be executed against.
string parent = 4;- Specified by:
getParentBytesin interfaceRunPipelineRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public RunPipelineRequest.Builder setParent(String value)
The project and location that this request should be executed against.
string parent = 4;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public RunPipelineRequest.Builder clearParent()
The project and location that this request should be executed against.
string parent = 4;- Returns:
- This builder for chaining.
-
setParentBytes
public RunPipelineRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
The project and location that this request should be executed against.
string parent = 4;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasPipeline
public boolean hasPipeline()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasPipelinein interfaceRunPipelineRequestOrBuilder- Returns:
- Whether the pipeline field is set.
-
getPipeline
public Pipeline getPipeline()
Required. The description of the pipeline to run.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPipelinein interfaceRunPipelineRequestOrBuilder- Returns:
- The pipeline.
-
setPipeline
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
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];
-
mergePipeline
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];
-
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];
-
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];- Specified by:
getPipelineOrBuilderin interfaceRunPipelineRequestOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RunPipelineRequestOrBuilderUser-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;- Specified by:
getLabelsCountin interfaceRunPipelineRequestOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceRunPipelineRequestOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRunPipelineRequestOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceRunPipelineRequestOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceRunPipelineRequestOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceRunPipelineRequestOrBuilder
-
clearLabels
public RunPipelineRequest.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
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;- Specified by:
getPubSubTopicin interfaceRunPipelineRequestOrBuilder- Returns:
- The pubSubTopic.
-
getPubSubTopicBytes
public com.google.protobuf.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;- Specified by:
getPubSubTopicBytesin interfaceRunPipelineRequestOrBuilder- Returns:
- The bytes for pubSubTopic.
-
setPubSubTopic
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;- Parameters:
value- The pubSubTopic to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPubSubTopicBytes
public RunPipelineRequest.Builder setPubSubTopicBytes(com.google.protobuf.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;- Parameters:
value- The bytes for pubSubTopic to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunPipelineRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
mergeUnknownFields
public final RunPipelineRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
-