com.aliyun.openservices.ots.protocol
枚举 OtsProtocol2.OperationType

java.lang.Object
  继承者 java.lang.Enum<OtsProtocol2.OperationType>
      继承者 com.aliyun.openservices.ots.protocol.OtsProtocol2.OperationType
所有已实现的接口:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OtsProtocol2.OperationType>
包容类:
OtsProtocol2

public static enum OtsProtocol2.OperationType
extends Enum<OtsProtocol2.OperationType>
implements com.google.protobuf.ProtocolMessageEnum


枚举常量摘要
DELETE
           
PUT
           
 
字段摘要
static int DELETE_VALUE
           
static int PUT_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<OtsProtocol2.OperationType> internalGetValueMap()
           
static OtsProtocol2.OperationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static OtsProtocol2.OperationType valueOf(int value)
           
static OtsProtocol2.OperationType valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static OtsProtocol2.OperationType[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

PUT

public static final OtsProtocol2.OperationType PUT

DELETE

public static final OtsProtocol2.OperationType DELETE
字段详细信息

PUT_VALUE

public static final int PUT_VALUE
另请参见:
常量字段值

DELETE_VALUE

public static final int DELETE_VALUE
另请参见:
常量字段值
方法详细信息

values

public static OtsProtocol2.OperationType[] values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
for (OtsProtocol2.OperationType c : OtsProtocol2.OperationType.values())
    System.out.println(c);


valueOf

public static OtsProtocol2.OperationType valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格。)

参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException

getNumber

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

valueOf

public static OtsProtocol2.OperationType valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<OtsProtocol2.OperationType> internalGetValueMap()

getValueDescriptor

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

getDescriptorForType

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

getDescriptor

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

valueOf

public static OtsProtocol2.OperationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014. All Rights Reserved.