class UnknownField

Defined at line 63 of file ../../third_party/protobuf/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 360 of file ../../third_party/protobuf/src/google/protobuf/unknown_field_set.h

Type type ()

The field type.

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

uint64_t varint ()

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

Each method works only for UnknownFields of the corresponding type.

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

uint32_t fixed32 ()

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

uint64_t fixed64 ()

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

internal::UFSStringView length_delimited ()

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

const UnknownFieldSet & group ()

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

void set_varint (uint64_t value)

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

void set_fixed32 (uint32_t value)

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

void set_fixed64 (uint64_t value)

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

void set_length_delimited (absl::string_view value)

Defined at line 398 of file ../../third_party/protobuf/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 403 of file ../../third_party/protobuf/src/google/protobuf/unknown_field_set.h

void set_length_delimited (const absl::Cord & value)

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

std::string * mutable_length_delimited ()

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

UnknownFieldSet * mutable_group ()

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

size_t GetLengthDelimitedSize ()

Defined at line 427 of file ../../third_party/protobuf/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 65 of file ../../third_party/protobuf/src/google/protobuf/unknown_field_set.h

Friends

class UnknownFieldSet