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 17package grpc.gcp; 18 19option java_package = "io.grpc.alts.internal"; 20 21// The security level of the created channel. The list is sorted in increasing 22// level of security. This order must always be maintained. 23enum SecurityLevel { 24 SECURITY_NONE = 0; 25 INTEGRITY_ONLY = 1; 26 INTEGRITY_AND_PRIVACY = 2; 27} 28 29// Max and min supported RPC protocol versions. 30message RpcProtocolVersions { 31 // RPC version contains a major version and a minor version. 32 message Version { 33 uint32 major = 1; 34 uint32 minor = 2; 35 } 36 // Maximum supported RPC version. 37 Version max_rpc_version = 1; 38 // Minimum supported RPC version. 39 Version min_rpc_version = 2; 40} 41