|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto
public static final class DescriptorProtos.EnumValueDescriptorProto
Protobuf type google.protobuf.EnumValueDescriptorProto
Describes a value within an enum.
| Nested Class Summary | |
|---|---|
static class |
DescriptorProtos.EnumValueDescriptorProto.Builder
Protobuf type google.protobuf.EnumValueDescriptorProto |
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
|---|
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> |
| Field Summary | |
|---|---|
static int |
NAME_FIELD_NUMBER
|
static int |
NUMBER_FIELD_NUMBER
|
static int |
OPTIONS_FIELD_NUMBER
|
static Parser<DescriptorProtos.EnumValueDescriptorProto> |
PARSER
|
| Fields inherited from class com.google.protobuf.GeneratedMessage |
|---|
alwaysUseFieldBuilders |
| Fields inherited from class com.google.protobuf.AbstractMessageLite |
|---|
memoizedHashCode |
| Methods inherited from class com.google.protobuf.GeneratedMessage |
|---|
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessage |
|---|
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
|---|
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
|---|
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof |
| Methods inherited from interface com.google.protobuf.MessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Field Detail |
|---|
public static Parser<DescriptorProtos.EnumValueDescriptorProto> PARSER
public static final int NAME_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
| Method Detail |
|---|
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 final UnknownFieldSet getUnknownFields()
MessageOrBuilderUnknownFieldSet for this message.
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessagepublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable in class GeneratedMessagepublic Parser<DescriptorProtos.EnumValueDescriptorProto> getParserForType()
MessageLite
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic boolean hasName()
optional string name = 1;
hasName in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic java.lang.String getName()
optional string name = 1;
getName in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic ByteString getNameBytes()
optional string name = 1;
getNameBytes in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic boolean hasNumber()
optional int32 number = 2;
hasNumber in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic int getNumber()
optional int32 number = 2;
getNumber in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic boolean hasOptions()
optional .google.protobuf.EnumValueOptions options = 3;
hasOptions in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic DescriptorProtos.EnumValueOptions getOptions()
optional .google.protobuf.EnumValueOptions options = 3;
getOptions in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumValueOptions options = 3;
getOptionsOrBuilder in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderSee also: MessageOrBuilder.getInitializationErrorString()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessage
public void writeTo(CodedOutputStream output)
throws java.io.IOException
MessageLiteoutput. This does not
flush or close the stream.
writeTo in interface MessageLitewriteTo in class AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
MessageLite
getSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessage
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
GeneratedMessagereturn super.writeReplace();
writeReplace in class GeneratedMessagejava.io.ObjectStreamException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(ByteString data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(CodedInputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.EnumValueDescriptorProto parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.EnumValueDescriptorProto.Builder newBuilder()
public DescriptorProtos.EnumValueDescriptorProto.Builder newBuilderForType()
MessageLite
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.EnumValueDescriptorProto.Builder newBuilder(DescriptorProtos.EnumValueDescriptorProto prototype)
public DescriptorProtos.EnumValueDescriptorProto.Builder toBuilder()
MessageLite
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.EnumValueDescriptorProto.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessage
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||