org.hyperledger.fabric.protos.discovery.QueryOrBuilder 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 interface QueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:discovery.Query)
com.google.protobuf.MessageOrBuilder {
/**
* string channel = 1 [json_name = "channel"];
* @return The channel.
*/
java.lang.String getChannel();
/**
* string channel = 1 [json_name = "channel"];
* @return The bytes for channel.
*/
com.google.protobuf.ByteString
getChannelBytes();
/**
*
* ConfigQuery is used to query for the configuration of the channel,
* such as FabricMSPConfig, and rorderer endpoints.
* The client has to query a peer it trusts as it doesn't have means to self-verify
* the authenticity of the returned result.
* The result is returned in the form of ConfigResult.
*
*
* .discovery.ConfigQuery config_query = 2 [json_name = "configQuery"];
* @return Whether the configQuery field is set.
*/
boolean hasConfigQuery();
/**
*
* ConfigQuery is used to query for the configuration of the channel,
* such as FabricMSPConfig, and rorderer endpoints.
* The client has to query a peer it trusts as it doesn't have means to self-verify
* the authenticity of the returned result.
* The result is returned in the form of ConfigResult.
*
*
* .discovery.ConfigQuery config_query = 2 [json_name = "configQuery"];
* @return The configQuery.
*/
org.hyperledger.fabric.protos.discovery.ConfigQuery getConfigQuery();
/**
*
* ConfigQuery is used to query for the configuration of the channel,
* such as FabricMSPConfig, and rorderer endpoints.
* The client has to query a peer it trusts as it doesn't have means to self-verify
* the authenticity of the returned result.
* The result is returned in the form of ConfigResult.
*
*
* .discovery.ConfigQuery config_query = 2 [json_name = "configQuery"];
*/
org.hyperledger.fabric.protos.discovery.ConfigQueryOrBuilder getConfigQueryOrBuilder();
/**
*
* PeerMembershipQuery queries for peers in a channel context,
* and returns PeerMembershipResult
*
*
* .discovery.PeerMembershipQuery peer_query = 3 [json_name = "peerQuery"];
* @return Whether the peerQuery field is set.
*/
boolean hasPeerQuery();
/**
*
* PeerMembershipQuery queries for peers in a channel context,
* and returns PeerMembershipResult
*
*
* .discovery.PeerMembershipQuery peer_query = 3 [json_name = "peerQuery"];
* @return The peerQuery.
*/
org.hyperledger.fabric.protos.discovery.PeerMembershipQuery getPeerQuery();
/**
*
* PeerMembershipQuery queries for peers in a channel context,
* and returns PeerMembershipResult
*
*
* .discovery.PeerMembershipQuery peer_query = 3 [json_name = "peerQuery"];
*/
org.hyperledger.fabric.protos.discovery.PeerMembershipQueryOrBuilder getPeerQueryOrBuilder();
/**
*
* ChaincodeQuery queries for chaincodes by their name and version.
* An empty version means any version can by returned.
*
*
* .discovery.ChaincodeQuery cc_query = 4 [json_name = "ccQuery"];
* @return Whether the ccQuery field is set.
*/
boolean hasCcQuery();
/**
*
* ChaincodeQuery queries for chaincodes by their name and version.
* An empty version means any version can by returned.
*
*
* .discovery.ChaincodeQuery cc_query = 4 [json_name = "ccQuery"];
* @return The ccQuery.
*/
org.hyperledger.fabric.protos.discovery.ChaincodeQuery getCcQuery();
/**
*
* ChaincodeQuery queries for chaincodes by their name and version.
* An empty version means any version can by returned.
*
*
* .discovery.ChaincodeQuery cc_query = 4 [json_name = "ccQuery"];
*/
org.hyperledger.fabric.protos.discovery.ChaincodeQueryOrBuilder getCcQueryOrBuilder();
/**
*
* LocalPeerQuery queries for peers in a non channel context,
* and returns PeerMembershipResult
*
*
* .discovery.LocalPeerQuery local_peers = 5 [json_name = "localPeers"];
* @return Whether the localPeers field is set.
*/
boolean hasLocalPeers();
/**
*
* LocalPeerQuery queries for peers in a non channel context,
* and returns PeerMembershipResult
*
*
* .discovery.LocalPeerQuery local_peers = 5 [json_name = "localPeers"];
* @return The localPeers.
*/
org.hyperledger.fabric.protos.discovery.LocalPeerQuery getLocalPeers();
/**
*
* LocalPeerQuery queries for peers in a non channel context,
* and returns PeerMembershipResult
*
*
* .discovery.LocalPeerQuery local_peers = 5 [json_name = "localPeers"];
*/
org.hyperledger.fabric.protos.discovery.LocalPeerQueryOrBuilder getLocalPeersOrBuilder();
org.hyperledger.fabric.protos.discovery.Query.QueryCase getQueryCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy