org.hyperledger.fabric.protos.gateway.EndorseRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: gateway/gateway.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.gateway;
public interface EndorseRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gateway.EndorseRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The unique identifier for the transaction.
*
*
* string transaction_id = 1 [json_name = "transactionId"];
* @return The transactionId.
*/
java.lang.String getTransactionId();
/**
*
* The unique identifier for the transaction.
*
*
* string transaction_id = 1 [json_name = "transactionId"];
* @return The bytes for transactionId.
*/
com.google.protobuf.ByteString
getTransactionIdBytes();
/**
*
* Identifier of the channel this request is bound for.
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The channelId.
*/
java.lang.String getChannelId();
/**
*
* Identifier of the channel this request is bound for.
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The bytes for channelId.
*/
com.google.protobuf.ByteString
getChannelIdBytes();
/**
*
* The signed proposal ready for endorsement.
*
*
* .protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
* @return Whether the proposedTransaction field is set.
*/
boolean hasProposedTransaction();
/**
*
* The signed proposal ready for endorsement.
*
*
* .protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
* @return The proposedTransaction.
*/
org.hyperledger.fabric.protos.peer.SignedProposal getProposedTransaction();
/**
*
* The signed proposal ready for endorsement.
*
*
* .protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
*/
org.hyperledger.fabric.protos.peer.SignedProposalOrBuilder getProposedTransactionOrBuilder();
/**
*
* If targeting the peers of specific organizations (e.g. for private data scenarios),
* the list of organizations' MSPIDs should be supplied here.
*
*
* repeated string endorsing_organizations = 4 [json_name = "endorsingOrganizations"];
* @return A list containing the endorsingOrganizations.
*/
java.util.List
getEndorsingOrganizationsList();
/**
*
* If targeting the peers of specific organizations (e.g. for private data scenarios),
* the list of organizations' MSPIDs should be supplied here.
*
*
* repeated string endorsing_organizations = 4 [json_name = "endorsingOrganizations"];
* @return The count of endorsingOrganizations.
*/
int getEndorsingOrganizationsCount();
/**
*
* If targeting the peers of specific organizations (e.g. for private data scenarios),
* the list of organizations' MSPIDs should be supplied here.
*
*
* repeated string endorsing_organizations = 4 [json_name = "endorsingOrganizations"];
* @param index The index of the element to return.
* @return The endorsingOrganizations at the given index.
*/
java.lang.String getEndorsingOrganizations(int index);
/**
*
* If targeting the peers of specific organizations (e.g. for private data scenarios),
* the list of organizations' MSPIDs should be supplied here.
*
*
* repeated string endorsing_organizations = 4 [json_name = "endorsingOrganizations"];
* @param index The index of the value to return.
* @return The bytes of the endorsingOrganizations at the given index.
*/
com.google.protobuf.ByteString
getEndorsingOrganizationsBytes(int index);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy