public static final class DescriptorProtos.UninterpretedOption.NamePart extends GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.UninterpretedOption.NamePart.Builder |
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 |
IS_EXTENSION_FIELD_NUMBER |
static int |
NAME_PART_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension
equals, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_PART_FIELD_NUMBER
public static final int IS_EXTENSION_FIELD_NUMBER
public static DescriptorProtos.UninterpretedOption.NamePart getDefaultInstance()
public DescriptorProtos.UninterpretedOption.NamePart 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 hasNamePart()
public String getNamePart()
public boolean hasIsExtension()
public boolean getIsExtension()
public final boolean isInitialized()
MessageLite
isInitialized
in interface MessageLite
isInitialized
in class GeneratedMessage
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.UninterpretedOption.NamePart parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption.NamePart.Builder newBuilder()
public DescriptorProtos.UninterpretedOption.NamePart.Builder newBuilderForType()
MessageLite
public static DescriptorProtos.UninterpretedOption.NamePart.Builder newBuilder(DescriptorProtos.UninterpretedOption.NamePart prototype)
public DescriptorProtos.UninterpretedOption.NamePart.Builder toBuilder()
MessageLite
Copyright © 2008-2012. All Rights Reserved.