mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
37 lines
771 B
Protocol Buffer
37 lines
771 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
import "Empty.proto";
|
||
|
|
||
|
package rips;
|
||
|
|
||
|
service PdmObjectService
|
||
|
{
|
||
|
rpc GetDescendantPdmObjects(PdmChildObjectRequest) returns (PdmObjectArray) {}
|
||
|
rpc GetChildPdmObjects(PdmChildObjectRequest) returns (PdmObjectArray) {}
|
||
|
rpc GetAncestorPdmObject(PdmParentObjectRequest) returns (PdmObject) {}
|
||
|
rpc UpdateExistingPdmObject(PdmObject) returns (Empty) {}
|
||
|
}
|
||
|
|
||
|
message PdmChildObjectRequest
|
||
|
{
|
||
|
PdmObject object = 1;
|
||
|
string child_keyword = 2;
|
||
|
}
|
||
|
|
||
|
message PdmParentObjectRequest
|
||
|
{
|
||
|
PdmObject object = 1;
|
||
|
string parent_keyword = 2;
|
||
|
}
|
||
|
|
||
|
message PdmObject
|
||
|
{
|
||
|
string class_keyword = 1;
|
||
|
uint64 address = 2;
|
||
|
map<string, string> parameters = 3;
|
||
|
}
|
||
|
|
||
|
message PdmObjectArray
|
||
|
{
|
||
|
repeated PdmObject objects = 1;
|
||
|
}
|