syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/timestamp.proto"; message Endpoint { message Tcp { uint32 port = 1; } message Udp { uint32 port = 1; } message UnixDomainSocket { string path = 1; } string id = 1; string name = 2; optional string description = 3; oneof owner { string owner_service_instance_id = 4; } google.protobuf.Timestamp created_at = 5; string created_by_account_id = 6; optional google.protobuf.Timestamp updated_at = 7; optional string updated_by_account_id = 8; optional google.protobuf.Timestamp deleted_at = 9; repeated string supported_protocol_schemes = 10; oneof type { Tcp tcp = 11; Udp udp = 12; UnixDomainSocket uds = 13; } optional string device_id = 14; optional string service_instance_id = 15; }