public static enum Aim.Mold extends Enum<Aim.Mold> implements com.google.protobuf.ProtocolMessageEnum
消息类型Protobuf enum
xin.alum.aim.model.Mold| 枚举常量和说明 |
|---|
Audio
Audio = 5; |
Command
Command = 2; |
Emote
Emote = 1; |
File
File = 6; |
Image
Image = 3; |
Other
Other = 7; |
Txt
Txt = 0; |
UNRECOGNIZED |
Video
Video = 4; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
Audio_VALUE
Audio = 5; |
static int |
Command_VALUE
Command = 2; |
static int |
Emote_VALUE
Emote = 1; |
static int |
File_VALUE
File = 6; |
static int |
Image_VALUE
Image = 3; |
static int |
Other_VALUE
Other = 7; |
static int |
Txt_VALUE
Txt = 0; |
static int |
Video_VALUE
Video = 4; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Aim.Mold |
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<Aim.Mold> |
internalGetValueMap() |
static Aim.Mold |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Aim.Mold |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Aim.Mold |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Aim.Mold[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Aim.Mold Txt
Txt = 0;public static final Aim.Mold Emote
Emote = 1;public static final Aim.Mold Command
Command = 2;public static final Aim.Mold Image
Image = 3;public static final Aim.Mold Video
Video = 4;public static final Aim.Mold Audio
Audio = 5;public static final Aim.Mold File
File = 6;public static final Aim.Mold Other
Other = 7;public static final Aim.Mold UNRECOGNIZED
public static final int Txt_VALUE
Txt = 0;public static final int Emote_VALUE
Emote = 1;public static final int Command_VALUE
Command = 2;public static final int Image_VALUE
Image = 3;public static final int Video_VALUE
Video = 4;public static final int Audio_VALUE
Audio = 5;public static final int File_VALUE
File = 6;public static final int Other_VALUE
Other = 7;public static Aim.Mold[] values()
for (Aim.Mold c : Aim.Mold.values()) System.out.println(c);
public static Aim.Mold valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static Aim.Mold valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Aim.Mold forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Aim.Mold> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Aim.Mold valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020–2023 The Aim Project. All rights reserved.