com.google.protobuf
Enum DescriptorProtos.FieldDescriptorProto.Type
java.lang.Object
java.lang.Enum<DescriptorProtos.FieldDescriptorProto.Type>
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DescriptorProtos.FieldDescriptorProto.Type>
- Enclosing class:
- DescriptorProtos.FieldDescriptorProto
public static enum DescriptorProtos.FieldDescriptorProto.Type
- extends java.lang.Enum<DescriptorProtos.FieldDescriptorProto.Type>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TYPE_DOUBLE
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_DOUBLE
TYPE_FLOAT
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_FLOAT
TYPE_INT64
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_INT64
TYPE_UINT64
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_UINT64
TYPE_INT32
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_INT32
TYPE_FIXED64
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_FIXED64
TYPE_FIXED32
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_FIXED32
TYPE_BOOL
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_BOOL
TYPE_STRING
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_STRING
TYPE_GROUP
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_GROUP
TYPE_MESSAGE
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_MESSAGE
TYPE_BYTES
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_BYTES
TYPE_UINT32
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_UINT32
TYPE_ENUM
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_ENUM
TYPE_SFIXED32
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_SFIXED32
TYPE_SFIXED64
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_SFIXED64
TYPE_SINT32
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_SINT32
TYPE_SINT64
public static final DescriptorProtos.FieldDescriptorProto.Type TYPE_SINT64
values
public static DescriptorProtos.FieldDescriptorProto.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DescriptorProtos.FieldDescriptorProto.Type c : DescriptorProtos.FieldDescriptorProto.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DescriptorProtos.FieldDescriptorProto.Type valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getNumber
public final int getNumber()
valueOf
public static DescriptorProtos.FieldDescriptorProto.Type valueOf(int value)
getValueDescriptor
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getDescriptorForType
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptor
public static final Descriptors.EnumDescriptor getDescriptor()
valueOf
public static DescriptorProtos.FieldDescriptorProto.Type valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2008 null. All Rights Reserved.