Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.google.protobuf.UnknownFieldSetLite Class Reference

Public Member Functions

boolean equals (Object obj)
 
boolean equals (Object obj)
 
int getSerializedSize ()
 
int getSerializedSize ()
 
int getSerializedSizeAsMessageSet ()
 
int getSerializedSizeAsMessageSet ()
 
int hashCode ()
 
int hashCode ()
 
void makeImmutable ()
 
void makeImmutable ()
 
void writeAsMessageSetTo (CodedOutputStream output) throws IOException
 
void writeAsMessageSetTo (CodedOutputStream output) throws IOException
 
void writeTo (CodedOutputStream output) throws IOException
 
void writeTo (CodedOutputStream output) throws IOException
 
void writeTo (Writer writer) throws IOException
 
void writeTo (Writer writer) throws IOException
 

Static Public Member Functions

static UnknownFieldSetLite getDefaultInstance ()
 
static UnknownFieldSetLite getDefaultInstance ()
 

Private Member Functions

void ensureCapacity ()
 
void ensureCapacity ()
 
UnknownFieldSetLite mergeFrom (final CodedInputStream input) throws IOException
 
UnknownFieldSetLite mergeFrom (final CodedInputStream input) throws IOException
 
 UnknownFieldSetLite ()
 
 UnknownFieldSetLite ()
 
 UnknownFieldSetLite (int count, int[] tags, Object[] objects, boolean isMutable)
 
 UnknownFieldSetLite (int count, int[] tags, Object[] objects, boolean isMutable)
 

Static Private Member Functions

static boolean equals (int[] tags1, int[] tags2, int count)
 
static boolean equals (Object[] objects1, Object[] objects2, int count)
 
static int hashCode (int[] tags, int count)
 
static int hashCode (int[] tags, int count)
 
static int hashCode (Object[] objects, int count)
 
static int hashCode (Object[] objects, int count)
 
static boolean objectsEquals (Object[] objects1, Object[] objects2, int count)
 
static boolean tagsEquals (int[] tags1, int[] tags2, int count)
 
static void writeField (int tag, Object object, Writer writer) throws IOException
 
static void writeField (int tag, Object object, Writer writer) throws IOException
 

Private Attributes

int count
 
boolean isMutable
 
int memoizedSerializedSize = -1
 
Object[] objects
 
int[] tags
 

Static Private Attributes

static final UnknownFieldSetLite DEFAULT_INSTANCE
 
static final int MIN_CAPACITY = 8
 

Detailed Description

is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized. This most frequently occurs when new fields are added to a message type and then messages containing those fields are read by old software that was compiled before the new types were added.

For use by generated code only.

Author
dweis.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Daniel Weis)

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

Constructor & Destructor Documentation

◆ UnknownFieldSetLite() [1/4]

com.google.protobuf.UnknownFieldSetLite.UnknownFieldSetLite ( )
inlineprivate

◆ UnknownFieldSetLite() [2/4]

com.google.protobuf.UnknownFieldSetLite.UnknownFieldSetLite ( int  count,
int[]  tags,
Object[]  objects,
boolean  isMutable 
)
inlineprivate

◆ UnknownFieldSetLite() [3/4]

com.google.protobuf.UnknownFieldSetLite.UnknownFieldSetLite ( )
inlineprivate

◆ UnknownFieldSetLite() [4/4]

com.google.protobuf.UnknownFieldSetLite.UnknownFieldSetLite ( int  count,
int[]  tags,
Object[]  objects,
boolean  isMutable 
)
inlineprivate

Member Function Documentation

◆ ensureCapacity() [1/2]

void com.google.protobuf.UnknownFieldSetLite.ensureCapacity ( )
inlineprivate

Ensures that our arrays are long enough to store more metadata.

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

◆ ensureCapacity() [2/2]

void com.google.protobuf.UnknownFieldSetLite.ensureCapacity ( )
inlineprivate

Ensures that our arrays are long enough to store more metadata.

Definition at line 399 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ equals() [1/4]

static boolean com.google.protobuf.UnknownFieldSetLite.equals ( int[]  tags1,
int[]  tags2,
int  count 
)
inlinestaticprivate

◆ equals() [2/4]

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

◆ equals() [3/4]

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

◆ equals() [4/4]

static boolean com.google.protobuf.UnknownFieldSetLite.equals ( Object[]  objects1,
Object[]  objects2,
int  count 
)
inlinestaticprivate

◆ getDefaultInstance() [1/2]

static UnknownFieldSetLite com.google.protobuf.UnknownFieldSetLite.getDefaultInstance ( )
inlinestatic

Get an empty

.

For use by generated code only.

Definition at line 60 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ getDefaultInstance() [2/2]

static UnknownFieldSetLite com.google.protobuf.UnknownFieldSetLite.getDefaultInstance ( )
inlinestatic

Get an empty

.

For use by generated code only.

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

◆ getSerializedSize() [1/2]

int com.google.protobuf.UnknownFieldSetLite.getSerializedSize ( )
inline

Get the number of bytes required to encode this set.

For use by generated code only.

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

◆ getSerializedSize() [2/2]

int com.google.protobuf.UnknownFieldSetLite.getSerializedSize ( )
inline

Get the number of bytes required to encode this set.

For use by generated code only.

Definition at line 266 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ getSerializedSizeAsMessageSet() [1/2]

int com.google.protobuf.UnknownFieldSetLite.getSerializedSizeAsMessageSet ( )
inline

Get the number of bytes required to encode this field, including field number, using

MessageSet

wire format.

Definition at line 242 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ getSerializedSizeAsMessageSet() [2/2]

int com.google.protobuf.UnknownFieldSetLite.getSerializedSizeAsMessageSet ( )
inline

Get the number of bytes required to encode this field, including field number, using

MessageSet

wire format.

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

◆ hashCode() [1/6]

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

◆ hashCode() [2/6]

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

◆ hashCode() [3/6]

static int com.google.protobuf.UnknownFieldSetLite.hashCode ( int[]  tags,
int  count 
)
inlinestaticprivate

◆ hashCode() [4/6]

static int com.google.protobuf.UnknownFieldSetLite.hashCode ( int[]  tags,
int  count 
)
inlinestaticprivate

◆ hashCode() [5/6]

static int com.google.protobuf.UnknownFieldSetLite.hashCode ( Object[]  objects,
int  count 
)
inlinestaticprivate

◆ hashCode() [6/6]

static int com.google.protobuf.UnknownFieldSetLite.hashCode ( Object[]  objects,
int  count 
)
inlinestaticprivate

◆ makeImmutable() [1/2]

void com.google.protobuf.UnknownFieldSetLite.makeImmutable ( )
inline

Marks this object as immutable.

Future calls to methods that attempt to modify this object will throw.

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

◆ makeImmutable() [2/2]

void com.google.protobuf.UnknownFieldSetLite.makeImmutable ( )
inline

Marks this object as immutable.

Future calls to methods that attempt to modify this object will throw.

Definition at line 115 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ mergeFrom() [1/2]

UnknownFieldSetLite com.google.protobuf.UnknownFieldSetLite.mergeFrom ( final CodedInputStream  input) throws IOException
inlineprivate

Parse an entire message from

and merge its fields into this set.

Definition at line 480 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ mergeFrom() [2/2]

UnknownFieldSetLite com.google.protobuf.UnknownFieldSetLite.mergeFrom ( final CodedInputStream  input) throws IOException
inlineprivate

Parse an entire message from

and merge its fields into this set.

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

◆ objectsEquals()

static boolean com.google.protobuf.UnknownFieldSetLite.objectsEquals ( Object[]  objects1,
Object[]  objects2,
int  count 
)
inlinestaticprivate

◆ tagsEquals()

static boolean com.google.protobuf.UnknownFieldSetLite.tagsEquals ( int[]  tags1,
int[]  tags2,
int  count 
)
inlinestaticprivate

◆ writeAsMessageSetTo() [1/2]

void com.google.protobuf.UnknownFieldSetLite.writeAsMessageSetTo ( CodedOutputStream  output) throws IOException
inline

Serializes the set and writes it to

using

MessageSet

wire format.

For use by generated code only.

Definition at line 164 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ writeAsMessageSetTo() [2/2]

void com.google.protobuf.UnknownFieldSetLite.writeAsMessageSetTo ( CodedOutputStream  output) throws IOException
inline

Serializes the set and writes it to

using

MessageSet

wire format.

For use by generated code only.

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

◆ writeField() [1/2]

static void com.google.protobuf.UnknownFieldSetLite.writeField ( int  tag,
Object  object,
Writer  writer 
) throws IOException
inlinestaticprivate

◆ writeField() [2/2]

static void com.google.protobuf.UnknownFieldSetLite.writeField ( int  tag,
Object  object,
Writer  writer 
) throws IOException
inlinestaticprivate

◆ writeTo() [1/4]

void com.google.protobuf.UnknownFieldSetLite.writeTo ( CodedOutputStream  output) throws IOException
inline

Serializes the set and writes it to

.

For use by generated code only.

Definition at line 131 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

◆ writeTo() [2/4]

void com.google.protobuf.UnknownFieldSetLite.writeTo ( CodedOutputStream  output) throws IOException
inline

Serializes the set and writes it to

.

For use by generated code only.

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

◆ writeTo() [3/4]

void com.google.protobuf.UnknownFieldSetLite.writeTo ( Writer  writer) throws IOException
inline

◆ writeTo() [4/4]

void com.google.protobuf.UnknownFieldSetLite.writeTo ( Writer  writer) throws IOException
inline

Serializes the set and writes it to

.

Definition at line 189 of file protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java.

Member Data Documentation

◆ count

int com.google.protobuf.UnknownFieldSetLite.count
private

The number of elements in the set.

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

◆ DEFAULT_INSTANCE

static final UnknownFieldSetLite com.google.protobuf.UnknownFieldSetLite.DEFAULT_INSTANCE
staticprivate
Initial value:
=
new UnknownFieldSetLite(0, new int[0], new Object[0], false)

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

◆ isMutable

boolean com.google.protobuf.UnknownFieldSetLite.isMutable
private

Indicates that this object is mutable.

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

◆ memoizedSerializedSize

int com.google.protobuf.UnknownFieldSetLite.memoizedSerializedSize = -1
private

The lazily computed serialized size of the set.

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

◆ MIN_CAPACITY

static final int com.google.protobuf.UnknownFieldSetLite.MIN_CAPACITY = 8
staticprivate

◆ objects

Object [] com.google.protobuf.UnknownFieldSetLite.objects
private

The boxed values of the elements in the set.

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

◆ tags

int [] com.google.protobuf.UnknownFieldSetLite.tags
private

The tag numbers for the elements in the set.

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


The documentation for this class was generated from the following file:
com.google.protobuf.UnknownFieldSetLite.UnknownFieldSetLite
UnknownFieldSetLite()
Definition: bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java:98
gmock_output_test.output
output
Definition: bloaty/third_party/googletest/googlemock/test/gmock_output_test.py:175
writer
void writer(void *n)
Definition: libuv/docs/code/locks/main.c:22
input
std::string input
Definition: bloaty/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:197


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