:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from personhog.types.v1 import (
cohort_pb2 as personhog_dot_types_dot_v1_dot_cohort__pb2,
feature_flag_pb2 as personhog_dot_types_dot_v1_dot_feature__flag__pb2,
group_pb2 as personhog_dot_types_dot_v1_dot_group__pb2,
person_pb2 as personhog_dot_types_dot_v1_dot_person__pb2,
)
GRPC_GENERATED_VERSION = "1.75.1"
GRPC_VERSION = grpc.__version__
_version_not_supported = False
try:
from grpc._utilities import first_version_is_lower
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
except ImportError:
_version_not_supported = True
if _version_not_supported:
raise RuntimeError(
f"The grpc package installed is at version {GRPC_VERSION},"
+ f" but the generated code in personhog/service/v1/service_pb2_grpc.py depends on"
+ f" grpcio>={GRPC_GENERATED_VERSION}."
+ f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}"
+ f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}."
)
class PersonHogServiceStub:
"""PersonHogService is the public API exposed by the router.
Clients call this service; the router handles backend selection and routing.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.GetPerson = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPerson",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
_registered_method=True,
)
self.GetPersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.FromString,
_registered_method=True,
)
self.GetPersonByUuid = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonByUuid",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByUuidRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
_registered_method=True,
)
self.GetPersonsByUuids = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonsByUuids",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByUuidsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.FromString,
_registered_method=True,
)
self.GetPersonByDistinctId = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonByDistinctId",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByDistinctIdRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
_registered_method=True,
)
self.GetPersonsByDistinctIdsInTeam = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonsByDistinctIdsInTeam",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsInTeamRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsInTeamResponse.FromString,
_registered_method=True,
)
self.GetPersonsByDistinctIds = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonsByDistinctIds",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsResponse.FromString,
_registered_method=True,
)
self.GetDistinctIdsForPerson = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetDistinctIdsForPerson",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonResponse.FromString,
_registered_method=True,
)
self.GetDistinctIdsForPersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetDistinctIdsForPersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsResponse.FromString,
_registered_method=True,
)
self.GetHashKeyOverrideContext = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetHashKeyOverrideContext",
request_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextResponse.FromString,
_registered_method=True,
)
self.UpsertHashKeyOverrides = channel.unary_unary(
"/personhog.service.v1.PersonHogService/UpsertHashKeyOverrides",
request_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesResponse.FromString,
_registered_method=True,
)
self.DeleteHashKeyOverridesByTeams = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteHashKeyOverridesByTeams",
request_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsResponse.FromString,
_registered_method=True,
)
self.CheckCohortMembership = channel.unary_unary(
"/personhog.service.v1.PersonHogService/CheckCohortMembership",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CheckCohortMembershipRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CohortMembershipResponse.FromString,
_registered_method=True,
)
self.CountCohortMembers = channel.unary_unary(
"/personhog.service.v1.PersonHogService/CountCohortMembers",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersResponse.FromString,
_registered_method=True,
)
self.DeleteCohortMember = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteCohortMember",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberResponse.FromString,
_registered_method=True,
)
self.DeleteCohortMembersBulk = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteCohortMembersBulk",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkResponse.FromString,
_registered_method=True,
)
self.InsertCohortMembers = channel.unary_unary(
"/personhog.service.v1.PersonHogService/InsertCohortMembers",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersResponse.FromString,
_registered_method=True,
)
self.ListCohortMemberIds = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ListCohortMemberIds",
request_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsResponse.FromString,
_registered_method=True,
)
self.GetGroup = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroup",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupResponse.FromString,
_registered_method=True,
)
self.GetGroups = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroups",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupsResponse.FromString,
_registered_method=True,
)
self.GetGroupsBatch = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupsBatch",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchResponse.FromString,
_registered_method=True,
)
self.ListGroups = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ListGroups",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsResponse.FromString,
_registered_method=True,
)
self.GetGroupTypeMappingsByTeamId = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByTeamId",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.FromString,
_registered_method=True,
)
self.GetGroupTypeMappingsByTeamIds = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByTeamIds",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.FromString,
_registered_method=True,
)
self.GetGroupTypeMappingsByProjectId = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByProjectId",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.FromString,
_registered_method=True,
)
self.GetGroupTypeMappingsByProjectIds = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByProjectIds",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.FromString,
_registered_method=True,
)
self.GetGroupTypeMappingByDashboardId = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingByDashboardId",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdResponse.FromString,
_registered_method=True,
)
self.CountGroupTypeMappings = channel.unary_unary(
"/personhog.service.v1.PersonHogService/CountGroupTypeMappings",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsResponse.FromString,
_registered_method=True,
)
self.CreateGroup = channel.unary_unary(
"/personhog.service.v1.PersonHogService/CreateGroup",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupResponse.FromString,
_registered_method=True,
)
self.UpdateGroup = channel.unary_unary(
"/personhog.service.v1.PersonHogService/UpdateGroup",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupResponse.FromString,
_registered_method=True,
)
self.DeleteGroupsBatchForTeam = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteGroupsBatchForTeam",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamResponse.FromString,
_registered_method=True,
)
self.UpdateGroupTypeMapping = channel.unary_unary(
"/personhog.service.v1.PersonHogService/UpdateGroupTypeMapping",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingResponse.FromString,
_registered_method=True,
)
self.DeleteGroupTypeMapping = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteGroupTypeMapping",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingResponse.FromString,
_registered_method=True,
)
self.DeleteGroupTypeMappingsBatchForTeam = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteGroupTypeMappingsBatchForTeam",
request_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamResponse.FromString,
_registered_method=True,
)
self.UpdatePersonProperties = channel.unary_unary(
"/personhog.service.v1.PersonHogService/UpdatePersonProperties",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesResponse.FromString,
_registered_method=True,
)
self.FencePerson = channel.unary_unary(
"/personhog.service.v1.PersonHogService/FencePerson",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonResponse.FromString,
_registered_method=True,
)
self.FencePersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/FencePersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsResponse.FromString,
_registered_method=True,
)
self.ReleaseFence = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ReleaseFence",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceResponse.FromString,
_registered_method=True,
)
self.ReleaseFences = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ReleaseFences",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesResponse.FromString,
_registered_method=True,
)
self.FoldPersonDocument = channel.unary_unary(
"/personhog.service.v1.PersonHogService/FoldPersonDocument",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentResponse.FromString,
_registered_method=True,
)
self.RaisePersonVersion = channel.unary_unary(
"/personhog.service.v1.PersonHogService/RaisePersonVersion",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.FromString,
_registered_method=True,
)
self.DeletePersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeletePersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsResponse.FromString,
_registered_method=True,
)
self.DeletePersonsBatchForTeam = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeletePersonsBatchForTeam",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamResponse.FromString,
_registered_method=True,
)
self.DeleteTombstonedPersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/DeleteTombstonedPersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsResponse.FromString,
_registered_method=True,
)
self.GetPersonTombstones = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetPersonTombstones",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.FromString,
_registered_method=True,
)
self.AckPersonTombstones = channel.unary_unary(
"/personhog.service.v1.PersonHogService/AckPersonTombstones",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.FromString,
_registered_method=True,
)
self.ListPersonTombstoneQueue = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ListPersonTombstoneQueue",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.FromString,
_registered_method=True,
)
self.SplitPerson = channel.unary_unary(
"/personhog.service.v1.PersonHogService/SplitPerson",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonResponse.FromString,
_registered_method=True,
)
self.SetPersonDistinctIdVersionFloor = channel.unary_unary(
"/personhog.service.v1.PersonHogService/SetPersonDistinctIdVersionFloor",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorResponse.FromString,
_registered_method=True,
)
self.SetPersonVersionFloor = channel.unary_unary(
"/personhog.service.v1.PersonHogService/SetPersonVersionFloor",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorResponse.FromString,
_registered_method=True,
)
self.EnsurePersonVersionFloors = channel.unary_unary(
"/personhog.service.v1.PersonHogService/EnsurePersonVersionFloors",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.FromString,
_registered_method=True,
)
self.GetDistinctIdRows = channel.unary_unary(
"/personhog.service.v1.PersonHogService/GetDistinctIdRows",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsResponse.FromString,
_registered_method=True,
)
self.ListPersonsForTeam = channel.unary_unary(
"/personhog.service.v1.PersonHogService/ListPersonsForTeam",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamResponse.FromString,
_registered_method=True,
)
self.RaisePersonVersionFloors = channel.unary_unary(
"/personhog.service.v1.PersonHogService/RaisePersonVersionFloors",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsResponse.FromString,
_registered_method=True,
)
self.RestorePersons = channel.unary_unary(
"/personhog.service.v1.PersonHogService/RestorePersons",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsResponse.FromString,
_registered_method=True,
)
self.WriteDistinctIds = channel.unary_unary(
"/personhog.service.v1.PersonHogService/WriteDistinctIds",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsRequest.SerializeToString,
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsResponse.FromString,
_registered_method=True,
)
class PersonHogServiceServicer:
"""PersonHogService is the public API exposed by the router.
Clients call this service; the router handles backend selection and routing.
"""
def GetPerson(self, request, context):
"""Person lookups by ID"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersons(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonByUuid(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonsByUuids(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonByDistinctId(self, request, context):
"""Person lookups by distinct ID"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonsByDistinctIdsInTeam(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonsByDistinctIds(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetDistinctIdsForPerson(self, request, context):
"""Distinct ID operations"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetDistinctIdsForPersons(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetHashKeyOverrideContext(self, request, context):
"""Feature flag hash key override support"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def UpsertHashKeyOverrides(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteHashKeyOverridesByTeams(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def CheckCohortMembership(self, request, context):
"""Cohort membership"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def CountCohortMembers(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteCohortMember(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteCohortMembersBulk(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def InsertCohortMembers(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ListCohortMemberIds(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroup(self, request, context):
"""Groups"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroups(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupsBatch(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ListGroups(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupTypeMappingsByTeamId(self, request, context):
"""Group type mappings"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupTypeMappingsByTeamIds(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupTypeMappingsByProjectId(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupTypeMappingsByProjectIds(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetGroupTypeMappingByDashboardId(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def CountGroupTypeMappings(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def CreateGroup(self, request, context):
"""Group writes (routed to replica — non-person data)"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def UpdateGroup(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteGroupsBatchForTeam(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def UpdateGroupTypeMapping(self, request, context):
"""Group type mapping writes (routed to replica — non-person data)"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteGroupTypeMapping(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteGroupTypeMappingsBatchForTeam(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def UpdatePersonProperties(self, request, context):
"""Person property updates (routed to leader)"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def FencePerson(self, request, context):
"""Lifecycle fence RPCs (routed to leader). Internal: called only by the
lifecycle saga runner in personhog-identity — see leader.proto for
semantics.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def FencePersons(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ReleaseFence(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ReleaseFences(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def FoldPersonDocument(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def RaisePersonVersion(self, request, context):
"""Consistency repair version raise (routed to leader)"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeletePersons(self, request, context):
"""Person deletes
DeletePersons tombstones the persons and reports the versions written. A caller that
hard-deletes tombstoned persons must use DeleteTombstonedPersons instead, which re-checks
the tombstone under the row lock.
WARNING: This is a write operation on person data. It should route to the leader
once personhog-leader supports deletes. Currently routed through the replica
(which uses the primary Postgres pool) as a temporary measure.
TODO: Migrate routing to leader before personhog-leader goes live.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeletePersonsBatchForTeam(self, request, context):
"""WARNING: Same routing caveat as DeletePersons above."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def DeleteTombstonedPersons(self, request, context):
"""Deletes only persons that are still tombstoned, and at or below their version bound when the
request carries bounded_persons. Deletes a bounded number of rows per call; the caller resends
pending uuids.
WARNING: Same routing caveat as DeletePersons above.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetPersonTombstones(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def AckPersonTombstones(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ListPersonTombstoneQueue(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def SplitPerson(self, request, context):
"""Person split
WARNING: Same routing caveat as DeletePersons above — write operation on person data
routed through replica (primary pool) until leader supports transactional writes.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def SetPersonDistinctIdVersionFloor(self, request, context):
"""Undelete repair version resets. Same routing caveat as DeletePersons above."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def SetPersonVersionFloor(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def EnsurePersonVersionFloors(self, request, context):
"""Version floors for the ClickHouse cleanup jobs.
The write goes to the primary: same routing caveat as DeletePersons above.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def GetDistinctIdRows(self, request, context):
"""Reads for the person consistency scan and repair. Rows include tombstones."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def ListPersonsForTeam(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def RaisePersonVersionFloors(self, request, context):
"""Writes for the person consistency repair. Raises and mapping writes claim lifecycle marks on
the persons they write; restores only insert absent persons. Versions only go up. Same routing
caveat as DeletePersons above.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def RestorePersons(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def WriteDistinctIds(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
def add_PersonHogServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
"GetPerson": grpc.unary_unary_rpc_method_handler(
servicer.GetPerson,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.SerializeToString,
),
"GetPersons": grpc.unary_unary_rpc_method_handler(
servicer.GetPersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.SerializeToString,
),
"GetPersonByUuid": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonByUuid,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByUuidRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.SerializeToString,
),
"GetPersonsByUuids": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonsByUuids,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByUuidsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.SerializeToString,
),
"GetPersonByDistinctId": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonByDistinctId,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByDistinctIdRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.SerializeToString,
),
"GetPersonsByDistinctIdsInTeam": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonsByDistinctIdsInTeam,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsInTeamRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsInTeamResponse.SerializeToString,
),
"GetPersonsByDistinctIds": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonsByDistinctIds,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsResponse.SerializeToString,
),
"GetDistinctIdsForPerson": grpc.unary_unary_rpc_method_handler(
servicer.GetDistinctIdsForPerson,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonResponse.SerializeToString,
),
"GetDistinctIdsForPersons": grpc.unary_unary_rpc_method_handler(
servicer.GetDistinctIdsForPersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsResponse.SerializeToString,
),
"GetHashKeyOverrideContext": grpc.unary_unary_rpc_method_handler(
servicer.GetHashKeyOverrideContext,
request_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextResponse.SerializeToString,
),
"UpsertHashKeyOverrides": grpc.unary_unary_rpc_method_handler(
servicer.UpsertHashKeyOverrides,
request_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesResponse.SerializeToString,
),
"DeleteHashKeyOverridesByTeams": grpc.unary_unary_rpc_method_handler(
servicer.DeleteHashKeyOverridesByTeams,
request_deserializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsResponse.SerializeToString,
),
"CheckCohortMembership": grpc.unary_unary_rpc_method_handler(
servicer.CheckCohortMembership,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CheckCohortMembershipRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CohortMembershipResponse.SerializeToString,
),
"CountCohortMembers": grpc.unary_unary_rpc_method_handler(
servicer.CountCohortMembers,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersResponse.SerializeToString,
),
"DeleteCohortMember": grpc.unary_unary_rpc_method_handler(
servicer.DeleteCohortMember,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberResponse.SerializeToString,
),
"DeleteCohortMembersBulk": grpc.unary_unary_rpc_method_handler(
servicer.DeleteCohortMembersBulk,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkResponse.SerializeToString,
),
"InsertCohortMembers": grpc.unary_unary_rpc_method_handler(
servicer.InsertCohortMembers,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersResponse.SerializeToString,
),
"ListCohortMemberIds": grpc.unary_unary_rpc_method_handler(
servicer.ListCohortMemberIds,
request_deserializer=personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsResponse.SerializeToString,
),
"GetGroup": grpc.unary_unary_rpc_method_handler(
servicer.GetGroup,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupResponse.SerializeToString,
),
"GetGroups": grpc.unary_unary_rpc_method_handler(
servicer.GetGroups,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupsResponse.SerializeToString,
),
"GetGroupsBatch": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupsBatch,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchResponse.SerializeToString,
),
"ListGroups": grpc.unary_unary_rpc_method_handler(
servicer.ListGroups,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsResponse.SerializeToString,
),
"GetGroupTypeMappingsByTeamId": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupTypeMappingsByTeamId,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.SerializeToString,
),
"GetGroupTypeMappingsByTeamIds": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupTypeMappingsByTeamIds,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.SerializeToString,
),
"GetGroupTypeMappingsByProjectId": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupTypeMappingsByProjectId,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.SerializeToString,
),
"GetGroupTypeMappingsByProjectIds": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupTypeMappingsByProjectIds,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.SerializeToString,
),
"GetGroupTypeMappingByDashboardId": grpc.unary_unary_rpc_method_handler(
servicer.GetGroupTypeMappingByDashboardId,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdResponse.SerializeToString,
),
"CountGroupTypeMappings": grpc.unary_unary_rpc_method_handler(
servicer.CountGroupTypeMappings,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsResponse.SerializeToString,
),
"CreateGroup": grpc.unary_unary_rpc_method_handler(
servicer.CreateGroup,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupResponse.SerializeToString,
),
"UpdateGroup": grpc.unary_unary_rpc_method_handler(
servicer.UpdateGroup,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupResponse.SerializeToString,
),
"DeleteGroupsBatchForTeam": grpc.unary_unary_rpc_method_handler(
servicer.DeleteGroupsBatchForTeam,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamResponse.SerializeToString,
),
"UpdateGroupTypeMapping": grpc.unary_unary_rpc_method_handler(
servicer.UpdateGroupTypeMapping,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingResponse.SerializeToString,
),
"DeleteGroupTypeMapping": grpc.unary_unary_rpc_method_handler(
servicer.DeleteGroupTypeMapping,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingResponse.SerializeToString,
),
"DeleteGroupTypeMappingsBatchForTeam": grpc.unary_unary_rpc_method_handler(
servicer.DeleteGroupTypeMappingsBatchForTeam,
request_deserializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamResponse.SerializeToString,
),
"UpdatePersonProperties": grpc.unary_unary_rpc_method_handler(
servicer.UpdatePersonProperties,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesResponse.SerializeToString,
),
"FencePerson": grpc.unary_unary_rpc_method_handler(
servicer.FencePerson,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonResponse.SerializeToString,
),
"FencePersons": grpc.unary_unary_rpc_method_handler(
servicer.FencePersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsResponse.SerializeToString,
),
"ReleaseFence": grpc.unary_unary_rpc_method_handler(
servicer.ReleaseFence,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceResponse.SerializeToString,
),
"ReleaseFences": grpc.unary_unary_rpc_method_handler(
servicer.ReleaseFences,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesResponse.SerializeToString,
),
"FoldPersonDocument": grpc.unary_unary_rpc_method_handler(
servicer.FoldPersonDocument,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentResponse.SerializeToString,
),
"RaisePersonVersion": grpc.unary_unary_rpc_method_handler(
servicer.RaisePersonVersion,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.SerializeToString,
),
"DeletePersons": grpc.unary_unary_rpc_method_handler(
servicer.DeletePersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsResponse.SerializeToString,
),
"DeletePersonsBatchForTeam": grpc.unary_unary_rpc_method_handler(
servicer.DeletePersonsBatchForTeam,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamResponse.SerializeToString,
),
"DeleteTombstonedPersons": grpc.unary_unary_rpc_method_handler(
servicer.DeleteTombstonedPersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsResponse.SerializeToString,
),
"GetPersonTombstones": grpc.unary_unary_rpc_method_handler(
servicer.GetPersonTombstones,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.SerializeToString,
),
"AckPersonTombstones": grpc.unary_unary_rpc_method_handler(
servicer.AckPersonTombstones,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.SerializeToString,
),
"ListPersonTombstoneQueue": grpc.unary_unary_rpc_method_handler(
servicer.ListPersonTombstoneQueue,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.SerializeToString,
),
"SplitPerson": grpc.unary_unary_rpc_method_handler(
servicer.SplitPerson,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonResponse.SerializeToString,
),
"SetPersonDistinctIdVersionFloor": grpc.unary_unary_rpc_method_handler(
servicer.SetPersonDistinctIdVersionFloor,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorResponse.SerializeToString,
),
"SetPersonVersionFloor": grpc.unary_unary_rpc_method_handler(
servicer.SetPersonVersionFloor,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorResponse.SerializeToString,
),
"EnsurePersonVersionFloors": grpc.unary_unary_rpc_method_handler(
servicer.EnsurePersonVersionFloors,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.SerializeToString,
),
"GetDistinctIdRows": grpc.unary_unary_rpc_method_handler(
servicer.GetDistinctIdRows,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsResponse.SerializeToString,
),
"ListPersonsForTeam": grpc.unary_unary_rpc_method_handler(
servicer.ListPersonsForTeam,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamResponse.SerializeToString,
),
"RaisePersonVersionFloors": grpc.unary_unary_rpc_method_handler(
servicer.RaisePersonVersionFloors,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsResponse.SerializeToString,
),
"RestorePersons": grpc.unary_unary_rpc_method_handler(
servicer.RestorePersons,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsResponse.SerializeToString,
),
"WriteDistinctIds": grpc.unary_unary_rpc_method_handler(
servicer.WriteDistinctIds,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler("personhog.service.v1.PersonHogService", rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
server.add_registered_method_handlers("personhog.service.v1.PersonHogService", rpc_method_handlers)
# This class is part of an EXPERIMENTAL API.
class PersonHogService:
"""PersonHogService is the public API exposed by the router.
Clients call this service; the router handles backend selection and routing.
"""
@staticmethod
def GetPerson(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPerson",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersons",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonByUuid(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonByUuid",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByUuidRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonsByUuids(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonsByUuids",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByUuidsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.PersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonByDistinctId(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonByDistinctId",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonByDistinctIdRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonsByDistinctIdsInTeam(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonsByDistinctIdsInTeam",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsInTeamRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsInTeamResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonsByDistinctIds(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonsByDistinctIds",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonsByDistinctIdsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.PersonsByDistinctIdsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetDistinctIdsForPerson(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetDistinctIdsForPerson",
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetDistinctIdsForPersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetDistinctIdsForPersons",
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdsForPersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetHashKeyOverrideContext(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetHashKeyOverrideContext",
personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_feature__flag__pb2.GetHashKeyOverrideContextResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def UpsertHashKeyOverrides(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/UpsertHashKeyOverrides",
personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_feature__flag__pb2.UpsertHashKeyOverridesResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteHashKeyOverridesByTeams(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteHashKeyOverridesByTeams",
personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_feature__flag__pb2.DeleteHashKeyOverridesByTeamsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def CheckCohortMembership(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/CheckCohortMembership",
personhog_dot_types_dot_v1_dot_cohort__pb2.CheckCohortMembershipRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.CohortMembershipResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def CountCohortMembers(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/CountCohortMembers",
personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.CountCohortMembersResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteCohortMember(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteCohortMember",
personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMemberResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteCohortMembersBulk(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteCohortMembersBulk",
personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.DeleteCohortMembersBulkResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def InsertCohortMembers(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/InsertCohortMembers",
personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.InsertCohortMembersResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ListCohortMemberIds(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ListCohortMemberIds",
personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_cohort__pb2.ListCohortMemberIdsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroup(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroup",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroups(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroups",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GroupsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupsBatch(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupsBatch",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupsBatchResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ListGroups(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ListGroups",
personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.ListGroupsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupTypeMappingsByTeamId(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByTeamId",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupTypeMappingsByTeamIds(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByTeamIds",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByTeamIdsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupTypeMappingsByProjectId(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByProjectId",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupTypeMappingsByProjectIds(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingsByProjectIds",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingsByProjectIdsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GroupTypeMappingsBatchResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetGroupTypeMappingByDashboardId(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetGroupTypeMappingByDashboardId",
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.GetGroupTypeMappingByDashboardIdResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def CountGroupTypeMappings(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/CountGroupTypeMappings",
personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.CountGroupTypeMappingsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def CreateGroup(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/CreateGroup",
personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.CreateGroupResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def UpdateGroup(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/UpdateGroup",
personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteGroupsBatchForTeam(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteGroupsBatchForTeam",
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupsBatchForTeamResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def UpdateGroupTypeMapping(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/UpdateGroupTypeMapping",
personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.UpdateGroupTypeMappingResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteGroupTypeMapping(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteGroupTypeMapping",
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteGroupTypeMappingsBatchForTeam(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteGroupTypeMappingsBatchForTeam",
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_group__pb2.DeleteGroupTypeMappingsBatchForTeamResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def UpdatePersonProperties(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/UpdatePersonProperties",
personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.UpdatePersonPropertiesResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def FencePerson(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/FencePerson",
personhog_dot_types_dot_v1_dot_person__pb2.FencePersonRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.FencePersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def FencePersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/FencePersons",
personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.FencePersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ReleaseFence(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ReleaseFence",
personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFenceResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ReleaseFences(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ReleaseFences",
personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.ReleaseFencesResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def FoldPersonDocument(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/FoldPersonDocument",
personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.FoldPersonDocumentResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def RaisePersonVersion(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/RaisePersonVersion",
personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeletePersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeletePersons",
personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeletePersonsBatchForTeam(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeletePersonsBatchForTeam",
personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.DeletePersonsBatchForTeamResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def DeleteTombstonedPersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/DeleteTombstonedPersons",
personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetPersonTombstones(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetPersonTombstones",
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def AckPersonTombstones(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/AckPersonTombstones",
personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ListPersonTombstoneQueue(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ListPersonTombstoneQueue",
personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def SplitPerson(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/SplitPerson",
personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def SetPersonDistinctIdVersionFloor(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/SetPersonDistinctIdVersionFloor",
personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.SetPersonDistinctIdVersionFloorResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def SetPersonVersionFloor(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/SetPersonVersionFloor",
personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def EnsurePersonVersionFloors(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/EnsurePersonVersionFloors",
personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def GetDistinctIdRows(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/GetDistinctIdRows",
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.GetDistinctIdRowsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def ListPersonsForTeam(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/ListPersonsForTeam",
personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.ListPersonsForTeamResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def RaisePersonVersionFloors(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/RaisePersonVersionFloors",
personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.RaisePersonVersionFloorsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def RestorePersons(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/RestorePersons",
personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.RestorePersonsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)
@staticmethod
def WriteDistinctIds(
request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None,
):
return grpc.experimental.unary_unary(
request,
target,
"/personhog.service.v1.PersonHogService/WriteDistinctIds",
personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsRequest.SerializeToString,
personhog_dot_types_dot_v1_dot_person__pb2.WriteDistinctIdsResponse.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True,
)