Classes | Public Member Functions | Private Attributes | List of all members
com.google.protobuf.LazyField Class Reference
Inheritance diagram for com.google.protobuf.LazyField:
Inheritance graph
[legend]

Classes

class  LazyEntry
 
class  LazyEntry
 
class  LazyIterator
 
class  LazyIterator
 

Public Member Functions

boolean containsDefaultInstance ()
 
boolean containsDefaultInstance ()
 
boolean equals (Object obj)
 
boolean equals (Object obj)
 
MessageLite getValue ()
 
MessageLite getValue ()
 
int hashCode ()
 
int hashCode ()
 
 LazyField (MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
 LazyField (MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
String toString ()
 
String toString ()
 
- Public Member Functions inherited from com.google.protobuf.LazyFieldLite
void clear ()
 
void clear ()
 
int getSerializedSize ()
 
int getSerializedSize ()
 
MessageLite getValue (MessageLite defaultInstance)
 
MessageLite getValue (MessageLite defaultInstance)
 
 LazyFieldLite ()
 
 LazyFieldLite ()
 
 LazyFieldLite (ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
 LazyFieldLite (ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
void merge (LazyFieldLite other)
 
void merge (LazyFieldLite other)
 
void mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
 
void mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
 
void set (LazyFieldLite other)
 
void set (LazyFieldLite other)
 
void setByteString (ByteString bytes, ExtensionRegistryLite extensionRegistry)
 
void setByteString (ByteString bytes, ExtensionRegistryLite extensionRegistry)
 
MessageLite setValue (MessageLite value)
 
MessageLite setValue (MessageLite value)
 
ByteString toByteString ()
 
ByteString toByteString ()
 

Private Attributes

final MessageLite defaultInstance
 

Additional Inherited Members

- Static Public Member Functions inherited from com.google.protobuf.LazyFieldLite
static LazyFieldLite fromValue (MessageLite value)
 
static LazyFieldLite fromValue (MessageLite value)
 
- Protected Member Functions inherited from com.google.protobuf.LazyFieldLite
void ensureInitialized (MessageLite defaultInstance)
 
void ensureInitialized (MessageLite defaultInstance)
 
- Protected Attributes inherited from com.google.protobuf.LazyFieldLite
volatile MessageLite value
 

Detailed Description

LazyField encapsulates the logic of lazily parsing message fields. It stores the message in a ByteString initially and then parse it on-demand.

Most of key methods are implemented in LazyFieldLite but this class can contain default instance of the message to provide

,

euqals()

and

.

Author
xiang.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Xiang Li)

LazyField encapsulates the logic of lazily parsing message fields. It stores the message in a ByteString initially and then parses it on-demand.

Most methods are implemented in LazyFieldLite but this class can contain a default instance of the message to provide

,

, and

.

Author
xiang.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Xiang Li)

Definition at line 46 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java.

Constructor & Destructor Documentation

◆ LazyField() [1/2]

com.google.protobuf.LazyField.LazyField ( MessageLite  defaultInstance,
ExtensionRegistryLite  extensionRegistry,
ByteString  bytes 
)
inline

◆ LazyField() [2/2]

com.google.protobuf.LazyField.LazyField ( MessageLite  defaultInstance,
ExtensionRegistryLite  extensionRegistry,
ByteString  bytes 
)
inline

Member Function Documentation

◆ containsDefaultInstance() [1/2]

boolean com.google.protobuf.LazyField.containsDefaultInstance ( )
inline

Determines whether this LazyFieldLite instance represents the default instance of this type.

Reimplemented from com.google.protobuf.LazyFieldLite.

Definition at line 62 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java.

◆ containsDefaultInstance() [2/2]

boolean com.google.protobuf.LazyField.containsDefaultInstance ( )
inline

Determines whether this LazyFieldLite instance represents the default instance of this type.

Reimplemented from com.google.protobuf.LazyFieldLite.

Definition at line 62 of file protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java.

◆ equals() [1/2]

boolean com.google.protobuf.LazyField.equals ( Object  obj)
inline

◆ equals() [2/2]

boolean com.google.protobuf.LazyField.equals ( Object  obj)
inline

◆ getValue() [1/2]

MessageLite com.google.protobuf.LazyField.getValue ( )
inline

◆ getValue() [2/2]

MessageLite com.google.protobuf.LazyField.getValue ( )
inline

◆ hashCode() [1/2]

int com.google.protobuf.LazyField.hashCode ( )
inline

◆ hashCode() [2/2]

int com.google.protobuf.LazyField.hashCode ( )
inline

◆ toString() [1/2]

String com.google.protobuf.LazyField.toString ( )
inline

◆ toString() [2/2]

String com.google.protobuf.LazyField.toString ( )
inline

Member Data Documentation

◆ defaultInstance

final MessageLite com.google.protobuf.LazyField.defaultInstance
private

Carry a message's default instance which is used by

,

euqals()

and

.

Carry a message's default instance which is used by

,

, and

.

Definition at line 52 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java.


The documentation for this class was generated from the following file:
com.google.protobuf.LazyField.toString
String toString()
Definition: bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java:81
com.google.protobuf.LazyField.hashCode
int hashCode()
Definition: bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java:71
com.google.protobuf.LazyField.equals
boolean equals(Object obj)
Definition: bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/LazyField.java:76


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:06