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

Classes

enum  FieldType
 
enum  JavaType
 
enum  Utf8Validation
 

Static Public Member Functions

static int getTagFieldNumber (final int tag)
 
static int getTagWireType (final int tag)
 

Static Public Attributes

static final int WIRETYPE_END_GROUP = 4
 
static final int WIRETYPE_FIXED32 = 5
 
static final int WIRETYPE_FIXED64 = 1
 
static final int WIRETYPE_LENGTH_DELIMITED = 2
 
static final int WIRETYPE_START_GROUP = 3
 
static final int WIRETYPE_VARINT = 0
 

Private Member Functions

 WireFormat ()
 

Detailed Description

This class is used internally by the Protocol Buffer library and generated message implementations. It is public only because those generated messages do not reside in the

protobuf

package. Others should not use this class directly.

This class contains constants and helper functions useful for dealing with the Protocol Buffer wire format.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

Definition at line 45 of file WireFormat.java.

Constructor & Destructor Documentation

◆ WireFormat()

com.google.protobuf.WireFormat.WireFormat ( )
inlineprivate

Definition at line 47 of file WireFormat.java.

Member Function Documentation

◆ getTagFieldNumber()

static int com.google.protobuf.WireFormat.getTagFieldNumber ( final int  tag)
inlinestatic

Given a tag value, determines the field number (the upper 29 bits).

Definition at line 71 of file WireFormat.java.

◆ getTagWireType()

static int com.google.protobuf.WireFormat.getTagWireType ( final int  tag)
inlinestatic

Given a tag value, determines the wire type (the lower 3 bits).

Definition at line 66 of file WireFormat.java.

Member Data Documentation

◆ WIRETYPE_END_GROUP

final int com.google.protobuf.WireFormat.WIRETYPE_END_GROUP = 4
static

Definition at line 59 of file WireFormat.java.

◆ WIRETYPE_FIXED32

final int com.google.protobuf.WireFormat.WIRETYPE_FIXED32 = 5
static

Definition at line 60 of file WireFormat.java.

◆ WIRETYPE_FIXED64

final int com.google.protobuf.WireFormat.WIRETYPE_FIXED64 = 1
static

Definition at line 56 of file WireFormat.java.

◆ WIRETYPE_LENGTH_DELIMITED

final int com.google.protobuf.WireFormat.WIRETYPE_LENGTH_DELIMITED = 2
static

Definition at line 57 of file WireFormat.java.

◆ WIRETYPE_START_GROUP

final int com.google.protobuf.WireFormat.WIRETYPE_START_GROUP = 3
static

Definition at line 58 of file WireFormat.java.

◆ WIRETYPE_VARINT

final int com.google.protobuf.WireFormat.WIRETYPE_VARINT = 0
static

Definition at line 55 of file WireFormat.java.


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


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