webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Protected Member Functions | List of all members
com.google.protobuf.Extension< ContainingType extends MessageLite, Type > Class Template Referenceabstract
Inheritance diagram for com.google.protobuf.Extension< ContainingType extends MessageLite, Type >:
com.google.protobuf.ExtensionLite< ContainingType, Type >

Classes

enum  ExtensionType
 
enum  MessageType
 

Public Member Functions

abstract Descriptors.FieldDescriptor getDescriptor ()
 
MessageType getMessageType ()
 
- Public Member Functions inherited from com.google.protobuf.ExtensionLite< ContainingType, Type >
abstract int getNumber ()
 
abstract WireFormat.FieldType getLiteType ()
 
abstract boolean isRepeated ()
 
abstract Type getDefaultValue ()
 
abstract MessageLite getMessageDefaultInstance ()
 

Protected Member Functions

ExtensionType getExtensionType ()
 
abstract Object fromReflectionType (Object value)
 
abstract Object singularFromReflectionType (Object value)
 
abstract Object toReflectionType (Object value)
 
abstract Object singularToReflectionType (Object value)
 

Detailed Description

Interface that generated extensions implement.

Author
liuji.nosp@m.si@g.nosp@m.oogle.nosp@m..com (Jisi Liu)

Member Function Documentation

◆ fromReflectionType()

abstract Object com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.fromReflectionType ( Object  value)
abstractprotected

◆ getDescriptor()

abstract Descriptors.FieldDescriptor com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.getDescriptor ( )
abstract

Returns the descriptor of the extension.

◆ getExtensionType()

ExtensionType com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.getExtensionType ( )
inlineprotected

◆ getMessageType()

MessageType com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.getMessageType ( )
inline

If the extension is a message extension (i.e., getLiteType() == MESSAGE), returns the type of the message, otherwise undefined.

◆ singularFromReflectionType()

abstract Object com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.singularFromReflectionType ( Object  value)
abstractprotected

◆ singularToReflectionType()

abstract Object com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.singularToReflectionType ( Object  value)
abstractprotected

◆ toReflectionType()

abstract Object com.google.protobuf.Extension< ContainingType extends MessageLite, Type >.toReflectionType ( Object  value)
abstractprotected

The documentation for this class was generated from the following file: