Class 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 type google.cloud.lifesciences.v2beta.RunPipelineRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • clear

        public RunPipelineRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • getDefaultInstanceForType

        public RunPipelineRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RunPipelineRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RunPipelineRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RunPipelineRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • setField

        public RunPipelineRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • clearField

        public RunPipelineRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • clearOneof

        public RunPipelineRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • addRepeatedField

        public RunPipelineRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • mergeFrom

        public RunPipelineRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunPipelineRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface RunPipelineRequestOrBuilder
        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 interface RunPipelineRequestOrBuilder
        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 interface RunPipelineRequestOrBuilder
        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 interface RunPipelineRequestOrBuilder
        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];
      • 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 interface RunPipelineRequestOrBuilder
      • 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 interface RunPipelineRequestOrBuilder
      • 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 interface RunPipelineRequestOrBuilder
      • 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 interface RunPipelineRequestOrBuilder
      • 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 interface RunPipelineRequestOrBuilder
      • 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 interface RunPipelineRequestOrBuilder
        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 interface RunPipelineRequestOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • mergeUnknownFields

        public final RunPipelineRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>