Go to the documentation of this file.
35 #include <google/protobuf/unknown_field_set.h>
37 #include <google/protobuf/stubs/logging.h>
38 #include <google/protobuf/stubs/common.h>
39 #include <google/protobuf/parse_context.h>
40 #include <google/protobuf/io/coded_stream.h>
41 #include <google/protobuf/io/zero_copy_stream.h>
42 #include <google/protobuf/io/zero_copy_stream_impl.h>
43 #include <google/protobuf/extension_set.h>
46 #include <google/protobuf/wire_format.h>
47 #include <google/protobuf/wire_format_lite.h>
48 #include <google/protobuf/stubs/stl_util.h>
50 #include <google/protobuf/port_def.inc>
70 int other_field_count = other.field_count();
71 if (other_field_count > 0) {
73 for (
int i = 0;
i < other_field_count;
i++) {
74 fields_.push_back((other.fields_)[i]);
75 fields_.back().DeepCopy((other.fields_)[i]);
81 int other_field_count = other.field_count();
82 if (other_field_count > 0) {
84 for (
int i = 0;
i < other_field_count;
i++) {
85 fields_.push_back((other.fields_)[i]);
86 fields_.back().DeepCopy((other.fields_)[i]);
98 std::make_move_iterator(other->fields_.begin()),
99 std::make_move_iterator(other->fields_.end()));
101 other->fields_.clear();
185 for (
int i = 0;
i <
num; ++
i) {
193 for (
int i = 0;
i <
num; ++
i) {
200 for (
size_t i = 0;
i <
fields_.size(); ++
i) {
217 input->ConsumedEntireMessage()) {
233 coded_input.ConsumedEntireMessage());
244 delete data_.length_delimited_.string_value;
258 data_.length_delimited_.string_value =
284 class UnknownFieldParserHelper {
320 UnknownFieldParserHelper field_parser(unknown);
325 const char*
ptr, ParseContext*
ctx) {
326 UnknownFieldParserHelper field_parser(unknown);
334 #include <google/protobuf/port_undef.inc>
const UnknownFieldSet & group() const
const Descriptor::ReservedRange value
int SpaceUsedExcludingSelf() const
uint32 ReadSize(const char **pp)
UnknownFieldSet * unknown_
GRPC_CUSTOM_ZEROCOPYINPUTSTREAM ZeroCopyInputStream
bool ParseFromZeroCopyStream(io::ZeroCopyInputStream *input)
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
void AddField(const UnknownField &field)
RefCountedPtr< grpc_tls_certificate_provider > instance
const char * ParseLengthDelimited(uint32_t num, const char *ptr, ParseContext *ctx)
union LengthDelimited length_delimited_
uint8 * InternalSerializeLengthDelimitedNoTag(uint8 *target, io::EpsCopyOutputStream *stream) const
static PyObject * UnknownFieldSet(CMessage *self)
T * OnShutdownDelete(T *p)
void MergeFromAndDestroy(UnknownFieldSet *other)
const char * UnknownGroupParse(UnknownFieldSet *unknown, const char *ptr, ParseContext *ctx)
void InternalMergeFrom(const UnknownFieldSet &other)
const char * _InternalParse(const char *ptr, ParseContext *ctx)
static const UnknownFieldSet * default_instance()
UnknownFieldSet * AddGroup(int number)
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
bool ParseFromArray(const void *data, int size)
void DeleteSubrange(int start, int num)
static void * tag(intptr_t t)
#define GOOGLE_PROTOBUF_PARSER_ASSERT(predicate)
unsigned __int64 uint64_t
size_t StringSpaceUsedExcludingSelfLong(const std::string &str)
GRPC_CUSTOM_CODEDINPUTSTREAM CodedInputStream
void AddVarint(int number, uint64 value)
void MergeFrom(const UnknownFieldSet &other)
union google::protobuf::UnknownField::@284 data_
void AddFixed32(uint32_t num, uint32_t value)
const PROTOBUF_MUST_USE_RESULT char * FieldParser(uint64 tag, T &field_parser, const char *ptr, ParseContext *ctx)
bool ParseFromCodedStream(io::CodedInputStream *input)
std::string * string_value
UnknownFieldParserHelper(UnknownFieldSet *unknown)
std::vector< UnknownField > fields_
void AddLengthDelimited(int number, const std::string &value)
const UnknownField & field(int index) const
const FieldDescriptor * field
const char * ParseGroup(uint32_t num, const char *ptr, ParseContext *ctx)
void AddVarint(uint32_t num, uint64_t value)
void AddFixed32(int number, uint32 value)
void AddFixed64(int number, uint64 value)
void AddFixed64(uint32_t num, uint64_t value)
static uint8 * WriteVarint32ToArray(uint32 value, uint8 *target)
void DeepCopy(const UnknownField &other)
void DeleteByNumber(int number)
static void MergeToInternalMetadata(const UnknownFieldSet &other, internal::InternalMetadata *metadata)
const PROTOBUF_MUST_USE_RESULT char * WireFormatParser(T &field_parser, const char *ptr, ParseContext *ctx)
size_t SpaceUsedLong() const
bool MergeFromCodedStream(io::CodedInputStream *input)
size_t SpaceUsedExcludingSelfLong() const
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:44