message.pb.go ×3

Frontier kind: Code frontier

unlabeled · c_cd982e43ac17

12 tests · 2772 LOC · 146 files · introduces 0 tests · 32 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges32 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
426 ranges2772 lines · 146 files · Browse complete extent
All tests (intent)
12 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.

3 files ranked by introduced lines: 32 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/token/v1/message.pb.go 18 introduced LOC · 3 ranges

Open complete file

463 }
464
465 > func (x *NexusTask) Reset() { message.pb.go
466 > *x = NexusTask{}
467 > mi := &file_temporal_server_api_token_v1_message_proto_msgTypes[4]
468 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
469 > ms.StoreMessageInfo(mi)
470 > }
471
472 func (x *NexusTask) String() string {
476 func (*NexusTask) ProtoMessage() {}
477
478 > func (x *NexusTask) ProtoReflect() protoreflect.Message { message.pb.go
479 > mi := &file_temporal_server_api_token_v1_message_proto_msgTypes[4]
480 > if x != nil {
481 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
482 > if ms.LoadMessageInfo() == nil {
483 > ms.StoreMessageInfo(mi)
484 > }
485 > return ms
486 }
487 return mi.MessageOf(x)
514 }
515
516 > func (x *NexusTask) GetTaskQueueKind() v13.TaskQueueKind { message.pb.go
517 > if x != nil {
518 > return x.TaskQueueKind
519 > }
520 return v13.TaskQueueKind(0)
521 }
go.temporal.io/server/common/tasktoken/serializer.go 8 introduced LOC · 3 ranges

Open complete file

39 }
40
41 > func (s *Serializer) SerializeNexusTaskToken(taskToken *tokenspb.NexusTask) ([]byte, error) { serializer.go
42 > if taskToken == nil {
43 return nil, nil
44 }
45 > return taskToken.Marshal() serializer.go
46 }
47
48 > func (s *Serializer) DeserializeNexusTaskToken(data []byte) (*tokenspb.NexusTask, error) { serializer.go
49 > taskToken := tokenspb.NexusTask{}
50 > err := taskToken.Unmarshal(data)
51 > return &taskToken, err
52 > }
53
54 func (s *Serializer) DeserializeChasmComponentRef(data []byte) (*persistencespb.ChasmComponentRef, error) {
go.temporal.io/server/api/token/v1/message.go-helpers.pb.go 6 introduced LOC · 2 ranges

Open complete file

155
156 // Marshal an object of type NexusTask to the protobuf v3 wire format
157 > func (val *NexusTask) Marshal() ([]byte, error) { message.go-helpers.pb.go
158 > return proto.Marshal(val)
159 > }
160
161 // Unmarshal an object of type NexusTask from the protobuf v3 wire format
162 > func (val *NexusTask) Unmarshal(buf []byte) error { message.go-helpers.pb.go
163 > return proto.Unmarshal(buf, val)
164 > }
165
166 // Size returns the size of the object, in bytes, once serialized