Class WorkflowExecutionExtendedInfo.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionExtendedInfo.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionExtendedInfo.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

        public WorkflowExecutionExtendedInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionExtendedInfo.Builder>
      • addRepeatedField

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

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

        public WorkflowExecutionExtendedInfo.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<WorkflowExecutionExtendedInfo.Builder>
        Throws:
        java.io.IOException
      • hasExecutionExpirationTime

        public boolean hasExecutionExpirationTime()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        hasExecutionExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the executionExpirationTime field is set.
      • getExecutionExpirationTime

        public com.google.protobuf.Timestamp getExecutionExpirationTime()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        getExecutionExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The executionExpirationTime.
      • setExecutionExpirationTime

        public WorkflowExecutionExtendedInfo.Builder setExecutionExpirationTime​(com.google.protobuf.Timestamp value)
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
      • setExecutionExpirationTime

        public WorkflowExecutionExtendedInfo.Builder setExecutionExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
      • mergeExecutionExpirationTime

        public WorkflowExecutionExtendedInfo.Builder mergeExecutionExpirationTime​(com.google.protobuf.Timestamp value)
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
      • clearExecutionExpirationTime

        public WorkflowExecutionExtendedInfo.Builder clearExecutionExpirationTime()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
      • getExecutionExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExecutionExpirationTimeBuilder()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
      • getExecutionExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExecutionExpirationTimeOrBuilder()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        getExecutionExpirationTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
      • hasRunExpirationTime

        public boolean hasRunExpirationTime()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        hasRunExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the runExpirationTime field is set.
      • getRunExpirationTime

        public com.google.protobuf.Timestamp getRunExpirationTime()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        getRunExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The runExpirationTime.
      • setRunExpirationTime

        public WorkflowExecutionExtendedInfo.Builder setRunExpirationTime​(com.google.protobuf.Timestamp value)
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
      • setRunExpirationTime

        public WorkflowExecutionExtendedInfo.Builder setRunExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
      • mergeRunExpirationTime

        public WorkflowExecutionExtendedInfo.Builder mergeRunExpirationTime​(com.google.protobuf.Timestamp value)
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
      • clearRunExpirationTime

        public WorkflowExecutionExtendedInfo.Builder clearRunExpirationTime()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
      • getRunExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRunExpirationTimeBuilder()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
      • getRunExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRunExpirationTimeOrBuilder()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        getRunExpirationTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
      • setCancelRequested

        public WorkflowExecutionExtendedInfo.Builder setCancelRequested​(boolean value)
         indicates if the workflow received a cancel request
         
        bool cancel_requested = 3;
        Parameters:
        value - The cancelRequested to set.
        Returns:
        This builder for chaining.
      • clearCancelRequested

        public WorkflowExecutionExtendedInfo.Builder clearCancelRequested()
         indicates if the workflow received a cancel request
         
        bool cancel_requested = 3;
        Returns:
        This builder for chaining.
      • hasLastResetTime

        public boolean hasLastResetTime()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
        Specified by:
        hasLastResetTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the lastResetTime field is set.
      • getLastResetTime

        public com.google.protobuf.Timestamp getLastResetTime()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
        Specified by:
        getLastResetTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The lastResetTime.
      • setLastResetTime

        public WorkflowExecutionExtendedInfo.Builder setLastResetTime​(com.google.protobuf.Timestamp value)
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
      • setLastResetTime

        public WorkflowExecutionExtendedInfo.Builder setLastResetTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
      • mergeLastResetTime

        public WorkflowExecutionExtendedInfo.Builder mergeLastResetTime​(com.google.protobuf.Timestamp value)
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
      • clearLastResetTime

        public WorkflowExecutionExtendedInfo.Builder clearLastResetTime()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
      • getLastResetTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastResetTimeBuilder()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
      • setOriginalStartTime

        public WorkflowExecutionExtendedInfo.Builder setOriginalStartTime​(com.google.protobuf.Timestamp value)
         Original workflow start time.
         
        .google.protobuf.Timestamp original_start_time = 5;
      • setOriginalStartTime

        public WorkflowExecutionExtendedInfo.Builder setOriginalStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Original workflow start time.
         
        .google.protobuf.Timestamp original_start_time = 5;
      • mergeOriginalStartTime

        public WorkflowExecutionExtendedInfo.Builder mergeOriginalStartTime​(com.google.protobuf.Timestamp value)
         Original workflow start time.
         
        .google.protobuf.Timestamp original_start_time = 5;
      • getOriginalStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getOriginalStartTimeBuilder()
         Original workflow start time.
         
        .google.protobuf.Timestamp original_start_time = 5;
      • getResetRunId

        public java.lang.String getResetRunId()
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Specified by:
        getResetRunId in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The resetRunId.
      • getResetRunIdBytes

        public com.google.protobuf.ByteString getResetRunIdBytes()
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Specified by:
        getResetRunIdBytes in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The bytes for resetRunId.
      • setResetRunId

        public WorkflowExecutionExtendedInfo.Builder setResetRunId​(java.lang.String value)
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Parameters:
        value - The resetRunId to set.
        Returns:
        This builder for chaining.
      • clearResetRunId

        public WorkflowExecutionExtendedInfo.Builder clearResetRunId()
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Returns:
        This builder for chaining.
      • setResetRunIdBytes

        public WorkflowExecutionExtendedInfo.Builder setResetRunIdBytes​(com.google.protobuf.ByteString value)
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Parameters:
        value - The bytes for resetRunId to set.
        Returns:
        This builder for chaining.
      • getRequestIdInfosCount

        public int getRequestIdInfosCount()
        Description copied from interface: WorkflowExecutionExtendedInfoOrBuilder
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosCount in interface WorkflowExecutionExtendedInfoOrBuilder
      • containsRequestIdInfos

        public boolean containsRequestIdInfos​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        containsRequestIdInfos in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosMap

        public java.util.Map<java.lang.String,​RequestIdInfo> getRequestIdInfosMap()
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosMap in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosOrDefault

        public RequestIdInfo getRequestIdInfosOrDefault​(java.lang.String key,
                                                        RequestIdInfo defaultValue)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosOrDefault in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosOrThrow

        public RequestIdInfo getRequestIdInfosOrThrow​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosOrThrow in interface WorkflowExecutionExtendedInfoOrBuilder
      • removeRequestIdInfos

        public WorkflowExecutionExtendedInfo.Builder removeRequestIdInfos​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
      • getMutableRequestIdInfos

        @Deprecated
        public java.util.Map<java.lang.String,​RequestIdInfo> getMutableRequestIdInfos()
        Deprecated.
        Use alternate mutation accessors instead.
      • putRequestIdInfos

        public WorkflowExecutionExtendedInfo.Builder putRequestIdInfos​(java.lang.String key,
                                                                       RequestIdInfo value)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
      • putAllRequestIdInfos

        public WorkflowExecutionExtendedInfo.Builder putAllRequestIdInfos​(java.util.Map<java.lang.String,​RequestIdInfo> values)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
      • putRequestIdInfosBuilderIfAbsent

        public RequestIdInfo.Builder putRequestIdInfosBuilderIfAbsent​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;