org.hyperledger.fabric.protos.discovery.ProtocolProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: discovery/protocol.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.discovery;
public final class ProtocolProto {
private ProtocolProto() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
ProtocolProto.class.getName());
}
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_discovery_SignedRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_SignedRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Request_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Request_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Response_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Response_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_AuthInfo_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_AuthInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Query_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Query_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_QueryResult_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_QueryResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ConfigQuery_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ConfigQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ConfigResult_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ConfigResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ConfigResult_MspsEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ConfigResult_MspsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ConfigResult_OrderersEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ConfigResult_OrderersEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_PeerMembershipQuery_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_PeerMembershipQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_PeerMembershipResult_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_PeerMembershipResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_PeerMembershipResult_PeersByOrgEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_PeerMembershipResult_PeersByOrgEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ChaincodeQuery_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ChaincodeQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_ChaincodeQueryResult_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_ChaincodeQueryResult_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_LocalPeerQuery_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_LocalPeerQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_EndorsementDescriptor_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_EndorsementDescriptor_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_EndorsementDescriptor_EndorsersByGroupsEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_EndorsementDescriptor_EndorsersByGroupsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Layout_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Layout_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Layout_QuantitiesByGroupEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Layout_QuantitiesByGroupEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Peers_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Peers_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Peer_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Peer_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Error_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Error_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Endpoints_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Endpoints_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_discovery_Endpoint_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_discovery_Endpoint_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\030discovery/protocol.proto\022\tdiscovery\032\024g" +
"ossip/message.proto\032\024msp/msp_config.prot" +
"o\032\034peer/proposal_response.proto\"G\n\rSigne" +
"dRequest\022\030\n\007payload\030\001 \001(\014R\007payload\022\034\n\tsi" +
"gnature\030\002 \001(\014R\tsignature\"r\n\007Request\022;\n\016a" +
"uthentication\030\001 \001(\0132\023.discovery.AuthInfo" +
"R\016authentication\022*\n\007queries\030\002 \003(\0132\020.disc" +
"overy.QueryR\007queries\"<\n\010Response\0220\n\007resu" +
"lts\030\001 \003(\0132\026.discovery.QueryResultR\007resul" +
"ts\"d\n\010AuthInfo\022\'\n\017client_identity\030\001 \001(\014R" +
"\016clientIdentity\022/\n\024client_tls_cert_hash\030" +
"\002 \001(\014R\021clientTlsCertHash\"\236\002\n\005Query\022\030\n\007ch" +
"annel\030\001 \001(\tR\007channel\022;\n\014config_query\030\002 \001" +
"(\0132\026.discovery.ConfigQueryH\000R\013configQuer" +
"y\022?\n\npeer_query\030\003 \001(\0132\036.discovery.PeerMe" +
"mbershipQueryH\000R\tpeerQuery\0226\n\010cc_query\030\004" +
" \001(\0132\031.discovery.ChaincodeQueryH\000R\007ccQue" +
"ry\022<\n\013local_peers\030\005 \001(\0132\031.discovery.Loca" +
"lPeerQueryH\000R\nlocalPeersB\007\n\005query\"\203\002\n\013Qu" +
"eryResult\022(\n\005error\030\001 \001(\0132\020.discovery.Err" +
"orH\000R\005error\022>\n\rconfig_result\030\002 \001(\0132\027.dis" +
"covery.ConfigResultH\000R\014configResult\022C\n\014c" +
"c_query_res\030\003 \001(\0132\037.discovery.ChaincodeQ" +
"ueryResultH\000R\nccQueryRes\022;\n\007members\030\004 \001(" +
"\0132\037.discovery.PeerMembershipResultH\000R\007me" +
"mbersB\010\n\006result\"\r\n\013ConfigQuery\"\252\002\n\014Confi" +
"gResult\0225\n\004msps\030\001 \003(\0132!.discovery.Config" +
"Result.MspsEntryR\004msps\022A\n\010orderers\030\002 \003(\013" +
"2%.discovery.ConfigResult.OrderersEntryR" +
"\010orderers\032M\n\tMspsEntry\022\020\n\003key\030\001 \001(\tR\003key" +
"\022*\n\005value\030\002 \001(\0132\024.msp.FabricMSPConfigR\005v" +
"alue:\0028\001\032Q\n\rOrderersEntry\022\020\n\003key\030\001 \001(\tR\003" +
"key\022*\n\005value\030\002 \001(\0132\024.discovery.Endpoints" +
"R\005value:\0028\001\"H\n\023PeerMembershipQuery\0221\n\006fi" +
"lter\030\001 \001(\0132\031.protos.ChaincodeInterestR\006f" +
"ilter\"\272\001\n\024PeerMembershipResult\022Q\n\014peers_" +
"by_org\030\001 \003(\0132/.discovery.PeerMembershipR" +
"esult.PeersByOrgEntryR\npeersByOrg\032O\n\017Pee" +
"rsByOrgEntry\022\020\n\003key\030\001 \001(\tR\003key\022&\n\005value\030" +
"\002 \001(\0132\020.discovery.PeersR\005value:\0028\001\"I\n\016Ch" +
"aincodeQuery\0227\n\tinterests\030\001 \003(\0132\031.protos" +
".ChaincodeInterestR\tinterests\"R\n\024Chainco" +
"deQueryResult\022:\n\007content\030\001 \003(\0132 .discove" +
"ry.EndorsementDescriptorR\007content\"\020\n\016Loc" +
"alPeerQuery\"\243\002\n\025EndorsementDescriptor\022\034\n" +
"\tchaincode\030\001 \001(\tR\tchaincode\022g\n\023endorsers" +
"_by_groups\030\002 \003(\01327.discovery.Endorsement" +
"Descriptor.EndorsersByGroupsEntryR\021endor" +
"sersByGroups\022+\n\007layouts\030\003 \003(\0132\021.discover" +
"y.LayoutR\007layouts\032V\n\026EndorsersByGroupsEn" +
"try\022\020\n\003key\030\001 \001(\tR\003key\022&\n\005value\030\002 \001(\0132\020.d" +
"iscovery.PeersR\005value:\0028\001\"\250\001\n\006Layout\022X\n\023" +
"quantities_by_group\030\001 \003(\0132(.discovery.La" +
"yout.QuantitiesByGroupEntryR\021quantitiesB" +
"yGroup\032D\n\026QuantitiesByGroupEntry\022\020\n\003key\030" +
"\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\rR\005value:\0028\001\".\n\005" +
"Peers\022%\n\005peers\030\001 \003(\0132\017.discovery.PeerR\005p" +
"eers\"\216\001\n\004Peer\022/\n\nstate_info\030\001 \001(\0132\020.goss" +
"ip.EnvelopeR\tstateInfo\0229\n\017membership_inf" +
"o\030\002 \001(\0132\020.gossip.EnvelopeR\016membershipInf" +
"o\022\032\n\010identity\030\003 \001(\014R\010identity\"!\n\005Error\022\030" +
"\n\007content\030\001 \001(\tR\007content\"<\n\tEndpoints\022/\n" +
"\010endpoint\030\001 \003(\0132\023.discovery.EndpointR\010en" +
"dpoint\"2\n\010Endpoint\022\022\n\004host\030\001 \001(\tR\004host\022\022" +
"\n\004port\030\002 \001(\rR\004port2F\n\tDiscovery\0229\n\010Disco" +
"ver\022\030.discovery.SignedRequest\032\023.discover" +
"y.ResponseB\265\001\n\'org.hyperledger.fabric.pr" +
"otos.discoveryB\rProtocolProtoP\001Z7github." +
"com/hyperledger/fabric-protos-go-apiv2/d" +
"iscovery\242\002\003DXX\252\002\tDiscovery\312\002\tDiscovery\342\002" +
"\025Discovery\\GPBMetadata\352\002\tDiscoveryb\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.hyperledger.fabric.protos.gossip.MessageProto.getDescriptor(),
org.hyperledger.fabric.protos.msp.MSPConfigProto.getDescriptor(),
org.hyperledger.fabric.protos.peer.ProposalResponseProto.getDescriptor(),
});
internal_static_discovery_SignedRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_discovery_SignedRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_SignedRequest_descriptor,
new java.lang.String[] { "Payload", "Signature", });
internal_static_discovery_Request_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_discovery_Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Request_descriptor,
new java.lang.String[] { "Authentication", "Queries", });
internal_static_discovery_Response_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_discovery_Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Response_descriptor,
new java.lang.String[] { "Results", });
internal_static_discovery_AuthInfo_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_discovery_AuthInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_AuthInfo_descriptor,
new java.lang.String[] { "ClientIdentity", "ClientTlsCertHash", });
internal_static_discovery_Query_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_discovery_Query_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Query_descriptor,
new java.lang.String[] { "Channel", "ConfigQuery", "PeerQuery", "CcQuery", "LocalPeers", "Query", });
internal_static_discovery_QueryResult_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_discovery_QueryResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_QueryResult_descriptor,
new java.lang.String[] { "Error", "ConfigResult", "CcQueryRes", "Members", "Result", });
internal_static_discovery_ConfigQuery_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_discovery_ConfigQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ConfigQuery_descriptor,
new java.lang.String[] { });
internal_static_discovery_ConfigResult_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_discovery_ConfigResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ConfigResult_descriptor,
new java.lang.String[] { "Msps", "Orderers", });
internal_static_discovery_ConfigResult_MspsEntry_descriptor =
internal_static_discovery_ConfigResult_descriptor.getNestedTypes().get(0);
internal_static_discovery_ConfigResult_MspsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ConfigResult_MspsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_discovery_ConfigResult_OrderersEntry_descriptor =
internal_static_discovery_ConfigResult_descriptor.getNestedTypes().get(1);
internal_static_discovery_ConfigResult_OrderersEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ConfigResult_OrderersEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_discovery_PeerMembershipQuery_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_discovery_PeerMembershipQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_PeerMembershipQuery_descriptor,
new java.lang.String[] { "Filter", });
internal_static_discovery_PeerMembershipResult_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_discovery_PeerMembershipResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_PeerMembershipResult_descriptor,
new java.lang.String[] { "PeersByOrg", });
internal_static_discovery_PeerMembershipResult_PeersByOrgEntry_descriptor =
internal_static_discovery_PeerMembershipResult_descriptor.getNestedTypes().get(0);
internal_static_discovery_PeerMembershipResult_PeersByOrgEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_PeerMembershipResult_PeersByOrgEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_discovery_ChaincodeQuery_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_discovery_ChaincodeQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ChaincodeQuery_descriptor,
new java.lang.String[] { "Interests", });
internal_static_discovery_ChaincodeQueryResult_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_discovery_ChaincodeQueryResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_ChaincodeQueryResult_descriptor,
new java.lang.String[] { "Content", });
internal_static_discovery_LocalPeerQuery_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_discovery_LocalPeerQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_LocalPeerQuery_descriptor,
new java.lang.String[] { });
internal_static_discovery_EndorsementDescriptor_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_discovery_EndorsementDescriptor_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_EndorsementDescriptor_descriptor,
new java.lang.String[] { "Chaincode", "EndorsersByGroups", "Layouts", });
internal_static_discovery_EndorsementDescriptor_EndorsersByGroupsEntry_descriptor =
internal_static_discovery_EndorsementDescriptor_descriptor.getNestedTypes().get(0);
internal_static_discovery_EndorsementDescriptor_EndorsersByGroupsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_EndorsementDescriptor_EndorsersByGroupsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_discovery_Layout_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_discovery_Layout_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Layout_descriptor,
new java.lang.String[] { "QuantitiesByGroup", });
internal_static_discovery_Layout_QuantitiesByGroupEntry_descriptor =
internal_static_discovery_Layout_descriptor.getNestedTypes().get(0);
internal_static_discovery_Layout_QuantitiesByGroupEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Layout_QuantitiesByGroupEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_discovery_Peers_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_discovery_Peers_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Peers_descriptor,
new java.lang.String[] { "Peers", });
internal_static_discovery_Peer_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_discovery_Peer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Peer_descriptor,
new java.lang.String[] { "StateInfo", "MembershipInfo", "Identity", });
internal_static_discovery_Error_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_discovery_Error_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Error_descriptor,
new java.lang.String[] { "Content", });
internal_static_discovery_Endpoints_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_discovery_Endpoints_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Endpoints_descriptor,
new java.lang.String[] { "Endpoint", });
internal_static_discovery_Endpoint_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_discovery_Endpoint_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_discovery_Endpoint_descriptor,
new java.lang.String[] { "Host", "Port", });
descriptor.resolveAllFeaturesImmutable();
org.hyperledger.fabric.protos.gossip.MessageProto.getDescriptor();
org.hyperledger.fabric.protos.msp.MSPConfigProto.getDescriptor();
org.hyperledger.fabric.protos.peer.ProposalResponseProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy