org.hyperledger.fabric.protos.common.PayloadOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/common.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.common;
public interface PayloadOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.Payload)
com.google.protobuf.MessageOrBuilder {
/**
*
* Header is included to provide identity and prevent replay
*
*
* .common.Header header = 1 [json_name = "header"];
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
*
* Header is included to provide identity and prevent replay
*
*
* .common.Header header = 1 [json_name = "header"];
* @return The header.
*/
org.hyperledger.fabric.protos.common.Header getHeader();
/**
*
* Header is included to provide identity and prevent replay
*
*
* .common.Header header = 1 [json_name = "header"];
*/
org.hyperledger.fabric.protos.common.HeaderOrBuilder getHeaderOrBuilder();
/**
*
* Data, the encoding of which is defined by the type in the header
*
*
* bytes data = 2 [json_name = "data"];
* @return The data.
*/
com.google.protobuf.ByteString getData();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy