Public Member Functions | List of all members
com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type > Class Template Referenceabstract

Public Member Functions

abstract Type getDefaultValue ()
 
abstract WireFormat.FieldType getLiteType ()
 
abstract MessageLite getMessageDefaultInstance ()
 
abstract int getNumber ()
 
abstract boolean isRepeated ()
 

Detailed Description

Lite interface that generated extensions implement.

Methods are for use by generated code only. You can hold a reference to extensions using this type name.

Definition at line 39 of file ExtensionLite.java.

Member Function Documentation

◆ getDefaultValue()

abstract Type com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type >.getDefaultValue ( )
abstract

Returns the default value of the extension field.

◆ getLiteType()

abstract WireFormat.FieldType com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type >.getLiteType ( )
abstract

Returns the type of the field.

◆ getMessageDefaultInstance()

abstract MessageLite com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type >.getMessageDefaultInstance ( )
abstract

Returns the default instance of the extension field, if it's a message extension.

◆ getNumber()

abstract int com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type >.getNumber ( )
abstract

Returns the field number of the extension.

◆ isRepeated()

abstract boolean com.google.protobuf.ExtensionLite< ContainingType extends MessageLite, Type >.isRepeated ( )
abstract

Returns whether it is a repeated field.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07