public static final class DescriptorProtos.MessageOptions extends GeneratedMessage.ExtendableMessage<DescriptorProtos.MessageOptions>
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.MessageOptions.Builder |
GeneratedMessage.ExtendableMessage.ExtensionWriter
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER |
static int |
NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER |
static int |
UNINTERPRETED_OPTION_FIELD_NUMBER |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionWriter, newMessageSetExtensionWriter
getDescriptorForType, getUnknownFields, newGeneratedExtension
equals, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER
public static final int NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
public static DescriptorProtos.MessageOptions getDefaultInstance()
public DescriptorProtos.MessageOptions getDefaultInstanceForType()
MessageLite
getDefaultInstance()
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.public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable
in class GeneratedMessage
public boolean hasMessageSetWireFormat()
public boolean getMessageSetWireFormat()
public boolean hasNoStandardDescriptorAccessor()
public boolean getNoStandardDescriptorAccessor()
public List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
public int getUninterpretedOptionCount()
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
public final boolean isInitialized()
MessageLite
isInitialized
in interface MessageLite
isInitialized
in class GeneratedMessage.ExtendableMessage<DescriptorProtos.MessageOptions>
public void writeTo(CodedOutputStream output) throws IOException
MessageLite
output
. This does not
flush or close the stream.writeTo
in interface MessageLite
writeTo
in class AbstractMessage
IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class AbstractMessage
public static DescriptorProtos.MessageOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MessageOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MessageOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MessageOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MessageOptions parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MessageOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MessageOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MessageOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MessageOptions parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.MessageOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MessageOptions.Builder newBuilder()
public DescriptorProtos.MessageOptions.Builder newBuilderForType()
MessageLite
public static DescriptorProtos.MessageOptions.Builder newBuilder(DescriptorProtos.MessageOptions prototype)
public DescriptorProtos.MessageOptions.Builder toBuilder()
MessageLite
Copyright © 2008-2012. All Rights Reserved.