|
static< M extends ExtendableMessageNano< M > T extends MessageNano Extension< M, T > | createMessageTyped (int type, Class< T > clazz, int tag) |
|
static< M extends ExtendableMessageNano< M > T extends MessageNano Extension< M, T > | createMessageTyped (int type, Class< T > clazz, long tag) |
|
static< M extends ExtendableMessageNano< M > T extends MessageNano Extension< M, T[]> | createRepeatedMessageTyped (int type, Class< T[]> clazz, long tag) |
|
static< M extends ExtendableMessageNano< M > T Extension< M, T > | createPrimitiveTyped (int type, Class< T > clazz, long tag) |
|
static< M extends ExtendableMessageNano< M > T Extension< M, T > | createRepeatedPrimitiveTyped (int type, Class< T > clazz, long tag, long nonPackedTag, long packedTag) |
|
Represents an extension.
- Author
- bduff.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Brian Duff)
-
maxtr.nosp@m.oy@g.nosp@m.oogle.nosp@m..com (Max Cai)
- Parameters
-
<M> | the type of the extendable message this extension is for. |
<T> | the Java type of the extension; see clazz. |
◆ computeRepeatedSerializedSize()
◆ computeSingularSerializedSize()
◆ createMessageTyped() [1/2]
◆ createMessageTyped() [2/2]
◆ createPrimitiveTyped()
◆ createRepeatedMessageTyped()
◆ createRepeatedPrimitiveTyped()
◆ readData()
◆ readDataInto()
◆ writeRepeatedData()
◆ writeSingularData()
◆ clazz
Java type of this extension. For a singular extension, this is the boxed Java type for the Protocol Buffer type; for a repeated extension, this is an array type whose component type is the unboxed Java type for type. For example, for a singular
/TYPE_INT32 extension, this equals
; for a repeated
extension, this equals
.
◆ repeated
Whether this extension is repeated.
◆ tag
Tag number of this extension. The data should be viewed as an unsigned 32-bit value.
◆ type
Protocol Buffer type of this extension; one of the
constants.
◆ TYPE_BOOL
◆ TYPE_BYTES
◆ TYPE_DOUBLE
◆ TYPE_ENUM
◆ TYPE_FIXED32
◆ TYPE_FIXED64
◆ TYPE_FLOAT
◆ TYPE_GROUP
◆ TYPE_INT32
◆ TYPE_INT64
◆ TYPE_MESSAGE
◆ TYPE_SFIXED32
◆ TYPE_SFIXED64
◆ TYPE_SINT32
◆ TYPE_SINT64
◆ TYPE_STRING
◆ TYPE_UINT32
◆ TYPE_UINT64
The documentation for this class was generated from the following file:
- Source/ThirdParty/libwebrtc/Source/third_party/protobuf/javanano/src/main/java/com/google/protobuf/nano/Extension.java