1// Copyright 2018 gRPC authors. 2// 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// http://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 15syntax = "proto3"; 16 17import "transport_security_common.proto"; 18 19package grpc.gcp; 20 21option java_package = "io.grpc.alts.internal"; 22 23message AltsContext { 24 // The application protocol negotiated for this connection. 25 string application_protocol = 1; 26 27 // The record protocol negotiated for this connection. 28 string record_protocol = 2; 29 30 // The security level of the created secure channel. 31 SecurityLevel security_level = 3; 32 33 // The peer service account. 34 string peer_service_account = 4; 35 36 // The local service account. 37 string local_service_account = 5; 38 39 // The RPC protocol versions supported by the peer. 40 RpcProtocolVersions peer_rpc_versions = 6; 41} 42