Interface CommonProto.ContractOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommonProto.Contract, CommonProto.Contract.Builder
Enclosing class:
CommonProto

public static interface CommonProto.ContractOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    合约方法参数
    com.google.protobuf.ByteString
    合约内容(可为合约文件相对路径/合约脚本)
    com.google.protobuf.ByteString
    合约名称
    com.google.protobuf.ByteString
    合约方法
    com.google.protobuf.ByteString
    合约文件路径(合约在IDE工程的相对路径)
    com.google.protobuf.ByteString
    用户公钥
    int
    合约执行的节点数量

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContractName

      com.google.protobuf.ByteString getContractName()
      合约名称
       
      bytes contractName = 1;
      Returns:
      The contractName.
    • getRandomNum

      int getRandomNum()
      合约执行的节点数量
       
      uint32 randomNum = 2;
      Returns:
      The randomNum.
    • getOperation

      com.google.protobuf.ByteString getOperation()
      合约方法
       
      bytes operation = 3;
      Returns:
      The operation.
    • getArg

      com.google.protobuf.ByteString getArg()
      合约方法参数
       
      bytes arg = 4;
      Returns:
      The arg.
    • getPath

      com.google.protobuf.ByteString getPath()
      合约文件路径(合约在IDE工程的相对路径)
       
      bytes path = 5;
      Returns:
      The path.
    • getContent

      com.google.protobuf.ByteString getContent()
      合约内容(可为合约文件相对路径/合约脚本)
       
      bytes content = 6;
      Returns:
      The content.
    • getPubkey

      com.google.protobuf.ByteString getPubkey()
      用户公钥
       
      bytes pubkey = 7;
      Returns:
      The pubkey.