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 getTagFieldNumber (final int tag)
 
static int getTagWireType (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 ()
 
 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

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 bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java.

Constructor & Destructor Documentation

◆ WireFormat() [1/2]

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

◆ WireFormat() [2/2]

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

Member Function Documentation

◆ getTagFieldNumber() [1/2]

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 bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java.

◆ getTagFieldNumber() [2/2]

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 protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java.

◆ getTagWireType() [1/2]

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 protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java.

◆ getTagWireType() [2/2]

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 bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java.

Member Data Documentation

◆ WIRETYPE_END_GROUP

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

◆ WIRETYPE_FIXED32

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

◆ WIRETYPE_FIXED64

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

◆ WIRETYPE_LENGTH_DELIMITED

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

◆ WIRETYPE_START_GROUP

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

◆ WIRETYPE_VARINT

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

The documentation for this class was generated from the following file:
google::protobuf
Definition: bloaty/third_party/protobuf/benchmarks/util/data_proto2_to_proto3_util.h:12


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