Class ActivityExecutionListInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.activity.v1.ActivityExecutionListInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ActivityExecutionListInfoOrBuilder, 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:
  • Field Details

    • ACTIVITY_ID_FIELD_NUMBER

      public static final int ACTIVITY_ID_FIELD_NUMBER
      See Also:
    • RUN_ID_FIELD_NUMBER

      public static final int RUN_ID_FIELD_NUMBER
      See Also:
    • ACTIVITY_TYPE_FIELD_NUMBER

      public static final int ACTIVITY_TYPE_FIELD_NUMBER
      See Also:
    • SCHEDULE_TIME_FIELD_NUMBER

      public static final int SCHEDULE_TIME_FIELD_NUMBER
      See Also:
    • CLOSE_TIME_FIELD_NUMBER

      public static final int CLOSE_TIME_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • TASK_QUEUE_FIELD_NUMBER

      public static final int TASK_QUEUE_FIELD_NUMBER
      See Also:
    • STATE_TRANSITION_COUNT_FIELD_NUMBER

      public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
      See Also:
    • STATE_SIZE_BYTES_FIELD_NUMBER

      public static final int STATE_SIZE_BYTES_FIELD_NUMBER
      See Also:
    • EXECUTION_DURATION_FIELD_NUMBER

      public static final int EXECUTION_DURATION_FIELD_NUMBER
      See Also:
    • EXECUTION_TIME_FIELD_NUMBER

      public static final int EXECUTION_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected 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 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.
    • getRunId

      public String getRunId()
       The run ID of the standalone activity.
       
      string run_id = 2;
      Specified by:
      getRunId in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The runId.
    • 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.
    • getActivityType

      public ActivityType getActivityType()
       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:
      getActivityType in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The activityType.
    • getActivityTypeOrBuilder

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
       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:
      getActivityTypeOrBuilder in interface ActivityExecutionListInfoOrBuilder
    • 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.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
       Search attributes from the start request.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 7;
      Specified by:
      getSearchAttributes in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The searchAttributes.
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
       Search attributes from the start request.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 7;
      Specified by:
      getSearchAttributesOrBuilder in interface ActivityExecutionListInfoOrBuilder
    • getTaskQueue

      public 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.
    • getStateTransitionCount

      public long getStateTransitionCount()
       Updated on terminal status.
       
      int64 state_transition_count = 9;
      Specified by:
      getStateTransitionCount in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The stateTransitionCount.
    • getStateSizeBytes

      public long getStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 10;
      Specified by:
      getStateSizeBytes in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The stateSizeBytes.
    • 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
    • hasExecutionTime

      public boolean hasExecutionTime()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 12;
      Specified by:
      hasExecutionTime in interface ActivityExecutionListInfoOrBuilder
      Returns:
      Whether the executionTime field is set.
    • getExecutionTime

      public com.google.protobuf.Timestamp getExecutionTime()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 12;
      Specified by:
      getExecutionTime in interface ActivityExecutionListInfoOrBuilder
      Returns:
      The executionTime.
    • getExecutionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 12;
      Specified by:
      getExecutionTimeOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ActivityExecutionListInfo parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ActivityExecutionListInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ActivityExecutionListInfo.Builder newBuilder()
    • newBuilder

      public static ActivityExecutionListInfo.Builder newBuilder(ActivityExecutionListInfo prototype)
    • 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
    • getDefaultInstance

      public static ActivityExecutionListInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ActivityExecutionListInfo> parser()
    • 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