23namespace service_discovery {
25using proto::RoleAttributes;
30 : attributes_(attr), timestamp_ns_(timestamp_ns) {}
33 if (target_attr.has_node_id() &&
38 if (target_attr.has_process_id() &&
43 if (target_attr.has_host_name() &&
59 if (target_attr.has_channel_id() &&
75 if (target_attr.has_service_id() &&
virtual bool Match(const proto::RoleAttributes &target_attr) const
proto::RoleAttributes attributes_
bool IsEarlierThan(const RoleBase &other) const
uint64_t timestamp_ns() const
bool Match(const proto::RoleAttributes &target_attr) const override
bool Match(const proto::RoleAttributes &target_attr) const override
optional uint64 service_id
optional int32 process_id
optional uint64 channel_id
optional string host_name