org.hyperledger.fabric.protos.discovery.QueryResultOrBuilder 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 QueryResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:discovery.QueryResult)
com.google.protobuf.MessageOrBuilder {
/**
*
* Error indicates failure or refusal to process the query
*
*
* .discovery.Error error = 1 [json_name = "error"];
* @return Whether the error field is set.
*/
boolean hasError();
/**
*
* Error indicates failure or refusal to process the query
*
*
* .discovery.Error error = 1 [json_name = "error"];
* @return The error.
*/
org.hyperledger.fabric.protos.discovery.Error getError();
/**
*
* Error indicates failure or refusal to process the query
*
*
* .discovery.Error error = 1 [json_name = "error"];
*/
org.hyperledger.fabric.protos.discovery.ErrorOrBuilder getErrorOrBuilder();
/**
*
* ConfigResult contains the configuration of the channel,
* such as FabricMSPConfig and orderer endpoints
*
*
* .discovery.ConfigResult config_result = 2 [json_name = "configResult"];
* @return Whether the configResult field is set.
*/
boolean hasConfigResult();
/**
*
* ConfigResult contains the configuration of the channel,
* such as FabricMSPConfig and orderer endpoints
*
*
* .discovery.ConfigResult config_result = 2 [json_name = "configResult"];
* @return The configResult.
*/
org.hyperledger.fabric.protos.discovery.ConfigResult getConfigResult();
/**
*
* ConfigResult contains the configuration of the channel,
* such as FabricMSPConfig and orderer endpoints
*
*
* .discovery.ConfigResult config_result = 2 [json_name = "configResult"];
*/
org.hyperledger.fabric.protos.discovery.ConfigResultOrBuilder getConfigResultOrBuilder();
/**
*
* ChaincodeQueryResult contains information about chaincodes,
* and their corresponding endorsers
*
*
* .discovery.ChaincodeQueryResult cc_query_res = 3 [json_name = "ccQueryRes"];
* @return Whether the ccQueryRes field is set.
*/
boolean hasCcQueryRes();
/**
*
* ChaincodeQueryResult contains information about chaincodes,
* and their corresponding endorsers
*
*
* .discovery.ChaincodeQueryResult cc_query_res = 3 [json_name = "ccQueryRes"];
* @return The ccQueryRes.
*/
org.hyperledger.fabric.protos.discovery.ChaincodeQueryResult getCcQueryRes();
/**
*
* ChaincodeQueryResult contains information about chaincodes,
* and their corresponding endorsers
*
*
* .discovery.ChaincodeQueryResult cc_query_res = 3 [json_name = "ccQueryRes"];
*/
org.hyperledger.fabric.protos.discovery.ChaincodeQueryResultOrBuilder getCcQueryResOrBuilder();
/**
*
* PeerMembershipResult contains information about peers,
* such as their identity, endpoints, and channel related state.
*
*
* .discovery.PeerMembershipResult members = 4 [json_name = "members"];
* @return Whether the members field is set.
*/
boolean hasMembers();
/**
*
* PeerMembershipResult contains information about peers,
* such as their identity, endpoints, and channel related state.
*
*
* .discovery.PeerMembershipResult members = 4 [json_name = "members"];
* @return The members.
*/
org.hyperledger.fabric.protos.discovery.PeerMembershipResult getMembers();
/**
*
* PeerMembershipResult contains information about peers,
* such as their identity, endpoints, and channel related state.
*
*
* .discovery.PeerMembershipResult members = 4 [json_name = "members"];
*/
org.hyperledger.fabric.protos.discovery.PeerMembershipResultOrBuilder getMembersOrBuilder();
org.hyperledger.fabric.protos.discovery.QueryResult.ResultCase getResultCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy