接口 CommonProto.ContractOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- 封闭类:
- CommonProto
public static interface CommonProto.ContractOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getContractName
com.google.protobuf.ByteString getContractName()合约名称
bytes contractName = 1;
- 返回:
- The contractName.
-
getRandomNum
int getRandomNum()合约执行的节点数量
uint32 randomNum = 2;
- 返回:
- The randomNum.
-
getOperation
com.google.protobuf.ByteString getOperation()合约方法
bytes operation = 3;
- 返回:
- The operation.
-
getArg
com.google.protobuf.ByteString getArg()合约方法参数
bytes arg = 4;
- 返回:
- The arg.
-
getPath
com.google.protobuf.ByteString getPath()合约文件路径(合约在IDE工程的相对路径)
bytes path = 5;
- 返回:
- The path.
-
getContent
com.google.protobuf.ByteString getContent()合约内容(可为合约文件相对路径/合约脚本)
bytes content = 6;
- 返回:
- The content.
-
getPubkey
com.google.protobuf.ByteString getPubkey()用户公钥
bytes pubkey = 7;
- 返回:
- The pubkey.
-