|
||||||||
| 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.OneofDescriptorProto
public static final class DescriptorProtos.OneofDescriptorProto
Protobuf type google.protobuf.OneofDescriptorProto
Describes a oneof.
| Nested Class Summary | |
|---|---|
static class |
DescriptorProtos.OneofDescriptorProto.Builder
Protobuf type google.protobuf.OneofDescriptorProto |
| 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 Parser<DescriptorProtos.OneofDescriptorProto> |
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.OneofDescriptorProto> PARSER
public static final int NAME_FIELD_NUMBER
| Method Detail |
|---|
public static DescriptorProtos.OneofDescriptorProto getDefaultInstance()
public DescriptorProtos.OneofDescriptorProto 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.OneofDescriptorProto> getParserForType()
MessageLite
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic boolean hasName()
optional string name = 1;
hasName in interface DescriptorProtos.OneofDescriptorProtoOrBuilderpublic java.lang.String getName()
optional string name = 1;
getName in interface DescriptorProtos.OneofDescriptorProtoOrBuilderpublic ByteString getNameBytes()
optional string name = 1;
getNameBytes in interface DescriptorProtos.OneofDescriptorProtoOrBuilderpublic 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.OneofDescriptorProto parseFrom(ByteString data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.OneofDescriptorProto parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.OneofDescriptorProto parseFrom(byte[] data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.OneofDescriptorProto parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.OneofDescriptorProto parseFrom(CodedInputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.OneofDescriptorProto parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.OneofDescriptorProto.Builder newBuilder()
public DescriptorProtos.OneofDescriptorProto.Builder newBuilderForType()
MessageLite
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.OneofDescriptorProto.Builder newBuilder(DescriptorProtos.OneofDescriptorProto prototype)
public DescriptorProtos.OneofDescriptorProto.Builder toBuilder()
MessageLite
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.OneofDescriptorProto.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 | |||||||