class UnknownField

Defined at line 61 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

Defined in unknown_field_set.h.

Public Methods

int number ()

The field's field number, as seen on the wire.

Defined at line 374 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

Type type ()

The field type.

Defined at line 375 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

uint64_t varint ()

Accessors -------------------------------------------------------

Each method works only for UnknownFields of the corresponding type.

Defined at line 379 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

uint32_t fixed32 ()

Defined at line 383 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

uint64_t fixed64 ()

Defined at line 387 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

absl::string_view length_delimited ()

Defined at line 391 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

const UnknownFieldSet & group ()

Defined at line 395 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

void set_varint (uint64_t value)

Defined at line 400 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

void set_fixed32 (uint32_t value)

Defined at line 404 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

void set_fixed64 (uint64_t value)

Defined at line 408 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

void set_length_delimited (absl::string_view value)

Defined at line 412 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

template <int&>
void set_length_delimited (std::string && value)

template to avoid ambiguous overload resolution.

Defined at line 417 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

void set_length_delimited (const absl::Cord & value)

Defined at line 421 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

UnknownFieldSet * mutable_group ()

Defined at line 425 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

size_t GetLengthDelimitedSize ()

Defined at line 435 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

uint8_t * InternalSerializeLengthDelimitedNoTag (uint8_t * target, io::EpsCopyOutputStream * stream)

Enumerations

enum Type
Name Value
TYPE_VARINT 0
TYPE_FIXED32 1
TYPE_FIXED64 2
TYPE_LENGTH_DELIMITED 3
TYPE_GROUP 4

Defined at line 63 of file ../../third_party/protobuf/src/src/google/protobuf/unknown_field_set.h

Friends

class UnknownFieldSet