|
||||||||
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.GeneratedMessage.ExtendableMessage<DescriptorProtos.MethodOptions>
com.google.protobuf.DescriptorProtos.MethodOptions
public static final class DescriptorProtos.MethodOptions
Protobuf type google.protobuf.MethodOptions
Nested Class Summary | |
---|---|
static class |
DescriptorProtos.MethodOptions.Builder
Protobuf type google.protobuf.MethodOptions |
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage |
---|
GeneratedMessage.ExtendableMessage.ExtensionWriter |
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 |
DEPRECATED_FIELD_NUMBER
|
static Parser<DescriptorProtos.MethodOptions> |
PARSER
|
static int |
UNINTERPRETED_OPTION_FIELD_NUMBER
|
Fields inherited from class com.google.protobuf.GeneratedMessage |
---|
alwaysUseFieldBuilders |
Fields inherited from class com.google.protobuf.AbstractMessageLite |
---|
memoizedHashCode |
Method Summary | |
---|---|
static DescriptorProtos.MethodOptions |
getDefaultInstance()
|
DescriptorProtos.MethodOptions |
getDefaultInstanceForType()
Get an instance of the type with no fields set. |
boolean |
getDeprecated()
optional bool deprecated = 33 [default = false]; |
static Descriptors.Descriptor |
getDescriptor()
|
Parser<DescriptorProtos.MethodOptions> |
getParserForType()
Gets the parser for a message of the same type as this message. |
int |
getSerializedSize()
Get the number of bytes required to encode this message. |
DescriptorProtos.UninterpretedOption |
getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
int |
getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
java.util.List<DescriptorProtos.UninterpretedOption> |
getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
DescriptorProtos.UninterpretedOptionOrBuilder |
getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> |
getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
UnknownFieldSet |
getUnknownFields()
Get the UnknownFieldSet for this message. |
boolean |
hasDeprecated()
optional bool deprecated = 33 [default = false]; |
protected GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type. |
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise. |
static DescriptorProtos.MethodOptions.Builder |
newBuilder()
|
static DescriptorProtos.MethodOptions.Builder |
newBuilder(DescriptorProtos.MethodOptions prototype)
|
DescriptorProtos.MethodOptions.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message. |
protected DescriptorProtos.MethodOptions.Builder |
newBuilderForType(GeneratedMessage.BuilderParent parent)
|
static DescriptorProtos.MethodOptions |
parseDelimitedFrom(java.io.InputStream input)
|
static DescriptorProtos.MethodOptions |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodOptions |
parseFrom(byte[] data)
|
static DescriptorProtos.MethodOptions |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodOptions |
parseFrom(ByteString data)
|
static DescriptorProtos.MethodOptions |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodOptions |
parseFrom(CodedInputStream input)
|
static DescriptorProtos.MethodOptions |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodOptions |
parseFrom(java.io.InputStream input)
|
static DescriptorProtos.MethodOptions |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
|
DescriptorProtos.MethodOptions.Builder |
toBuilder()
Constructs a builder initialized with the current message. |
protected java.lang.Object |
writeReplace()
Replaces this object in the output stream with a serialized form. |
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to output . |
Methods inherited from class com.google.protobuf.GeneratedMessage |
---|
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension |
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.GeneratedMessage.ExtendableMessageOrBuilder |
---|
getExtension, getExtension, getExtensionCount, hasExtension |
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.MethodOptions> PARSER
public static final int DEPRECATED_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
Method Detail |
---|
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 GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions>
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public final UnknownFieldSet getUnknownFields()
MessageOrBuilder
UnknownFieldSet
for this message.
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessage
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable
in class GeneratedMessage
public Parser<DescriptorProtos.MethodOptions> getParserForType()
MessageLite
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessage
public boolean hasDeprecated()
optional bool deprecated = 33 [default = false];
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
hasDeprecated
in interface DescriptorProtos.MethodOptionsOrBuilder
public boolean getDeprecated()
optional bool deprecated = 33 [default = false];
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
getDeprecated
in interface DescriptorProtos.MethodOptionsOrBuilder
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionList
in interface DescriptorProtos.MethodOptionsOrBuilder
public java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilderList
in interface DescriptorProtos.MethodOptionsOrBuilder
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionCount
in interface DescriptorProtos.MethodOptionsOrBuilder
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOption
in interface DescriptorProtos.MethodOptionsOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilder
in interface DescriptorProtos.MethodOptionsOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
See also: MessageOrBuilder.getInitializationErrorString()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage.ExtendableMessage<DescriptorProtos.MethodOptions>
public void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLite
output
. This does not
flush or close the stream.
writeTo
in interface MessageLite
writeTo
in class AbstractMessage
java.io.IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
GeneratedMessage
return super.writeReplace();
writeReplace
in class GeneratedMessage
java.io.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(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.MethodOptions parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.MethodOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.MethodOptions parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.MethodOptions parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DescriptorProtos.MethodOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |