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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RunPipelineRequest
build()
RunPipelineRequest
buildPartial()
RunPipelineRequest.Builder
clear()
RunPipelineRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RunPipelineRequest.Builder
clearLabels()
RunPipelineRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RunPipelineRequest.Builder
clearParent()
The project and location that this request should be executed against.RunPipelineRequest.Builder
clearPipeline()
Required.RunPipelineRequest.Builder
clearPubSubTopic()
The name of an existing Pub/Sub topic.RunPipelineRequest.Builder
clone()
boolean
containsLabels(String key)
User-defined labels to associate with the returned operation.RunPipelineRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
User-defined labels to associate with the returned operation.Map<String,String>
getLabelsMap()
User-defined labels to associate with the returned operation.String
getLabelsOrDefault(String key, String defaultValue)
User-defined labels to associate with the returned operation.String
getLabelsOrThrow(String key)
User-defined labels to associate with the returned operation.Map<String,String>
getMutableLabels()
Deprecated.String
getParent()
The project and location that this request should be executed against.com.google.protobuf.ByteString
getParentBytes()
The project and location that this request should be executed against.Pipeline
getPipeline()
Required.Pipeline.Builder
getPipelineBuilder()
Required.PipelineOrBuilder
getPipelineOrBuilder()
Required.String
getPubSubTopic()
The name of an existing Pub/Sub topic.com.google.protobuf.ByteString
getPubSubTopicBytes()
The name of an existing Pub/Sub topic.boolean
hasPipeline()
Required.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()
RunPipelineRequest.Builder
mergeFrom(RunPipelineRequest other)
RunPipelineRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunPipelineRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RunPipelineRequest.Builder
mergePipeline(Pipeline value)
Required.RunPipelineRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RunPipelineRequest.Builder
putAllLabels(Map<String,String> values)
User-defined labels to associate with the returned operation.RunPipelineRequest.Builder
putLabels(String key, String value)
User-defined labels to associate with the returned operation.RunPipelineRequest.Builder
removeLabels(String key)
User-defined labels to associate with the returned operation.RunPipelineRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RunPipelineRequest.Builder
setParent(String value)
The project and location that this request should be executed against.RunPipelineRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
The project and location that this request should be executed against.RunPipelineRequest.Builder
setPipeline(Pipeline value)
Required.RunPipelineRequest.Builder
setPipeline(Pipeline.Builder builderForValue)
Required.RunPipelineRequest.Builder
setPubSubTopic(String value)
The name of an existing Pub/Sub topic.RunPipelineRequest.Builder
setPubSubTopicBytes(com.google.protobuf.ByteString value)
The name of an existing Pub/Sub topic.RunPipelineRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RunPipelineRequest.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<RunPipelineRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
clear
public RunPipelineRequest.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<RunPipelineRequest.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<RunPipelineRequest.Builder>
-
getDefaultInstanceForType
public RunPipelineRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RunPipelineRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RunPipelineRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
setField
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
clearField
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
clearOneof
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
setRepeatedField
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
addRepeatedField
public RunPipelineRequest.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<RunPipelineRequest.Builder>
-
mergeFrom
public RunPipelineRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunPipelineRequest.Builder>
-
mergeFrom
public RunPipelineRequest.Builder mergeFrom(RunPipelineRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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:
hasPipeline
in 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:
getPipeline
in 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:
getPipelineOrBuilder
in interfaceRunPipelineRequestOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RunPipelineRequestOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceRunPipelineRequestOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
getPubSubTopic
in 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:
getPubSubTopicBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
mergeUnknownFields
public final RunPipelineRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
-
-