syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/field_mask.proto"; import "onprem/user/v1/endpoint.proto"; message EndpointFilter { optional string name = 1; optional string owner_service_instance_id = 2; optional string service_instance_id = 3; optional string device_id = 4; } message FindEndpointRequest { string id = 1; } message FindEndpointResponse { Endpoint endpoint = 1; } message FindEndpointsRequest { EndpointFilter filter = 1; google.protobuf.FieldMask field_mask = 2; } message FindEndpointsResponse { repeated Endpoint endpoints = 1; }