Class WorkflowExecutionInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionInfoOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:WorkflowExecutionInfo.java.pb.meta")
    public final class WorkflowExecutionInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkflowExecutionInfoOrBuilder
    Protobuf type temporal.api.workflow.v1.WorkflowExecutionInfo
    See Also:
    Serialized Form
    • Field Detail

      • START_TIME_FIELD_NUMBER

        public static final int START_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLOSE_TIME_FIELD_NUMBER

        public static final int CLOSE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HISTORY_LENGTH_FIELD_NUMBER

        public static final int HISTORY_LENGTH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_NAMESPACE_ID_FIELD_NUMBER

        public static final int PARENT_NAMESPACE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_EXECUTION_FIELD_NUMBER

        public static final int PARENT_EXECUTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXECUTION_TIME_FIELD_NUMBER

        public static final int EXECUTION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEARCH_ATTRIBUTES_FIELD_NUMBER

        public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTO_RESET_POINTS_FIELD_NUMBER

        public static final int AUTO_RESET_POINTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TASK_QUEUE_FIELD_NUMBER

        public static final int TASK_QUEUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATE_TRANSITION_COUNT_FIELD_NUMBER

        public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HISTORY_SIZE_BYTES_FIELD_NUMBER

        public static final int HISTORY_SIZE_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER

        public static final int MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasExecution

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

        public boolean hasType()
        .temporal.api.common.v1.WorkflowType type = 2;
        Specified by:
        hasType in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the type field is set.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(java.nio.ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(java.io.InputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static WorkflowExecutionInfo parseDelimitedFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static WorkflowExecutionInfo parseDelimitedFrom​(java.io.InputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected WorkflowExecutionInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<WorkflowExecutionInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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