request_response.pb.go ×6

Frontier kind: Code frontier

unlabeled · c_dedfb1ffa246

40 tests · 2952 LOC · 148 files · introduces 0 tests · 48 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
7 ranges48 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
483 ranges2952 lines · 148 files · Browse complete extent
All tests (intent)
40 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 48 introduced LOC across 7 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/historyservice/v1/request_response.pb.go 24 introduced LOC · 6 ranges

Open complete file

1402 }
1403
1404 > func (x *RecordWorkflowTaskStartedResponse) GetScheduledEventId() int64 { request_response.pb.go
1405 > if x != nil {
1406 > return x.ScheduledEventId
1407 > }
1408 return 0
1409 }
1410
1411 > func (x *RecordWorkflowTaskStartedResponse) GetStartedEventId() int64 { request_response.pb.go
1412 > if x != nil {
1413 > return x.StartedEventId
1414 > }
1415 return 0
1416 }
1423 }
1424
1425 > func (x *RecordWorkflowTaskStartedResponse) GetAttempt() int32 { request_response.pb.go
1426 > if x != nil {
1427 > return x.Attempt
1428 > }
1429 return 0
1430 }
1465 }
1466
1467 > func (x *RecordWorkflowTaskStartedResponse) GetStartedTime() *timestamppb.Timestamp { request_response.pb.go
1468 > if x != nil {
1469 > return x.StartedTime
1470 > }
1471 return nil
1472 }
1479 }
1480
1481 > func (x *RecordWorkflowTaskStartedResponse) GetClock() *v18.VectorClock { request_response.pb.go
1482 > if x != nil {
1483 > return x.Clock
1484 > }
1485 return nil
1486 }
1493 }
1494
1495 > func (x *RecordWorkflowTaskStartedResponse) GetVersion() int64 { request_response.pb.go
1496 > if x != nil {
1497 > return x.Version
1498 > }
1499 return 0
1500 }
go.temporal.io/server/common/util.go 24 introduced LOC · 1 range

Open complete file

528
529 // CreateMatchingPollWorkflowTaskQueueResponse create response for matching's PollWorkflowTaskQueue
530 > func CreateMatchingPollWorkflowTaskQueueResponse(historyResponse *historyservice.RecordWorkflowTaskStartedResponse, workflowExecution *commonpb.WorkflowExecution, token []byte) *matchingservice.PollWorkflowTaskQueueResponseWithRawHistory { util.go
531 > matchingResp := &matchingservice.PollWorkflowTaskQueueResponseWithRawHistory{
532 > TaskToken: token,
533 > WorkflowExecution: workflowExecution,
534 > WorkflowType: historyResponse.WorkflowType,
535 > PreviousStartedEventId: historyResponse.PreviousStartedEventId,
536 > StartedEventId: historyResponse.StartedEventId,
537 > Attempt: historyResponse.GetAttempt(),
538 > NextEventId: historyResponse.NextEventId,
539 > StickyExecutionEnabled: historyResponse.StickyExecutionEnabled,
540 > TransientWorkflowTask: historyResponse.TransientWorkflowTask,
541 > WorkflowExecutionTaskQueue: historyResponse.WorkflowExecutionTaskQueue,
542 > BranchToken: historyResponse.BranchToken,
543 > ScheduledTime: historyResponse.ScheduledTime,
544 > StartedTime: historyResponse.StartedTime,
545 > Queries: historyResponse.Queries,
546 > Messages: historyResponse.Messages,
547 > History: historyResponse.History,
548 > NextPageToken: historyResponse.NextPageToken,
549 > RawHistory: historyResponse.RawHistoryBytes,
550 > }
551 >
552 > return matchingResp
553 > }
554
555 // CreateHistoryStartWorkflowRequest create a start workflow request for history.