Class ActivityExecutionListInfo

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

    @Generated(value="protoc",
               comments="annotations:ActivityExecutionListInfo.java.pb.meta")
    public final class ActivityExecutionListInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements ActivityExecutionListInfoOrBuilder
     Limited activity information returned in the list response.
     When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it
     may already be present in ActivityExecutionInfo but not at the top-level).
     
    Protobuf type temporal.api.activity.v1.ActivityExecutionListInfo
    See Also:
    Serialized Form
    • Field Detail

      • ACTIVITY_ID_FIELD_NUMBER

        public static final int ACTIVITY_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVITY_TYPE_FIELD_NUMBER

        public static final int ACTIVITY_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEDULE_TIME_FIELD_NUMBER

        public static final int SCHEDULE_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
      • SEARCH_ATTRIBUTES_FIELD_NUMBER

        public static final int SEARCH_ATTRIBUTES_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
      • STATE_SIZE_BYTES_FIELD_NUMBER

        public static final int STATE_SIZE_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXECUTION_DURATION_FIELD_NUMBER

        public static final int EXECUTION_DURATION_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
      • 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
      • getActivityId

        public java.lang.String getActivityId()
         A unique identifier of this activity within its namespace along with run ID (below).
         
        string activity_id = 1;
        Specified by:
        getActivityId in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The activityId.
      • getActivityIdBytes

        public com.google.protobuf.ByteString getActivityIdBytes()
         A unique identifier of this activity within its namespace along with run ID (below).
         
        string activity_id = 1;
        Specified by:
        getActivityIdBytes in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The bytes for activityId.
      • getRunIdBytes

        public com.google.protobuf.ByteString getRunIdBytes()
         The run ID of the standalone activity.
         
        string run_id = 2;
        Specified by:
        getRunIdBytes in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The bytes for runId.
      • hasActivityType

        public boolean hasActivityType()
         The type of the activity, a string that maps to a registered activity on a worker.
         
        .temporal.api.common.v1.ActivityType activity_type = 3;
        Specified by:
        hasActivityType in interface ActivityExecutionListInfoOrBuilder
        Returns:
        Whether the activityType field is set.
      • hasScheduleTime

        public boolean hasScheduleTime()
         Time the activity was originally scheduled via a StartActivityExecution request.
         
        .google.protobuf.Timestamp schedule_time = 4;
        Specified by:
        hasScheduleTime in interface ActivityExecutionListInfoOrBuilder
        Returns:
        Whether the scheduleTime field is set.
      • getScheduleTime

        public com.google.protobuf.Timestamp getScheduleTime()
         Time the activity was originally scheduled via a StartActivityExecution request.
         
        .google.protobuf.Timestamp schedule_time = 4;
        Specified by:
        getScheduleTime in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The scheduleTime.
      • getScheduleTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
         Time the activity was originally scheduled via a StartActivityExecution request.
         
        .google.protobuf.Timestamp schedule_time = 4;
        Specified by:
        getScheduleTimeOrBuilder in interface ActivityExecutionListInfoOrBuilder
      • hasCloseTime

        public boolean hasCloseTime()
         If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
         
        .google.protobuf.Timestamp close_time = 5;
        Specified by:
        hasCloseTime in interface ActivityExecutionListInfoOrBuilder
        Returns:
        Whether the closeTime field is set.
      • getCloseTime

        public com.google.protobuf.Timestamp getCloseTime()
         If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
         
        .google.protobuf.Timestamp close_time = 5;
        Specified by:
        getCloseTime in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The closeTime.
      • getCloseTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
         If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
         
        .google.protobuf.Timestamp close_time = 5;
        Specified by:
        getCloseTimeOrBuilder in interface ActivityExecutionListInfoOrBuilder
      • getStatusValue

        public int getStatusValue()
         Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not
         available in the list response.
         
        .temporal.api.enums.v1.ActivityExecutionStatus status = 6;
        Specified by:
        getStatusValue in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        public ActivityExecutionStatus getStatus()
         Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not
         available in the list response.
         
        .temporal.api.enums.v1.ActivityExecutionStatus status = 6;
        Specified by:
        getStatus in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The status.
      • hasSearchAttributes

        public boolean hasSearchAttributes()
         Search attributes from the start request.
         
        .temporal.api.common.v1.SearchAttributes search_attributes = 7;
        Specified by:
        hasSearchAttributes in interface ActivityExecutionListInfoOrBuilder
        Returns:
        Whether the searchAttributes field is set.
      • getTaskQueue

        public java.lang.String getTaskQueue()
         The task queue this activity was scheduled on when it was originally started, updated on activity options update.
         
        string task_queue = 8;
        Specified by:
        getTaskQueue in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The taskQueue.
      • getTaskQueueBytes

        public com.google.protobuf.ByteString getTaskQueueBytes()
         The task queue this activity was scheduled on when it was originally started, updated on activity options update.
         
        string task_queue = 8;
        Specified by:
        getTaskQueueBytes in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The bytes for taskQueue.
      • hasExecutionDuration

        public boolean hasExecutionDuration()
         The difference between close time and scheduled time.
         This field is only populated if the activity is closed.
         
        .google.protobuf.Duration execution_duration = 11;
        Specified by:
        hasExecutionDuration in interface ActivityExecutionListInfoOrBuilder
        Returns:
        Whether the executionDuration field is set.
      • getExecutionDuration

        public com.google.protobuf.Duration getExecutionDuration()
         The difference between close time and scheduled time.
         This field is only populated if the activity is closed.
         
        .google.protobuf.Duration execution_duration = 11;
        Specified by:
        getExecutionDuration in interface ActivityExecutionListInfoOrBuilder
        Returns:
        The executionDuration.
      • getExecutionDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
         The difference between close time and scheduled time.
         This field is only populated if the activity is closed.
         
        .google.protobuf.Duration execution_duration = 11;
        Specified by:
        getExecutionDurationOrBuilder in interface ActivityExecutionListInfoOrBuilder
      • 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 ActivityExecutionListInfo parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<ActivityExecutionListInfo> 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 ActivityExecutionListInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder