public static final class XchainOuterClass.InvokeRequest extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.InvokeRequest,XchainOuterClass.InvokeRequest.Builder> implements XchainOuterClass.InvokeRequestOrBuilder
预执行的请求结构
Protobuf type pb.InvokeRequest
| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.InvokeRequest.Builder
预执行的请求结构
Protobuf type
pb.InvokeRequest |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AMOUNT_FIELD_NUMBER |
static int |
ARGS_FIELD_NUMBER |
static int |
CONTRACT_NAME_FIELD_NUMBER |
static int |
METHOD_NAME_FIELD_NUMBER |
static int |
MODULE_NAME_FIELD_NUMBER |
static int |
RESOURCE_LIMITS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsArgs(String key)
map<string, bytes> args = 4; |
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
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; |
static XchainOuterClass.InvokeRequest |
getDefaultInstance() |
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.ResourceLimitOrBuilder |
getResourceLimitsOrBuilder(int index)
repeated .pb.ResourceLimit resource_limits = 5; |
List<? extends XchainOuterClass.ResourceLimitOrBuilder> |
getResourceLimitsOrBuilderList()
repeated .pb.ResourceLimit resource_limits = 5; |
int |
getSerializedSize() |
static XchainOuterClass.InvokeRequest.Builder |
newBuilder() |
static XchainOuterClass.InvokeRequest.Builder |
newBuilder(XchainOuterClass.InvokeRequest prototype) |
static XchainOuterClass.InvokeRequest |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.InvokeRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.InvokeRequest |
parseFrom(byte[] data) |
static XchainOuterClass.InvokeRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.InvokeRequest |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.InvokeRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.InvokeRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.InvokeRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.InvokeRequest |
parseFrom(InputStream input) |
static XchainOuterClass.InvokeRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.InvokeRequest> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringpublic static final int MODULE_NAME_FIELD_NUMBER
public static final int CONTRACT_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int RESOURCE_LIMITS_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public String getModuleName()
optional string module_name = 1;public com.google.protobuf.ByteString getModuleNameBytes()
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 String getMethodName()
optional string method_name = 3;public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;public int getArgsCount()
XchainOuterClass.InvokeRequestOrBuildermap<string, bytes> args = 4;public boolean containsArgs(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 List<XchainOuterClass.ResourceLimit> getResourceLimitsList()
repeated .pb.ResourceLimit resource_limits = 5;public List<? extends XchainOuterClass.ResourceLimitOrBuilder> getResourceLimitsOrBuilderList()
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.ResourceLimitOrBuilder getResourceLimitsOrBuilder(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 void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.InvokeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.InvokeRequest.Builder newBuilder()
public static XchainOuterClass.InvokeRequest.Builder newBuilder(XchainOuterClass.InvokeRequest prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.InvokeRequest,XchainOuterClass.InvokeRequest.Builder>public static XchainOuterClass.InvokeRequest getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.InvokeRequest> parser()
Copyright © 2020. All rights reserved.