public static final class EvaluateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder> implements EvaluateRequestOrBuilder
EvaluateRequest contains the details required to evaluate a transaction (query the ledger).Protobuf type
gateway.EvaluateRequest
Modifier and Type | Method and Description |
---|---|
EvaluateRequest.Builder |
addAllTargetOrganizations(Iterable<String> values)
If targeting the peers of specific organizations (e.g.
|
EvaluateRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EvaluateRequest.Builder |
addTargetOrganizations(String value)
If targeting the peers of specific organizations (e.g.
|
EvaluateRequest.Builder |
addTargetOrganizationsBytes(com.google.protobuf.ByteString value)
If targeting the peers of specific organizations (e.g.
|
EvaluateRequest |
build() |
EvaluateRequest |
buildPartial() |
EvaluateRequest.Builder |
clear() |
EvaluateRequest.Builder |
clearChannelId()
Identifier of the channel this request is bound for.
|
EvaluateRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EvaluateRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EvaluateRequest.Builder |
clearProposedTransaction()
The signed proposal ready for evaluation.
|
EvaluateRequest.Builder |
clearTargetOrganizations()
If targeting the peers of specific organizations (e.g.
|
EvaluateRequest.Builder |
clearTransactionId()
Identifier of the transaction to evaluate.
|
EvaluateRequest.Builder |
clone() |
String |
getChannelId()
Identifier of the channel this request is bound for.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
Identifier of the channel this request is bound for.
|
EvaluateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SignedProposal |
getProposedTransaction()
The signed proposal ready for evaluation.
|
SignedProposal.Builder |
getProposedTransactionBuilder()
The signed proposal ready for evaluation.
|
SignedProposalOrBuilder |
getProposedTransactionOrBuilder()
The signed proposal ready for evaluation.
|
String |
getTargetOrganizations(int index)
If targeting the peers of specific organizations (e.g.
|
com.google.protobuf.ByteString |
getTargetOrganizationsBytes(int index)
If targeting the peers of specific organizations (e.g.
|
int |
getTargetOrganizationsCount()
If targeting the peers of specific organizations (e.g.
|
com.google.protobuf.ProtocolStringList |
getTargetOrganizationsList()
If targeting the peers of specific organizations (e.g.
|
String |
getTransactionId()
Identifier of the transaction to evaluate.
|
com.google.protobuf.ByteString |
getTransactionIdBytes()
Identifier of the transaction to evaluate.
|
boolean |
hasProposedTransaction()
The signed proposal ready for evaluation.
|
boolean |
isInitialized() |
EvaluateRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EvaluateRequest.Builder |
mergeFrom(EvaluateRequest other) |
EvaluateRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
EvaluateRequest.Builder |
mergeProposedTransaction(SignedProposal value)
The signed proposal ready for evaluation.
|
EvaluateRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EvaluateRequest.Builder |
setChannelId(String value)
Identifier of the channel this request is bound for.
|
EvaluateRequest.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
Identifier of the channel this request is bound for.
|
EvaluateRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EvaluateRequest.Builder |
setProposedTransaction(SignedProposal.Builder builderForValue)
The signed proposal ready for evaluation.
|
EvaluateRequest.Builder |
setProposedTransaction(SignedProposal value)
The signed proposal ready for evaluation.
|
EvaluateRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EvaluateRequest.Builder |
setTargetOrganizations(int index,
String value)
If targeting the peers of specific organizations (e.g.
|
EvaluateRequest.Builder |
setTransactionId(String value)
Identifier of the transaction to evaluate.
|
EvaluateRequest.Builder |
setTransactionIdBytes(com.google.protobuf.ByteString value)
Identifier of the transaction to evaluate.
|
EvaluateRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public EvaluateRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EvaluateRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EvaluateRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EvaluateRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder mergeFrom(EvaluateRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public EvaluateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EvaluateRequest.Builder>
IOException
public String getTransactionId()
Identifier of the transaction to evaluate.
string transaction_id = 1 [json_name = "transactionId"];
getTransactionId
in interface EvaluateRequestOrBuilder
public com.google.protobuf.ByteString getTransactionIdBytes()
Identifier of the transaction to evaluate.
string transaction_id = 1 [json_name = "transactionId"];
getTransactionIdBytes
in interface EvaluateRequestOrBuilder
public EvaluateRequest.Builder setTransactionId(String value)
Identifier of the transaction to evaluate.
string transaction_id = 1 [json_name = "transactionId"];
value
- The transactionId to set.public EvaluateRequest.Builder clearTransactionId()
Identifier of the transaction to evaluate.
string transaction_id = 1 [json_name = "transactionId"];
public EvaluateRequest.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
Identifier of the transaction to evaluate.
string transaction_id = 1 [json_name = "transactionId"];
value
- The bytes for transactionId to set.public String getChannelId()
Identifier of the channel this request is bound for.
string channel_id = 2 [json_name = "channelId"];
getChannelId
in interface EvaluateRequestOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
Identifier of the channel this request is bound for.
string channel_id = 2 [json_name = "channelId"];
getChannelIdBytes
in interface EvaluateRequestOrBuilder
public EvaluateRequest.Builder setChannelId(String value)
Identifier of the channel this request is bound for.
string channel_id = 2 [json_name = "channelId"];
value
- The channelId to set.public EvaluateRequest.Builder clearChannelId()
Identifier of the channel this request is bound for.
string channel_id = 2 [json_name = "channelId"];
public EvaluateRequest.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
Identifier of the channel this request is bound for.
string channel_id = 2 [json_name = "channelId"];
value
- The bytes for channelId to set.public boolean hasProposedTransaction()
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
hasProposedTransaction
in interface EvaluateRequestOrBuilder
public SignedProposal getProposedTransaction()
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
getProposedTransaction
in interface EvaluateRequestOrBuilder
public EvaluateRequest.Builder setProposedTransaction(SignedProposal value)
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
public EvaluateRequest.Builder setProposedTransaction(SignedProposal.Builder builderForValue)
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
public EvaluateRequest.Builder mergeProposedTransaction(SignedProposal value)
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
public EvaluateRequest.Builder clearProposedTransaction()
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
public SignedProposal.Builder getProposedTransactionBuilder()
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
public SignedProposalOrBuilder getProposedTransactionOrBuilder()
The signed proposal ready for evaluation.
.protos.SignedProposal proposed_transaction = 3 [json_name = "proposedTransaction"];
getProposedTransactionOrBuilder
in interface EvaluateRequestOrBuilder
public com.google.protobuf.ProtocolStringList getTargetOrganizationsList()
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
getTargetOrganizationsList
in interface EvaluateRequestOrBuilder
public int getTargetOrganizationsCount()
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
getTargetOrganizationsCount
in interface EvaluateRequestOrBuilder
public String getTargetOrganizations(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 target_organizations = 4 [json_name = "targetOrganizations"];
getTargetOrganizations
in interface EvaluateRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getTargetOrganizationsBytes(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 target_organizations = 4 [json_name = "targetOrganizations"];
getTargetOrganizationsBytes
in interface EvaluateRequestOrBuilder
index
- The index of the value to return.public EvaluateRequest.Builder setTargetOrganizations(int index, String value)
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
index
- The index to set the value at.value
- The targetOrganizations to set.public EvaluateRequest.Builder addTargetOrganizations(String value)
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
value
- The targetOrganizations to add.public EvaluateRequest.Builder addAllTargetOrganizations(Iterable<String> values)
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
values
- The targetOrganizations to add.public EvaluateRequest.Builder clearTargetOrganizations()
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
public EvaluateRequest.Builder addTargetOrganizationsBytes(com.google.protobuf.ByteString value)
If targeting the peers of specific organizations (e.g. for private data scenarios), the list of organizations' MSPIDs should be supplied here.
repeated string target_organizations = 4 [json_name = "targetOrganizations"];
value
- The bytes of the targetOrganizations to add.public final EvaluateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
public final EvaluateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluateRequest.Builder>
Copyright © 2022. All rights reserved.