Class DescribeActivityExecutionRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
      • mergeFrom

        public DescribeActivityExecutionRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.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<DescribeActivityExecutionRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public DescribeActivityExecutionRequest.Builder setNamespace​(java.lang.String value)
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public DescribeActivityExecutionRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • setActivityId

        public DescribeActivityExecutionRequest.Builder setActivityId​(java.lang.String value)
        string activity_id = 2;
        Parameters:
        value - The activityId to set.
        Returns:
        This builder for chaining.
      • setActivityIdBytes

        public DescribeActivityExecutionRequest.Builder setActivityIdBytes​(com.google.protobuf.ByteString value)
        string activity_id = 2;
        Parameters:
        value - The bytes for activityId to set.
        Returns:
        This builder for chaining.
      • setRunId

        public DescribeActivityExecutionRequest.Builder setRunId​(java.lang.String value)
         Activity run ID. If empty the request targets the latest run.
         
        string run_id = 3;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public DescribeActivityExecutionRequest.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         Activity run ID. If empty the request targets the latest run.
         
        string run_id = 3;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • setIncludeInput

        public DescribeActivityExecutionRequest.Builder setIncludeInput​(boolean value)
         Include the input field in the response.
         
        bool include_input = 4;
        Parameters:
        value - The includeInput to set.
        Returns:
        This builder for chaining.
      • setIncludeOutcome

        public DescribeActivityExecutionRequest.Builder setIncludeOutcome​(boolean value)
         Include the outcome (result/failure) in the response if the activity has completed.
         
        bool include_outcome = 5;
        Parameters:
        value - The includeOutcome to set.
        Returns:
        This builder for chaining.
      • clearIncludeOutcome

        public DescribeActivityExecutionRequest.Builder clearIncludeOutcome()
         Include the outcome (result/failure) in the response if the activity has completed.
         
        bool include_outcome = 5;
        Returns:
        This builder for chaining.
      • getLongPollToken

        public com.google.protobuf.ByteString getLongPollToken()
         Token from a previous DescribeActivityExecutionResponse. If present, long-poll until activity
         state changes from the state encoded in this token. If absent, return current state immediately.
         If present, run_id must also be present.
         Note that activity state may change multiple times between requests, therefore it is not
         guaranteed that a client making a sequence of long-poll requests will see a complete
         sequence of state changes.
         
        bytes long_poll_token = 6;
        Specified by:
        getLongPollToken in interface DescribeActivityExecutionRequestOrBuilder
        Returns:
        The longPollToken.
      • setLongPollToken

        public DescribeActivityExecutionRequest.Builder setLongPollToken​(com.google.protobuf.ByteString value)
         Token from a previous DescribeActivityExecutionResponse. If present, long-poll until activity
         state changes from the state encoded in this token. If absent, return current state immediately.
         If present, run_id must also be present.
         Note that activity state may change multiple times between requests, therefore it is not
         guaranteed that a client making a sequence of long-poll requests will see a complete
         sequence of state changes.
         
        bytes long_poll_token = 6;
        Parameters:
        value - The longPollToken to set.
        Returns:
        This builder for chaining.
      • clearLongPollToken

        public DescribeActivityExecutionRequest.Builder clearLongPollToken()
         Token from a previous DescribeActivityExecutionResponse. If present, long-poll until activity
         state changes from the state encoded in this token. If absent, return current state immediately.
         If present, run_id must also be present.
         Note that activity state may change multiple times between requests, therefore it is not
         guaranteed that a client making a sequence of long-poll requests will see a complete
         sequence of state changes.
         
        bytes long_poll_token = 6;
        Returns:
        This builder for chaining.