public static final class DescriptorProtos.MethodOptions extends GeneratedMessage.ExtendableMessage<DescriptorProtos.MethodOptions> implements DescriptorProtos.MethodOptionsOrBuilder
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.MethodOptions.Builder |
GeneratedMessage.ExtendableMessage.ExtensionWriter
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 |
UNINTERPRETED_OPTION_FIELD_NUMBER |
alwaysUseFieldBuilders
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionWriter, newMessageSetExtensionWriter
getDescriptorForType, getUnknownFields, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
public static DescriptorProtos.MethodOptions getDefaultInstance()
public DescriptorProtos.MethodOptions getDefaultInstanceForType()
MessageLiteOrBuilder
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.getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable
in class GeneratedMessage
public List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
getUninterpretedOptionList
in interface DescriptorProtos.MethodOptionsOrBuilder
public List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
getUninterpretedOptionOrBuilderList
in interface DescriptorProtos.MethodOptionsOrBuilder
public int getUninterpretedOptionCount()
getUninterpretedOptionCount
in interface DescriptorProtos.MethodOptionsOrBuilder
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
getUninterpretedOption
in interface DescriptorProtos.MethodOptionsOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
getUninterpretedOptionOrBuilder
in interface DescriptorProtos.MethodOptionsOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage.ExtendableMessage<DescriptorProtos.MethodOptions>
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
protected Object writeReplace() throws ObjectStreamException
GeneratedMessage
return super.writeReplace();
writeReplace
in class GeneratedMessage
ObjectStreamException
public static DescriptorProtos.MethodOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MethodOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MethodOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MethodOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.MethodOptions parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MethodOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MethodOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MethodOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MethodOptions parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.MethodOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MethodOptions.Builder newBuilder()
public DescriptorProtos.MethodOptions.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DescriptorProtos.MethodOptions.Builder newBuilder(DescriptorProtos.MethodOptions prototype)
public DescriptorProtos.MethodOptions.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DescriptorProtos.MethodOptions.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType
in class GeneratedMessage
Copyright © 2008-2012. All Rights Reserved.