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