public static final class XchainOuterClass.InvokeRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<XchainOuterClass.InvokeRequest,XchainOuterClass.InvokeRequest.Builder> implements XchainOuterClass.InvokeRequestOrBuilder
预执行的请求结构
Protobuf type pb.InvokeRequest
| 限定符和类型 | 方法和说明 |
|---|---|
XchainOuterClass.InvokeRequest.Builder |
addAllResourceLimits(Iterable<? extends XchainOuterClass.ResourceLimit> values)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
addResourceLimits(int index,
XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
addResourceLimits(int index,
XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
addResourceLimits(XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
addResourceLimits(XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
clearAmount()
amount is the amount transfer to the contract
attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6; |
XchainOuterClass.InvokeRequest.Builder |
clearArgs() |
XchainOuterClass.InvokeRequest.Builder |
clearContractName()
optional string contract_name = 2; |
XchainOuterClass.InvokeRequest.Builder |
clearMethodName()
optional string method_name = 3; |
XchainOuterClass.InvokeRequest.Builder |
clearModuleName()
optional string module_name = 1; |
XchainOuterClass.InvokeRequest.Builder |
clearResourceLimits()
repeated .pb.ResourceLimit resource_limits = 5; |
boolean |
containsArgs(String key)
map<string, bytes> args = 4; |
String |
getAmount()
amount is the amount transfer to the contract
attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6; |
com.google.protobuf.ByteString |
getAmountBytes()
amount is the amount transfer to the contract
attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6; |
Map<String,com.google.protobuf.ByteString> |
getArgs()
已过时。
|
int |
getArgsCount()
map<string, bytes> args = 4; |
Map<String,com.google.protobuf.ByteString> |
getArgsMap()
map<string, bytes> args = 4; |
com.google.protobuf.ByteString |
getArgsOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
map<string, bytes> args = 4; |
com.google.protobuf.ByteString |
getArgsOrThrow(String key)
map<string, bytes> args = 4; |
String |
getContractName()
optional string contract_name = 2; |
com.google.protobuf.ByteString |
getContractNameBytes()
optional string contract_name = 2; |
String |
getMethodName()
optional string method_name = 3; |
com.google.protobuf.ByteString |
getMethodNameBytes()
optional string method_name = 3; |
String |
getModuleName()
optional string module_name = 1; |
com.google.protobuf.ByteString |
getModuleNameBytes()
optional string module_name = 1; |
XchainOuterClass.ResourceLimit |
getResourceLimits(int index)
repeated .pb.ResourceLimit resource_limits = 5; |
int |
getResourceLimitsCount()
repeated .pb.ResourceLimit resource_limits = 5; |
List<XchainOuterClass.ResourceLimit> |
getResourceLimitsList()
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
putAllArgs(Map<String,com.google.protobuf.ByteString> values)
map<string, bytes> args = 4; |
XchainOuterClass.InvokeRequest.Builder |
putArgs(String key,
com.google.protobuf.ByteString value)
map<string, bytes> args = 4; |
XchainOuterClass.InvokeRequest.Builder |
removeArgs(String key)
map<string, bytes> args = 4; |
XchainOuterClass.InvokeRequest.Builder |
removeResourceLimits(int index)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
setAmount(String value)
amount is the amount transfer to the contract
attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6; |
XchainOuterClass.InvokeRequest.Builder |
setAmountBytes(com.google.protobuf.ByteString value)
amount is the amount transfer to the contract
attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6; |
XchainOuterClass.InvokeRequest.Builder |
setContractName(String value)
optional string contract_name = 2; |
XchainOuterClass.InvokeRequest.Builder |
setContractNameBytes(com.google.protobuf.ByteString value)
optional string contract_name = 2; |
XchainOuterClass.InvokeRequest.Builder |
setMethodName(String value)
optional string method_name = 3; |
XchainOuterClass.InvokeRequest.Builder |
setMethodNameBytes(com.google.protobuf.ByteString value)
optional string method_name = 3; |
XchainOuterClass.InvokeRequest.Builder |
setModuleName(String value)
optional string module_name = 1; |
XchainOuterClass.InvokeRequest.Builder |
setModuleNameBytes(com.google.protobuf.ByteString value)
optional string module_name = 1; |
XchainOuterClass.InvokeRequest.Builder |
setResourceLimits(int index,
XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5; |
XchainOuterClass.InvokeRequest.Builder |
setResourceLimits(int index,
XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic String getModuleName()
optional string module_name = 1;public com.google.protobuf.ByteString getModuleNameBytes()
optional string module_name = 1;public XchainOuterClass.InvokeRequest.Builder setModuleName(String value)
optional string module_name = 1;public XchainOuterClass.InvokeRequest.Builder clearModuleName()
optional string module_name = 1;public XchainOuterClass.InvokeRequest.Builder setModuleNameBytes(com.google.protobuf.ByteString value)
optional string module_name = 1;public String getContractName()
optional string contract_name = 2;public com.google.protobuf.ByteString getContractNameBytes()
optional string contract_name = 2;public XchainOuterClass.InvokeRequest.Builder setContractName(String value)
optional string contract_name = 2;public XchainOuterClass.InvokeRequest.Builder clearContractName()
optional string contract_name = 2;public XchainOuterClass.InvokeRequest.Builder setContractNameBytes(com.google.protobuf.ByteString value)
optional string contract_name = 2;public String getMethodName()
optional string method_name = 3;public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;public XchainOuterClass.InvokeRequest.Builder setMethodName(String value)
optional string method_name = 3;public XchainOuterClass.InvokeRequest.Builder clearMethodName()
optional string method_name = 3;public XchainOuterClass.InvokeRequest.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
optional string method_name = 3;public int getArgsCount()
XchainOuterClass.InvokeRequestOrBuildermap<string, bytes> args = 4;public boolean containsArgs(String key)
map<string, bytes> args = 4;public XchainOuterClass.InvokeRequest.Builder clearArgs()
public XchainOuterClass.InvokeRequest.Builder removeArgs(String key)
map<string, bytes> args = 4;@Deprecated public Map<String,com.google.protobuf.ByteString> getArgs()
getArgsMap() instead.public Map<String,com.google.protobuf.ByteString> getArgsMap()
map<string, bytes> args = 4;public com.google.protobuf.ByteString getArgsOrDefault(String key, com.google.protobuf.ByteString defaultValue)
map<string, bytes> args = 4;public com.google.protobuf.ByteString getArgsOrThrow(String key)
map<string, bytes> args = 4;public XchainOuterClass.InvokeRequest.Builder putArgs(String key, com.google.protobuf.ByteString value)
map<string, bytes> args = 4;public XchainOuterClass.InvokeRequest.Builder putAllArgs(Map<String,com.google.protobuf.ByteString> values)
map<string, bytes> args = 4;public List<XchainOuterClass.ResourceLimit> getResourceLimitsList()
repeated .pb.ResourceLimit resource_limits = 5;public int getResourceLimitsCount()
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.ResourceLimit getResourceLimits(int index)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder setResourceLimits(int index, XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder setResourceLimits(int index, XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder addResourceLimits(XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder addResourceLimits(int index, XchainOuterClass.ResourceLimit value)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder addResourceLimits(XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder addResourceLimits(int index, XchainOuterClass.ResourceLimit.Builder builderForValue)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder addAllResourceLimits(Iterable<? extends XchainOuterClass.ResourceLimit> values)
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder clearResourceLimits()
repeated .pb.ResourceLimit resource_limits = 5;public XchainOuterClass.InvokeRequest.Builder removeResourceLimits(int index)
repeated .pb.ResourceLimit resource_limits = 5;public String getAmount()
amount is the amount transfer to the contract attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6;public com.google.protobuf.ByteString getAmountBytes()
amount is the amount transfer to the contract attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6;public XchainOuterClass.InvokeRequest.Builder setAmount(String value)
amount is the amount transfer to the contract attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6;public XchainOuterClass.InvokeRequest.Builder clearAmount()
amount is the amount transfer to the contract attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6;public XchainOuterClass.InvokeRequest.Builder setAmountBytes(com.google.protobuf.ByteString value)
amount is the amount transfer to the contract attention: In one transaction, transfer to only one contract is allowed
optional string amount = 6;Copyright © 2020. All rights reserved.