public interface ProposalOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getExtension()
Optional extensions to the proposal.
|
com.google.protobuf.ByteString |
getHeader()
The header of the proposal.
|
com.google.protobuf.ByteString |
getPayload()
The payload of the proposal as defined by the type in the proposal
header.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getHeader()
The header of the proposal. It is the bytes of the Header
bytes header = 1 [json_name = "header"];
com.google.protobuf.ByteString getPayload()
The payload of the proposal as defined by the type in the proposal header.
bytes payload = 2 [json_name = "payload"];
com.google.protobuf.ByteString getExtension()
Optional extensions to the proposal. Its content depends on the Header's type field. For the type CHAINCODE, it might be the bytes of a ChaincodeAction message.
bytes extension = 3 [json_name = "extension"];
Copyright © 2022. All rights reserved.