程序包 org.bdware.bdledger.api.grpc.pb

# Enum Class CommonProto.Contract.ContractUnitRequestType

java.lang.Object
java.lang.Enum<CommonProto.Contract.ContractUnitRequestType>
org.bdware.bdledger.api.grpc.pb.CommonProto.Contract.ContractUnitRequestType

所有已实现的接口:
  `com.google.protobuf.Internal.EnumLite`, `com.google.protobuf.ProtocolMessageEnum`, `Serializable`, `Comparable<CommonProto.Contract.ContractUnitRequestType>`, `Constable`

封闭类:
  CommonProto.Contract

public static enum CommonProto.Contract.ContractUnitRequestType extends Enum<CommonProto.Contract.ContractUnitRequestType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum `bdware.bdledger.api.Contract.ContractUnitRequestType`

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## 枚举常量概要

  枚举常量
  枚举常量
  说明
  `ADDPEER`
  `ADDPEER = 8;`
  `COMMIT`
  `COMMIT = 7;`
  `DROPPEER`
  `DROPPEER = 9;`
  `EXECUTE`
  `EXECUTE = 2;`
  `PREPARE`
  `PREPARE = 6;`
  `PREPREPARE`
  `PREPREPARE = 5;`
  `REPLY`
  `REPLY = 3;`
  `REQUEST`
  `REQUEST = 4;`
  `START`
  `START = 0;`
  `STATESYNC`
  `STATESYNC = 10;`
  `STOP`
  `STOP = 1;`
  `UNRECOGNIZED`

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `static int`
  `ADDPEER_VALUE`
  `ADDPEER = 8;`
  `static int`
  `COMMIT_VALUE`
  `COMMIT = 7;`
  `static int`
  `DROPPEER_VALUE`
  `DROPPEER = 9;`
  `static int`
  `EXECUTE_VALUE`
  `EXECUTE = 2;`
  `static int`
  `PREPARE_VALUE`
  `PREPARE = 6;`
  `static int`
  `PREPREPARE_VALUE`
  `PREPREPARE = 5;`
  `static int`
  `REPLY_VALUE`
  `REPLY = 3;`
  `static int`
  `REQUEST_VALUE`
  `REQUEST = 4;`
  `static int`
  `START_VALUE`
  `START = 0;`
  `static int`
  `STATESYNC_VALUE`
  `STATESYNC = 10;`
  `static int`
  `STOP_VALUE`
  `STOP = 1;`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static CommonProto.Contract.ContractUnitRequestType`
  `forNumber​(int value)`
  `static com.google.protobuf.Descriptors.EnumDescriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.EnumDescriptor`
  `getDescriptorForType()`
  `int`
  `getNumber()`
  `com.google.protobuf.Descriptors.EnumValueDescriptor`
  `getValueDescriptor()`
  `static com.google.protobuf.Internal.EnumLiteMap<CommonProto.Contract.ContractUnitRequestType>`
  `internalGetValueMap()`
  `static CommonProto.Contract.ContractUnitRequestType`
  `valueOf​(int value)`
  已过时。
  `static CommonProto.Contract.ContractUnitRequestType`
  `valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)`
  Returns the enum constant of this class with the specified name.
  `static CommonProto.Contract.ContractUnitRequestType`
  `valueOf​(String name)`
  Returns the enum constant of this class with the specified name.
  `static CommonProto.Contract.ContractUnitRequestType[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### 从类继承的方法 java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### 从类继承的方法 java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 枚举常量详细资料

  - ### START

    public static final CommonProto.Contract.ContractUnitRequestType START
    `START = 0;`

  - ### STOP

    public static final CommonProto.Contract.ContractUnitRequestType STOP
    `STOP = 1;`

  - ### EXECUTE

    public static final CommonProto.Contract.ContractUnitRequestType EXECUTE
    `EXECUTE = 2;`

  - ### REPLY

    public static final CommonProto.Contract.ContractUnitRequestType REPLY
    `REPLY = 3;`

  - ### REQUEST

    public static final CommonProto.Contract.ContractUnitRequestType REQUEST
    `REQUEST = 4;`

  - ### PREPREPARE

    public static final CommonProto.Contract.ContractUnitRequestType PREPREPARE
    `PREPREPARE = 5;`

  - ### PREPARE

    public static final CommonProto.Contract.ContractUnitRequestType PREPARE
    `PREPARE = 6;`

  - ### COMMIT

    public static final CommonProto.Contract.ContractUnitRequestType COMMIT
    `COMMIT = 7;`

  - ### ADDPEER

    public static final CommonProto.Contract.ContractUnitRequestType ADDPEER
    `ADDPEER = 8;`

  - ### DROPPEER

    public static final CommonProto.Contract.ContractUnitRequestType DROPPEER
    `DROPPEER = 9;`

  - ### STATESYNC

    public static final CommonProto.Contract.ContractUnitRequestType STATESYNC
    `STATESYNC = 10;`

  - ### UNRECOGNIZED

    public static final CommonProto.Contract.ContractUnitRequestType UNRECOGNIZED

- ## 字段详细资料

  - ### START_VALUE

    public static final int START_VALUE
    `START = 0;`
    另请参阅:
      常量字段值

  - ### STOP_VALUE

    public static final int STOP_VALUE
    `STOP = 1;`
    另请参阅:
      常量字段值

  - ### EXECUTE_VALUE

    public static final int EXECUTE_VALUE
    `EXECUTE = 2;`
    另请参阅:
      常量字段值

  - ### REPLY_VALUE

    public static final int REPLY_VALUE
    `REPLY = 3;`
    另请参阅:
      常量字段值

  - ### REQUEST_VALUE

    public static final int REQUEST_VALUE
    `REQUEST = 4;`
    另请参阅:
      常量字段值

  - ### PREPREPARE_VALUE

    public static final int PREPREPARE_VALUE
    `PREPREPARE = 5;`
    另请参阅:
      常量字段值

  - ### PREPARE_VALUE

    public static final int PREPARE_VALUE
    `PREPARE = 6;`
    另请参阅:
      常量字段值

  - ### COMMIT_VALUE

    public static final int COMMIT_VALUE
    `COMMIT = 7;`
    另请参阅:
      常量字段值

  - ### ADDPEER_VALUE

    public static final int ADDPEER_VALUE
    `ADDPEER = 8;`
    另请参阅:
      常量字段值

  - ### DROPPEER_VALUE

    public static final int DROPPEER_VALUE
    `DROPPEER = 9;`
    另请参阅:
      常量字段值

  - ### STATESYNC_VALUE

    public static final int STATESYNC_VALUE
    `STATESYNC = 10;`
    另请参阅:
      常量字段值

- ## 方法详细资料

  - ### values

    public static CommonProto.Contract.ContractUnitRequestType[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    返回:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static CommonProto.Contract.ContractUnitRequestType valueOf​(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
    参数:
      `name` - 要返回的枚举常量的名称。
    返回:
      返回带有指定名称的枚举常量
    抛出:
      `IllegalArgumentException` - if this enum class has no constant with the specified name
      `NullPointerException` - 如果参数为空值

  - ### getNumber

    public final int getNumber()
    指定者:
      `getNumber` 在接口中 `com.google.protobuf.Internal.EnumLite`
    指定者:
      `getNumber` 在接口中 `com.google.protobuf.ProtocolMessageEnum`

  - ### valueOf

    @Deprecated public static CommonProto.Contract.ContractUnitRequestType valueOf​(int value)
    已过时。
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
    参数:
      `value` - 要返回的枚举常量的名称。
    返回:
      返回带有指定名称的枚举常量
    抛出:
      `IllegalArgumentException` - if this enum class has no constant with the specified name
      `NullPointerException` - 如果参数为空值

  - ### forNumber

    public static CommonProto.Contract.ContractUnitRequestType forNumber​(int value)
    参数:
      `value` - The numeric wire value of the corresponding enum entry.
    返回:
      The enum associated with the given numeric wire value.

  - ### internalGetValueMap

    public static com.google.protobuf.Internal.EnumLiteMap<CommonProto.Contract.ContractUnitRequestType> internalGetValueMap()

  - ### getValueDescriptor

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
    指定者:
      `getValueDescriptor` 在接口中 `com.google.protobuf.ProtocolMessageEnum`

  - ### getDescriptorForType

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.ProtocolMessageEnum`

  - ### getDescriptor

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

  - ### valueOf

    public static CommonProto.Contract.ContractUnitRequestType valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
    参数:
      `desc` - 要返回的枚举常量的名称。
    返回:
      返回带有指定名称的枚举常量
    抛出:
      `IllegalArgumentException` - if this enum class has no constant with the specified name
      `NullPointerException` - 如果参数为空值