public static final class DescriptorProtos.EnumValueDescriptorProto extends GeneratedMessage implements DescriptorProtos.EnumValueDescriptorProtoOrBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.EnumValueDescriptorProto.Builder |
GeneratedMessage.BuilderParent, GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
alwaysUseFieldBuildersgetAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasFieldtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static DescriptorProtos.EnumValueDescriptorProto getDefaultInstance()
public DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageinternalGetFieldAccessorTable in class GeneratedMessagepublic boolean hasName()
hasName in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic String getName()
getName in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic boolean hasNumber()
hasNumber in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic int getNumber()
getNumber in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic boolean hasOptions()
hasOptions in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic DescriptorProtos.EnumValueOptions getOptions()
getOptions in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()
getOptionsOrBuilder in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessagepublic void writeTo(CodedOutputStream output) throws IOException
MessageLiteoutput. This does not
flush or close the stream.writeTo in interface MessageLitewriteTo in class AbstractMessageIOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessageprotected Object writeReplace() throws ObjectStreamException
GeneratedMessagereturn super.writeReplace();writeReplace in class GeneratedMessageObjectStreamExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto.Builder newBuilder()
public DescriptorProtos.EnumValueDescriptorProto.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.EnumValueDescriptorProto.Builder newBuilder(DescriptorProtos.EnumValueDescriptorProto prototype)
public DescriptorProtos.EnumValueDescriptorProto.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.EnumValueDescriptorProto.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessageCopyright © 2008–2013 Google. All rights reserved.