Changeset View
Changeset View
Standalone View
Standalone View
proto/swhgraph.proto
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | message TraversalRequest { | ||||
* Defaults to infinite. */ | * Defaults to infinite. */ | ||||
optional int64 max_depth = 6; | optional int64 max_depth = 6; | ||||
/* Filter which nodes will be sent to the stream. By default, all nodes are | /* Filter which nodes will be sent to the stream. By default, all nodes are | ||||
* returned. */ | * returned. */ | ||||
optional NodeFilter return_nodes = 7; | optional NodeFilter return_nodes = 7; | ||||
/* FieldMask of which fields are to be returned (e.g., "swhid,cnt.length"). | /* FieldMask of which fields are to be returned (e.g., "swhid,cnt.length"). | ||||
* By default, all fields are returned. */ | * By default, all fields are returned. */ | ||||
optional google.protobuf.FieldMask mask = 8; | optional google.protobuf.FieldMask mask = 8; | ||||
/* Maximum number of matching results before stopping. For Traverse(), this is | |||||
* the total number of results. Defaults to infinite. */ | |||||
optional int64 max_matching_nodes = 9; | |||||
} | } | ||||
/* FindPathToRequest describes a request to find a shortest path between a | /* FindPathToRequest describes a request to find a shortest path between a | ||||
* set of nodes and a given target criteria, as well as what should be returned | * set of nodes and a given target criteria, as well as what should be returned | ||||
* in the path. | * in the path. | ||||
*/ | */ | ||||
message FindPathToRequest { | message FindPathToRequest { | ||||
/* Set of source nodes (SWHIDs) */ | /* Set of source nodes (SWHIDs) */ | ||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |