Class WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • clear

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • getDefaultInstanceForType

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

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

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

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • setField

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

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • clearOneof

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • setRepeatedField

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • addRepeatedField

        public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • isInitialized

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

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

        public boolean hasExecution()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
        Specified by:
        hasExecution in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the execution field is set.
      • getExecutionBuilder

        public WorkflowExecution.Builder getExecutionBuilder()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
      • hasType

        public boolean hasType()
        .temporal.api.common.v1.WorkflowType type = 2;
        Specified by:
        hasType in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeBuilder

        public WorkflowType.Builder getTypeBuilder()
        .temporal.api.common.v1.WorkflowType type = 2;
      • hasStartTime

        public boolean hasStartTime()
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
        Specified by:
        hasStartTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public WorkflowExecutionInfo.Builder setStartTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • setStartTime

        public WorkflowExecutionInfo.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • mergeStartTime

        public WorkflowExecutionInfo.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • clearStartTime

        public WorkflowExecutionInfo.Builder clearStartTime()
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • hasCloseTime

        public boolean hasCloseTime()
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        hasCloseTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the closeTime field is set.
      • getCloseTime

        public com.google.protobuf.Timestamp getCloseTime()
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        getCloseTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        The closeTime.
      • setCloseTime

        public WorkflowExecutionInfo.Builder setCloseTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • setCloseTime

        public WorkflowExecutionInfo.Builder setCloseTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • mergeCloseTime

        public WorkflowExecutionInfo.Builder mergeCloseTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • clearCloseTime

        public WorkflowExecutionInfo.Builder clearCloseTime()
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • getCloseTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • getStatusValue

        public int getStatusValue()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Specified by:
        getStatusValue in interface WorkflowExecutionInfoOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public WorkflowExecutionInfo.Builder setStatusValue​(int value)
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public WorkflowExecutionInfo.Builder clearStatus()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Returns:
        This builder for chaining.
      • setHistoryLength

        public WorkflowExecutionInfo.Builder setHistoryLength​(long value)
        int64 history_length = 6;
        Parameters:
        value - The historyLength to set.
        Returns:
        This builder for chaining.
      • setParentNamespaceId

        public WorkflowExecutionInfo.Builder setParentNamespaceId​(java.lang.String value)
        string parent_namespace_id = 7;
        Parameters:
        value - The parentNamespaceId to set.
        Returns:
        This builder for chaining.
      • clearParentNamespaceId

        public WorkflowExecutionInfo.Builder clearParentNamespaceId()
        string parent_namespace_id = 7;
        Returns:
        This builder for chaining.
      • setParentNamespaceIdBytes

        public WorkflowExecutionInfo.Builder setParentNamespaceIdBytes​(com.google.protobuf.ByteString value)
        string parent_namespace_id = 7;
        Parameters:
        value - The bytes for parentNamespaceId to set.
        Returns:
        This builder for chaining.
      • hasParentExecution

        public boolean hasParentExecution()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
        Specified by:
        hasParentExecution in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the parentExecution field is set.
      • clearParentExecution

        public WorkflowExecutionInfo.Builder clearParentExecution()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      • getParentExecutionBuilder

        public WorkflowExecution.Builder getParentExecutionBuilder()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      • hasExecutionTime

        public boolean hasExecutionTime()
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
        Specified by:
        hasExecutionTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the executionTime field is set.
      • getExecutionTime

        public com.google.protobuf.Timestamp getExecutionTime()
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
        Specified by:
        getExecutionTime in interface WorkflowExecutionInfoOrBuilder
        Returns:
        The executionTime.
      • setExecutionTime

        public WorkflowExecutionInfo.Builder setExecutionTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
      • setExecutionTime

        public WorkflowExecutionInfo.Builder setExecutionTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
      • mergeExecutionTime

        public WorkflowExecutionInfo.Builder mergeExecutionTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
      • clearExecutionTime

        public WorkflowExecutionInfo.Builder clearExecutionTime()
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
      • getExecutionTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()
        .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
      • getMemoBuilder

        public Memo.Builder getMemoBuilder()
        .temporal.api.common.v1.Memo memo = 10;
      • hasSearchAttributes

        public boolean hasSearchAttributes()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
        Specified by:
        hasSearchAttributes in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the searchAttributes field is set.
      • clearSearchAttributes

        public WorkflowExecutionInfo.Builder clearSearchAttributes()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
      • getSearchAttributesBuilder

        public SearchAttributes.Builder getSearchAttributesBuilder()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
      • hasAutoResetPoints

        public boolean hasAutoResetPoints()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
        Specified by:
        hasAutoResetPoints in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the autoResetPoints field is set.
      • clearAutoResetPoints

        public WorkflowExecutionInfo.Builder clearAutoResetPoints()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      • getAutoResetPointsBuilder

        public ResetPoints.Builder getAutoResetPointsBuilder()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      • setTaskQueue

        public WorkflowExecutionInfo.Builder setTaskQueue​(java.lang.String value)
        string task_queue = 13;
        Parameters:
        value - The taskQueue to set.
        Returns:
        This builder for chaining.
      • setTaskQueueBytes

        public WorkflowExecutionInfo.Builder setTaskQueueBytes​(com.google.protobuf.ByteString value)
        string task_queue = 13;
        Parameters:
        value - The bytes for taskQueue to set.
        Returns:
        This builder for chaining.
      • setStateTransitionCount

        public WorkflowExecutionInfo.Builder setStateTransitionCount​(long value)
        int64 state_transition_count = 14;
        Parameters:
        value - The stateTransitionCount to set.
        Returns:
        This builder for chaining.
      • clearStateTransitionCount

        public WorkflowExecutionInfo.Builder clearStateTransitionCount()
        int64 state_transition_count = 14;
        Returns:
        This builder for chaining.
      • setHistorySizeBytes

        public WorkflowExecutionInfo.Builder setHistorySizeBytes​(long value)
        int64 history_size_bytes = 15;
        Parameters:
        value - The historySizeBytes to set.
        Returns:
        This builder for chaining.
      • clearHistorySizeBytes

        public WorkflowExecutionInfo.Builder clearHistorySizeBytes()
        int64 history_size_bytes = 15;
        Returns:
        This builder for chaining.
      • hasMostRecentWorkerVersionStamp

        public boolean hasMostRecentWorkerVersionStamp()
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
        Specified by:
        hasMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the mostRecentWorkerVersionStamp field is set.
      • getMostRecentWorkerVersionStamp

        public WorkerVersionStamp getMostRecentWorkerVersionStamp()
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
        Specified by:
        getMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
        Returns:
        The mostRecentWorkerVersionStamp.
      • setMostRecentWorkerVersionStamp

        public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp​(WorkerVersionStamp value)
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
      • setMostRecentWorkerVersionStamp

        public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp​(WorkerVersionStamp.Builder builderForValue)
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
      • mergeMostRecentWorkerVersionStamp

        public WorkflowExecutionInfo.Builder mergeMostRecentWorkerVersionStamp​(WorkerVersionStamp value)
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
      • clearMostRecentWorkerVersionStamp

        public WorkflowExecutionInfo.Builder clearMostRecentWorkerVersionStamp()
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
      • getMostRecentWorkerVersionStampBuilder

        public WorkerVersionStamp.Builder getMostRecentWorkerVersionStampBuilder()
         If set, the most recent worker version stamp that appeared in a workflow task completion
         
        .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
      • setUnknownFields

        public final WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
      • mergeUnknownFields

        public final WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>