org.hyperledger.fabric.protos.peer.ProposalResponsePayloadOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/proposal_response.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.peer;
public interface ProposalResponsePayloadOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.ProposalResponsePayload)
com.google.protobuf.MessageOrBuilder {
/**
*
* Hash of the proposal that triggered this response. The hash is used to
* link a response with its proposal, both for bookeeping purposes on an
* asynchronous system and for security reasons (accountability,
* non-repudiation). The hash usually covers the entire Proposal message
* (byte-by-byte).
*
*
* bytes proposal_hash = 1 [json_name = "proposalHash"];
* @return The proposalHash.
*/
com.google.protobuf.ByteString getProposalHash();
/**
*
* Extension should be unmarshaled to a type-specific message. The type of
* the extension in any proposal response depends on the type of the proposal
* that the client selected when the proposal was initially sent out. In
* particular, this information is stored in the type field of a Header. For
* chaincode, it's a ChaincodeAction message
*
*
* bytes extension = 2 [json_name = "extension"];
* @return The extension.
*/
com.google.protobuf.ByteString getExtension();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy