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

org.hyperledger.fabric.protos.peer.ChaincodeMessageOrBuilder Maven / Gradle / Ivy

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

package org.hyperledger.fabric.protos.peer;

public interface ChaincodeMessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:protos.ChaincodeMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   * .protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
   * @return The enum numeric value on the wire for type.
   */
  int getTypeValue();
  /**
   * .protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
   * @return The type.
   */
  org.hyperledger.fabric.protos.peer.ChaincodeMessage.Type getType();

  /**
   * .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
   * @return Whether the timestamp field is set.
   */
  boolean hasTimestamp();
  /**
   * .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
   * @return The timestamp.
   */
  com.google.protobuf.Timestamp getTimestamp();
  /**
   * .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
   */
  com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();

  /**
   * bytes payload = 3 [json_name = "payload"];
   * @return The payload.
   */
  com.google.protobuf.ByteString getPayload();

  /**
   * string txid = 4 [json_name = "txid"];
   * @return The txid.
   */
  java.lang.String getTxid();
  /**
   * string txid = 4 [json_name = "txid"];
   * @return The bytes for txid.
   */
  com.google.protobuf.ByteString
      getTxidBytes();

  /**
   * .protos.SignedProposal proposal = 5 [json_name = "proposal"];
   * @return Whether the proposal field is set.
   */
  boolean hasProposal();
  /**
   * .protos.SignedProposal proposal = 5 [json_name = "proposal"];
   * @return The proposal.
   */
  org.hyperledger.fabric.protos.peer.SignedProposal getProposal();
  /**
   * .protos.SignedProposal proposal = 5 [json_name = "proposal"];
   */
  org.hyperledger.fabric.protos.peer.SignedProposalOrBuilder getProposalOrBuilder();

  /**
   * 
   * event emitted by chaincode. Used only with Init or Invoke.
   * This event is then stored (currently)
   * with Block.NonHashData.TransactionResult
   * 
* * .protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"]; * @return Whether the chaincodeEvent field is set. */ boolean hasChaincodeEvent(); /** *
   * event emitted by chaincode. Used only with Init or Invoke.
   * This event is then stored (currently)
   * with Block.NonHashData.TransactionResult
   * 
* * .protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"]; * @return The chaincodeEvent. */ org.hyperledger.fabric.protos.peer.ChaincodeEvent getChaincodeEvent(); /** *
   * event emitted by chaincode. Used only with Init or Invoke.
   * This event is then stored (currently)
   * with Block.NonHashData.TransactionResult
   * 
* * .protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"]; */ org.hyperledger.fabric.protos.peer.ChaincodeEventOrBuilder getChaincodeEventOrBuilder(); /** *
   * channel id
   * 
* * string channel_id = 7 [json_name = "channelId"]; * @return The channelId. */ java.lang.String getChannelId(); /** *
   * channel id
   * 
* * string channel_id = 7 [json_name = "channelId"]; * @return The bytes for channelId. */ com.google.protobuf.ByteString getChannelIdBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy