blob: 60ffa51a7396e97d4accddbc5fac724252906b0d [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/gcp/handshaker.proto
package io.grpc.alts.internal;
public final class HandshakerProto {
private HandshakerProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_Endpoint_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_Endpoint_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_Identity_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_Identity_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_Identity_AttributesEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_Identity_AttributesEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_StartClientHandshakeReq_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_StartClientHandshakeReq_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_ServerHandshakeParameters_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_ServerHandshakeParameters_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_StartServerHandshakeReq_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_StartServerHandshakeReq_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_NextHandshakeMessageReq_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_NextHandshakeMessageReq_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_HandshakerReq_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_HandshakerReq_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_HandshakerResult_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_HandshakerResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_HandshakerStatus_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_HandshakerStatus_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grpc_gcp_HandshakerResp_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grpc_gcp_HandshakerResp_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\031grpc/gcp/handshaker.proto\022\010grpc.gcp\032(g" +
"rpc/gcp/transport_security_common.proto\"" +
"Y\n\010Endpoint\022\022\n\nip_address\030\001 \001(\t\022\014\n\004port\030" +
"\002 \001(\005\022+\n\010protocol\030\003 \001(\0162\031.grpc.gcp.Netwo" +
"rkProtocol\"\266\001\n\010Identity\022\031\n\017service_accou" +
"nt\030\001 \001(\tH\000\022\022\n\010hostname\030\002 \001(\tH\000\0226\n\nattrib" +
"utes\030\003 \003(\0132\".grpc.gcp.Identity.Attribute" +
"sEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r" +
"\n\005value\030\002 \001(\t:\0028\001B\020\n\016identity_oneof\"\222\003\n\027" +
"StartClientHandshakeReq\022@\n\033handshake_sec" +
"urity_protocol\030\001 \001(\0162\033.grpc.gcp.Handshak" +
"eProtocol\022\035\n\025application_protocols\030\002 \003(\t" +
"\022\030\n\020record_protocols\030\003 \003(\t\022-\n\021target_ide" +
"ntities\030\004 \003(\0132\022.grpc.gcp.Identity\022*\n\016loc" +
"al_identity\030\005 \001(\0132\022.grpc.gcp.Identity\022*\n" +
"\016local_endpoint\030\006 \001(\0132\022.grpc.gcp.Endpoin" +
"t\022+\n\017remote_endpoint\030\007 \001(\0132\022.grpc.gcp.En" +
"dpoint\022\023\n\013target_name\030\010 \001(\t\0223\n\014rpc_versi" +
"ons\030\t \001(\0132\035.grpc.gcp.RpcProtocolVersions" +
"\"c\n\031ServerHandshakeParameters\022\030\n\020record_" +
"protocols\030\001 \003(\t\022,\n\020local_identities\030\002 \003(" +
"\0132\022.grpc.gcp.Identity\"\223\003\n\027StartServerHan" +
"dshakeReq\022\035\n\025application_protocols\030\001 \003(\t" +
"\022X\n\024handshake_parameters\030\002 \003(\0132:.grpc.gc" +
"p.StartServerHandshakeReq.HandshakeParam" +
"etersEntry\022\020\n\010in_bytes\030\003 \001(\014\022*\n\016local_en" +
"dpoint\030\004 \001(\0132\022.grpc.gcp.Endpoint\022+\n\017remo" +
"te_endpoint\030\005 \001(\0132\022.grpc.gcp.Endpoint\0223\n" +
"\014rpc_versions\030\006 \001(\0132\035.grpc.gcp.RpcProtoc" +
"olVersions\032_\n\030HandshakeParametersEntry\022\013" +
"\n\003key\030\001 \001(\005\0222\n\005value\030\002 \001(\0132#.grpc.gcp.Se" +
"rverHandshakeParameters:\0028\001\"+\n\027NextHands" +
"hakeMessageReq\022\020\n\010in_bytes\030\001 \001(\014\"\305\001\n\rHan" +
"dshakerReq\0229\n\014client_start\030\001 \001(\0132!.grpc." +
"gcp.StartClientHandshakeReqH\000\0229\n\014server_" +
"start\030\002 \001(\0132!.grpc.gcp.StartServerHandsh" +
"akeReqH\000\0221\n\004next\030\003 \001(\0132!.grpc.gcp.NextHa" +
"ndshakeMessageReqH\000B\013\n\treq_oneof\"\207\002\n\020Han" +
"dshakerResult\022\034\n\024application_protocol\030\001 " +
"\001(\t\022\027\n\017record_protocol\030\002 \001(\t\022\020\n\010key_data" +
"\030\003 \001(\014\022)\n\rpeer_identity\030\004 \001(\0132\022.grpc.gcp" +
".Identity\022*\n\016local_identity\030\005 \001(\0132\022.grpc" +
".gcp.Identity\022\031\n\021keep_channel_open\030\006 \001(\010" +
"\0228\n\021peer_rpc_versions\030\007 \001(\0132\035.grpc.gcp.R" +
"pcProtocolVersions\"1\n\020HandshakerStatus\022\014" +
"\n\004code\030\001 \001(\r\022\017\n\007details\030\002 \001(\t\"\224\001\n\016Handsh" +
"akerResp\022\022\n\nout_frames\030\001 \001(\014\022\026\n\016bytes_co" +
"nsumed\030\002 \001(\r\022*\n\006result\030\003 \001(\0132\032.grpc.gcp." +
"HandshakerResult\022*\n\006status\030\004 \001(\0132\032.grpc." +
"gcp.HandshakerStatus*J\n\021HandshakeProtoco" +
"l\022\"\n\036HANDSHAKE_PROTOCOL_UNSPECIFIED\020\000\022\007\n" +
"\003TLS\020\001\022\010\n\004ALTS\020\002*E\n\017NetworkProtocol\022 \n\034N" +
"ETWORK_PROTOCOL_UNSPECIFIED\020\000\022\007\n\003TCP\020\001\022\007" +
"\n\003UDP\020\0022[\n\021HandshakerService\022F\n\013DoHandsh" +
"ake\022\027.grpc.gcp.HandshakerReq\032\030.grpc.gcp." +
"HandshakerResp\"\000(\0010\001Bk\n\025io.grpc.alts.int" +
"ernalB\017HandshakerProtoP\001Z?google.golang." +
"org/grpc/credentials/alts/internal/proto" +
"/grpc_gcpb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.grpc.alts.internal.TransportSecurityCommonProto.getDescriptor(),
}, assigner);
internal_static_grpc_gcp_Endpoint_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_grpc_gcp_Endpoint_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_Endpoint_descriptor,
new java.lang.String[] { "IpAddress", "Port", "Protocol", });
internal_static_grpc_gcp_Identity_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_grpc_gcp_Identity_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_Identity_descriptor,
new java.lang.String[] { "ServiceAccount", "Hostname", "Attributes", "IdentityOneof", });
internal_static_grpc_gcp_Identity_AttributesEntry_descriptor =
internal_static_grpc_gcp_Identity_descriptor.getNestedTypes().get(0);
internal_static_grpc_gcp_Identity_AttributesEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_Identity_AttributesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_grpc_gcp_StartClientHandshakeReq_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_grpc_gcp_StartClientHandshakeReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_StartClientHandshakeReq_descriptor,
new java.lang.String[] { "HandshakeSecurityProtocol", "ApplicationProtocols", "RecordProtocols", "TargetIdentities", "LocalIdentity", "LocalEndpoint", "RemoteEndpoint", "TargetName", "RpcVersions", });
internal_static_grpc_gcp_ServerHandshakeParameters_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_grpc_gcp_ServerHandshakeParameters_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_ServerHandshakeParameters_descriptor,
new java.lang.String[] { "RecordProtocols", "LocalIdentities", });
internal_static_grpc_gcp_StartServerHandshakeReq_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_grpc_gcp_StartServerHandshakeReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_StartServerHandshakeReq_descriptor,
new java.lang.String[] { "ApplicationProtocols", "HandshakeParameters", "InBytes", "LocalEndpoint", "RemoteEndpoint", "RpcVersions", });
internal_static_grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_descriptor =
internal_static_grpc_gcp_StartServerHandshakeReq_descriptor.getNestedTypes().get(0);
internal_static_grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_grpc_gcp_NextHandshakeMessageReq_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_grpc_gcp_NextHandshakeMessageReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_NextHandshakeMessageReq_descriptor,
new java.lang.String[] { "InBytes", });
internal_static_grpc_gcp_HandshakerReq_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_grpc_gcp_HandshakerReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_HandshakerReq_descriptor,
new java.lang.String[] { "ClientStart", "ServerStart", "Next", "ReqOneof", });
internal_static_grpc_gcp_HandshakerResult_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_grpc_gcp_HandshakerResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_HandshakerResult_descriptor,
new java.lang.String[] { "ApplicationProtocol", "RecordProtocol", "KeyData", "PeerIdentity", "LocalIdentity", "KeepChannelOpen", "PeerRpcVersions", });
internal_static_grpc_gcp_HandshakerStatus_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_grpc_gcp_HandshakerStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_HandshakerStatus_descriptor,
new java.lang.String[] { "Code", "Details", });
internal_static_grpc_gcp_HandshakerResp_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_grpc_gcp_HandshakerResp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grpc_gcp_HandshakerResp_descriptor,
new java.lang.String[] { "OutFrames", "BytesConsumed", "Result", "Status", });
io.grpc.alts.internal.TransportSecurityCommonProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}