Skip to content

Commit afe9ec5

Browse files
committed
group messages by feature
1 parent 4f7081a commit afe9ec5

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,6 +2806,54 @@ message DescribeActivityExecutionRequest {
28062806
bytes long_poll_token = 6;
28072807
}
28082808

2809+
message DescribeActivityExecutionResponse {
2810+
// The run ID of the activity, useful when run_id was not specified in the request.
2811+
string run_id = 1;
2812+
2813+
// Information about the activity execution.
2814+
temporal.api.activity.v1.ActivityExecutionInfo info = 2;
2815+
2816+
// Serialized activity input, passed as arguments to the activity function.
2817+
// Only set if include_input was true in the request.
2818+
temporal.api.common.v1.Payloads input = 3;
2819+
2820+
// Only set if the activity is completed and include_outcome was true in the request.
2821+
temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;
2822+
2823+
// Token for follow-on long-poll requests. Absent only if the activity is complete.
2824+
bytes long_poll_token = 5;
2825+
}
2826+
2827+
message PollActivityExecutionRequest {
2828+
string namespace = 1;
2829+
string activity_id = 2;
2830+
// Activity run ID. If empty the request targets the latest run.
2831+
string run_id = 3;
2832+
}
2833+
2834+
message PollActivityExecutionResponse {
2835+
// The run ID of the activity, useful when run_id was not specified in the request.
2836+
string run_id = 1;
2837+
2838+
temporal.api.activity.v1.ActivityExecutionOutcome outcome = 2;
2839+
}
2840+
2841+
message ListActivityExecutionsRequest {
2842+
string namespace = 1;
2843+
// Max number of executions to return per page.
2844+
int32 page_size = 2;
2845+
// Token returned in ListActivityExecutionsResponse.
2846+
bytes next_page_token = 3;
2847+
// Visibility query, see https://docs.temporal.io/list-filter for the syntax.
2848+
string query = 4;
2849+
}
2850+
2851+
message ListActivityExecutionsResponse {
2852+
repeated temporal.api.activity.v1.ActivityExecutionListInfo executions = 1;
2853+
// Token to use to fetch the next page. If empty, there is no next page.
2854+
bytes next_page_token = 2;
2855+
}
2856+
28092857
message StartNexusOperationRequest {
28102858
string namespace = 1;
28112859
// The identity of the client who initiated this request.
@@ -2878,54 +2926,6 @@ message DescribeNexusOperationRequest {
28782926
bytes long_poll_token = 6;
28792927
}
28802928

2881-
message DescribeActivityExecutionResponse {
2882-
// The run ID of the activity, useful when run_id was not specified in the request.
2883-
string run_id = 1;
2884-
2885-
// Information about the activity execution.
2886-
temporal.api.activity.v1.ActivityExecutionInfo info = 2;
2887-
2888-
// Serialized activity input, passed as arguments to the activity function.
2889-
// Only set if include_input was true in the request.
2890-
temporal.api.common.v1.Payloads input = 3;
2891-
2892-
// Only set if the activity is completed and include_outcome was true in the request.
2893-
temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;
2894-
2895-
// Token for follow-on long-poll requests. Absent only if the activity is complete.
2896-
bytes long_poll_token = 5;
2897-
}
2898-
2899-
message PollActivityExecutionRequest {
2900-
string namespace = 1;
2901-
string activity_id = 2;
2902-
// Activity run ID. If empty the request targets the latest run.
2903-
string run_id = 3;
2904-
}
2905-
2906-
message PollActivityExecutionResponse {
2907-
// The run ID of the activity, useful when run_id was not specified in the request.
2908-
string run_id = 1;
2909-
2910-
temporal.api.activity.v1.ActivityExecutionOutcome outcome = 2;
2911-
}
2912-
2913-
message ListActivityExecutionsRequest {
2914-
string namespace = 1;
2915-
// Max number of executions to return per page.
2916-
int32 page_size = 2;
2917-
// Token returned in ListActivityExecutionsResponse.
2918-
bytes next_page_token = 3;
2919-
// Visibility query, see https://docs.temporal.io/list-filter for the syntax.
2920-
string query = 4;
2921-
}
2922-
2923-
message ListActivityExecutionsResponse {
2924-
repeated temporal.api.activity.v1.ActivityExecutionListInfo executions = 1;
2925-
// Token to use to fetch the next page. If empty, there is no next page.
2926-
bytes next_page_token = 2;
2927-
}
2928-
29292929
message DescribeNexusOperationResponse {
29302930
// The run ID of the operation, useful when run_id was not specified in the request.
29312931
string run_id = 1;

0 commit comments

Comments
 (0)