All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.protos.gossip.GossipMessageOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: gossip/message.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.gossip;

public interface GossipMessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:gossip.GossipMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * used mainly for testing, but will might be used in the future
   * for ensuring message delivery by acking
   * 
* * uint64 nonce = 1 [json_name = "nonce"]; * @return The nonce. */ long getNonce(); /** *
   * The channel of the message.
   * Some GossipMessages may set this to nil, because
   * they are cross-channels but some may not
   * 
* * bytes channel = 2 [json_name = "channel"]; * @return The channel. */ com.google.protobuf.ByteString getChannel(); /** *
   * determines to which peers it is allowed
   * to forward the message
   * 
* * .gossip.GossipMessage.Tag tag = 3 [json_name = "tag"]; * @return The enum numeric value on the wire for tag. */ int getTagValue(); /** *
   * determines to which peers it is allowed
   * to forward the message
   * 
* * .gossip.GossipMessage.Tag tag = 3 [json_name = "tag"]; * @return The tag. */ org.hyperledger.fabric.protos.gossip.GossipMessage.Tag getTag(); /** *
   * Membership
   * 
* * .gossip.AliveMessage alive_msg = 5 [json_name = "aliveMsg"]; * @return Whether the aliveMsg field is set. */ boolean hasAliveMsg(); /** *
   * Membership
   * 
* * .gossip.AliveMessage alive_msg = 5 [json_name = "aliveMsg"]; * @return The aliveMsg. */ org.hyperledger.fabric.protos.gossip.AliveMessage getAliveMsg(); /** *
   * Membership
   * 
* * .gossip.AliveMessage alive_msg = 5 [json_name = "aliveMsg"]; */ org.hyperledger.fabric.protos.gossip.AliveMessageOrBuilder getAliveMsgOrBuilder(); /** * .gossip.MembershipRequest mem_req = 6 [json_name = "memReq"]; * @return Whether the memReq field is set. */ boolean hasMemReq(); /** * .gossip.MembershipRequest mem_req = 6 [json_name = "memReq"]; * @return The memReq. */ org.hyperledger.fabric.protos.gossip.MembershipRequest getMemReq(); /** * .gossip.MembershipRequest mem_req = 6 [json_name = "memReq"]; */ org.hyperledger.fabric.protos.gossip.MembershipRequestOrBuilder getMemReqOrBuilder(); /** * .gossip.MembershipResponse mem_res = 7 [json_name = "memRes"]; * @return Whether the memRes field is set. */ boolean hasMemRes(); /** * .gossip.MembershipResponse mem_res = 7 [json_name = "memRes"]; * @return The memRes. */ org.hyperledger.fabric.protos.gossip.MembershipResponse getMemRes(); /** * .gossip.MembershipResponse mem_res = 7 [json_name = "memRes"]; */ org.hyperledger.fabric.protos.gossip.MembershipResponseOrBuilder getMemResOrBuilder(); /** *
   * Contains a ledger block
   * 
* * .gossip.DataMessage data_msg = 8 [json_name = "dataMsg"]; * @return Whether the dataMsg field is set. */ boolean hasDataMsg(); /** *
   * Contains a ledger block
   * 
* * .gossip.DataMessage data_msg = 8 [json_name = "dataMsg"]; * @return The dataMsg. */ org.hyperledger.fabric.protos.gossip.DataMessage getDataMsg(); /** *
   * Contains a ledger block
   * 
* * .gossip.DataMessage data_msg = 8 [json_name = "dataMsg"]; */ org.hyperledger.fabric.protos.gossip.DataMessageOrBuilder getDataMsgOrBuilder(); /** *
   * Used for push&pull
   * 
* * .gossip.GossipHello hello = 9 [json_name = "hello"]; * @return Whether the hello field is set. */ boolean hasHello(); /** *
   * Used for push&pull
   * 
* * .gossip.GossipHello hello = 9 [json_name = "hello"]; * @return The hello. */ org.hyperledger.fabric.protos.gossip.GossipHello getHello(); /** *
   * Used for push&pull
   * 
* * .gossip.GossipHello hello = 9 [json_name = "hello"]; */ org.hyperledger.fabric.protos.gossip.GossipHelloOrBuilder getHelloOrBuilder(); /** * .gossip.DataDigest data_dig = 10 [json_name = "dataDig"]; * @return Whether the dataDig field is set. */ boolean hasDataDig(); /** * .gossip.DataDigest data_dig = 10 [json_name = "dataDig"]; * @return The dataDig. */ org.hyperledger.fabric.protos.gossip.DataDigest getDataDig(); /** * .gossip.DataDigest data_dig = 10 [json_name = "dataDig"]; */ org.hyperledger.fabric.protos.gossip.DataDigestOrBuilder getDataDigOrBuilder(); /** * .gossip.DataRequest data_req = 11 [json_name = "dataReq"]; * @return Whether the dataReq field is set. */ boolean hasDataReq(); /** * .gossip.DataRequest data_req = 11 [json_name = "dataReq"]; * @return The dataReq. */ org.hyperledger.fabric.protos.gossip.DataRequest getDataReq(); /** * .gossip.DataRequest data_req = 11 [json_name = "dataReq"]; */ org.hyperledger.fabric.protos.gossip.DataRequestOrBuilder getDataReqOrBuilder(); /** * .gossip.DataUpdate data_update = 12 [json_name = "dataUpdate"]; * @return Whether the dataUpdate field is set. */ boolean hasDataUpdate(); /** * .gossip.DataUpdate data_update = 12 [json_name = "dataUpdate"]; * @return The dataUpdate. */ org.hyperledger.fabric.protos.gossip.DataUpdate getDataUpdate(); /** * .gossip.DataUpdate data_update = 12 [json_name = "dataUpdate"]; */ org.hyperledger.fabric.protos.gossip.DataUpdateOrBuilder getDataUpdateOrBuilder(); /** *
   * Empty message, used for pinging
   * 
* * .gossip.Empty empty = 13 [json_name = "empty"]; * @return Whether the empty field is set. */ boolean hasEmpty(); /** *
   * Empty message, used for pinging
   * 
* * .gossip.Empty empty = 13 [json_name = "empty"]; * @return The empty. */ org.hyperledger.fabric.protos.gossip.Empty getEmpty(); /** *
   * Empty message, used for pinging
   * 
* * .gossip.Empty empty = 13 [json_name = "empty"]; */ org.hyperledger.fabric.protos.gossip.EmptyOrBuilder getEmptyOrBuilder(); /** *
   * ConnEstablish, used for establishing a connection
   * 
* * .gossip.ConnEstablish conn = 14 [json_name = "conn"]; * @return Whether the conn field is set. */ boolean hasConn(); /** *
   * ConnEstablish, used for establishing a connection
   * 
* * .gossip.ConnEstablish conn = 14 [json_name = "conn"]; * @return The conn. */ org.hyperledger.fabric.protos.gossip.ConnEstablish getConn(); /** *
   * ConnEstablish, used for establishing a connection
   * 
* * .gossip.ConnEstablish conn = 14 [json_name = "conn"]; */ org.hyperledger.fabric.protos.gossip.ConnEstablishOrBuilder getConnOrBuilder(); /** *
   * Used for relaying information
   * about state
   * 
* * .gossip.StateInfo state_info = 15 [json_name = "stateInfo"]; * @return Whether the stateInfo field is set. */ boolean hasStateInfo(); /** *
   * Used for relaying information
   * about state
   * 
* * .gossip.StateInfo state_info = 15 [json_name = "stateInfo"]; * @return The stateInfo. */ org.hyperledger.fabric.protos.gossip.StateInfo getStateInfo(); /** *
   * Used for relaying information
   * about state
   * 
* * .gossip.StateInfo state_info = 15 [json_name = "stateInfo"]; */ org.hyperledger.fabric.protos.gossip.StateInfoOrBuilder getStateInfoOrBuilder(); /** *
   * Used for sending sets of StateInfo messages
   * 
* * .gossip.StateInfoSnapshot state_snapshot = 16 [json_name = "stateSnapshot"]; * @return Whether the stateSnapshot field is set. */ boolean hasStateSnapshot(); /** *
   * Used for sending sets of StateInfo messages
   * 
* * .gossip.StateInfoSnapshot state_snapshot = 16 [json_name = "stateSnapshot"]; * @return The stateSnapshot. */ org.hyperledger.fabric.protos.gossip.StateInfoSnapshot getStateSnapshot(); /** *
   * Used for sending sets of StateInfo messages
   * 
* * .gossip.StateInfoSnapshot state_snapshot = 16 [json_name = "stateSnapshot"]; */ org.hyperledger.fabric.protos.gossip.StateInfoSnapshotOrBuilder getStateSnapshotOrBuilder(); /** *
   * Used for asking for StateInfoSnapshots
   * 
* * .gossip.StateInfoPullRequest state_info_pull_req = 17 [json_name = "stateInfoPullReq"]; * @return Whether the stateInfoPullReq field is set. */ boolean hasStateInfoPullReq(); /** *
   * Used for asking for StateInfoSnapshots
   * 
* * .gossip.StateInfoPullRequest state_info_pull_req = 17 [json_name = "stateInfoPullReq"]; * @return The stateInfoPullReq. */ org.hyperledger.fabric.protos.gossip.StateInfoPullRequest getStateInfoPullReq(); /** *
   * Used for asking for StateInfoSnapshots
   * 
* * .gossip.StateInfoPullRequest state_info_pull_req = 17 [json_name = "stateInfoPullReq"]; */ org.hyperledger.fabric.protos.gossip.StateInfoPullRequestOrBuilder getStateInfoPullReqOrBuilder(); /** *
   * Used to ask from a remote peer a set of blocks
   * 
* * .gossip.RemoteStateRequest state_request = 18 [json_name = "stateRequest"]; * @return Whether the stateRequest field is set. */ boolean hasStateRequest(); /** *
   * Used to ask from a remote peer a set of blocks
   * 
* * .gossip.RemoteStateRequest state_request = 18 [json_name = "stateRequest"]; * @return The stateRequest. */ org.hyperledger.fabric.protos.gossip.RemoteStateRequest getStateRequest(); /** *
   * Used to ask from a remote peer a set of blocks
   * 
* * .gossip.RemoteStateRequest state_request = 18 [json_name = "stateRequest"]; */ org.hyperledger.fabric.protos.gossip.RemoteStateRequestOrBuilder getStateRequestOrBuilder(); /** *
   * Used to send a set of blocks to a remote peer
   * 
* * .gossip.RemoteStateResponse state_response = 19 [json_name = "stateResponse"]; * @return Whether the stateResponse field is set. */ boolean hasStateResponse(); /** *
   * Used to send a set of blocks to a remote peer
   * 
* * .gossip.RemoteStateResponse state_response = 19 [json_name = "stateResponse"]; * @return The stateResponse. */ org.hyperledger.fabric.protos.gossip.RemoteStateResponse getStateResponse(); /** *
   * Used to send a set of blocks to a remote peer
   * 
* * .gossip.RemoteStateResponse state_response = 19 [json_name = "stateResponse"]; */ org.hyperledger.fabric.protos.gossip.RemoteStateResponseOrBuilder getStateResponseOrBuilder(); /** *
   * Used to indicate intent of peer to become leader
   * 
* * .gossip.LeadershipMessage leadership_msg = 20 [json_name = "leadershipMsg"]; * @return Whether the leadershipMsg field is set. */ boolean hasLeadershipMsg(); /** *
   * Used to indicate intent of peer to become leader
   * 
* * .gossip.LeadershipMessage leadership_msg = 20 [json_name = "leadershipMsg"]; * @return The leadershipMsg. */ org.hyperledger.fabric.protos.gossip.LeadershipMessage getLeadershipMsg(); /** *
   * Used to indicate intent of peer to become leader
   * 
* * .gossip.LeadershipMessage leadership_msg = 20 [json_name = "leadershipMsg"]; */ org.hyperledger.fabric.protos.gossip.LeadershipMessageOrBuilder getLeadershipMsgOrBuilder(); /** *
   * Used to learn of a peer's certificate
   * 
* * .gossip.PeerIdentity peer_identity = 21 [json_name = "peerIdentity"]; * @return Whether the peerIdentity field is set. */ boolean hasPeerIdentity(); /** *
   * Used to learn of a peer's certificate
   * 
* * .gossip.PeerIdentity peer_identity = 21 [json_name = "peerIdentity"]; * @return The peerIdentity. */ org.hyperledger.fabric.protos.gossip.PeerIdentity getPeerIdentity(); /** *
   * Used to learn of a peer's certificate
   * 
* * .gossip.PeerIdentity peer_identity = 21 [json_name = "peerIdentity"]; */ org.hyperledger.fabric.protos.gossip.PeerIdentityOrBuilder getPeerIdentityOrBuilder(); /** * .gossip.Acknowledgement ack = 22 [json_name = "ack"]; * @return Whether the ack field is set. */ boolean hasAck(); /** * .gossip.Acknowledgement ack = 22 [json_name = "ack"]; * @return The ack. */ org.hyperledger.fabric.protos.gossip.Acknowledgement getAck(); /** * .gossip.Acknowledgement ack = 22 [json_name = "ack"]; */ org.hyperledger.fabric.protos.gossip.AcknowledgementOrBuilder getAckOrBuilder(); /** *
   * Used to request private data
   * 
* * .gossip.RemotePvtDataRequest privateReq = 23 [json_name = "privateReq"]; * @return Whether the privateReq field is set. */ boolean hasPrivateReq(); /** *
   * Used to request private data
   * 
* * .gossip.RemotePvtDataRequest privateReq = 23 [json_name = "privateReq"]; * @return The privateReq. */ org.hyperledger.fabric.protos.gossip.RemotePvtDataRequest getPrivateReq(); /** *
   * Used to request private data
   * 
* * .gossip.RemotePvtDataRequest privateReq = 23 [json_name = "privateReq"]; */ org.hyperledger.fabric.protos.gossip.RemotePvtDataRequestOrBuilder getPrivateReqOrBuilder(); /** *
   * Used to respond to private data requests
   * 
* * .gossip.RemotePvtDataResponse privateRes = 24 [json_name = "privateRes"]; * @return Whether the privateRes field is set. */ boolean hasPrivateRes(); /** *
   * Used to respond to private data requests
   * 
* * .gossip.RemotePvtDataResponse privateRes = 24 [json_name = "privateRes"]; * @return The privateRes. */ org.hyperledger.fabric.protos.gossip.RemotePvtDataResponse getPrivateRes(); /** *
   * Used to respond to private data requests
   * 
* * .gossip.RemotePvtDataResponse privateRes = 24 [json_name = "privateRes"]; */ org.hyperledger.fabric.protos.gossip.RemotePvtDataResponseOrBuilder getPrivateResOrBuilder(); /** *
   * Encapsulates private data used to distribute
   * private rwset after the endorsement
   * 
* * .gossip.PrivateDataMessage private_data = 25 [json_name = "privateData"]; * @return Whether the privateData field is set. */ boolean hasPrivateData(); /** *
   * Encapsulates private data used to distribute
   * private rwset after the endorsement
   * 
* * .gossip.PrivateDataMessage private_data = 25 [json_name = "privateData"]; * @return The privateData. */ org.hyperledger.fabric.protos.gossip.PrivateDataMessage getPrivateData(); /** *
   * Encapsulates private data used to distribute
   * private rwset after the endorsement
   * 
* * .gossip.PrivateDataMessage private_data = 25 [json_name = "privateData"]; */ org.hyperledger.fabric.protos.gossip.PrivateDataMessageOrBuilder getPrivateDataOrBuilder(); org.hyperledger.fabric.protos.gossip.GossipMessage.ContentCase getContentCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy