1/* 2 * Copyright 2019 Google LLC. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * https://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16syntax = "proto2"; 17 18package private_join_and_compute; 19 20import "private_join_and_compute/private_intersection_sum.proto"; 21 22message ClientMessage { 23 oneof client_message_oneof { 24 PrivateIntersectionSumClientMessage 25 private_intersection_sum_client_message = 1; 26 } 27} 28 29message ServerMessage { 30 oneof server_message_oneof { 31 PrivateIntersectionSumServerMessage 32 private_intersection_sum_server_message = 1; 33 } 34} 35 36// gRPC interface for Private Join and Compute. 37service PrivateJoinAndComputeRpc { 38 // Handles a single protocol round. 39 rpc Handle(ClientMessage) returns (ServerMessage) {} 40} 41