Go to the documentation of this file.
17 #include <google/protobuf/port_def.inc>
18 PROTOBUF_NAMESPACE_OPEN
21 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldMask>
_instance;
23 PROTOBUF_NAMESPACE_CLOSE
32 PROTOBUF_NAMESPACE_ID::FieldMask::InitAsDefaultInstance();
58 const char descriptor_table_protodef_google_2fprotobuf_2ffield_5fmask_2eproto[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
59 "\n google/protobuf/field_mask.proto\022\017goog"
60 "le.protobuf\"\032\n\tFieldMask\022\r\n\005paths\030\001 \003(\tB"
61 "\214\001\n\023com.google.protobufB\016FieldMaskProtoP"
62 "\001Z9google.golang.org/genproto/protobuf/f"
63 "ield_mask;field_mask\370\001\001\242\002\003GPB\252\002\036Google.P"
64 "rotobuf.WellKnownTypesb\006proto3"
82 PROTOBUF_NAMESPACE_OPEN
93 : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
98 : ::PROTOBUF_NAMESPACE_ID::Message(),
99 _internal_metadata_(arena),
106 : ::PROTOBUF_NAMESPACE_ID::Message(),
107 _internal_metadata_(nullptr),
108 paths_(from.paths_) {
145 (
void) cached_has_bits;
151 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
153 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
155 while (!ctx->Done(&ptr)) {
168 if (!ctx->DataAvailable(ptr))
break;
169 }
while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
170 }
else goto handle_unusual;
174 if ((tag & 7) == 4 || tag == 0) {
175 ctx->SetLastTag(tag);
179 CHK_(ptr !=
nullptr);
191 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
193 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
194 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
198 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
200 if (!
p.second)
goto handle_unusual;
201 switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
205 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
207 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
210 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
211 "google.protobuf.FieldMask.paths"));
237 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
240 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
243 (
void) cached_has_bits;
247 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
249 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
250 "google.protobuf.FieldMask.paths");
251 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteString(
252 1, this->
paths(
i), output);
256 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
266 (
void) cached_has_bits;
270 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
272 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
273 "google.protobuf.FieldMask.paths");
274 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
275 WriteStringToArray(1, this->
paths(
i), target);
279 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
288 size_t total_size = 0;
292 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
297 (
void) cached_has_bits;
303 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
316 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FieldMask>(
332 (
void) cached_has_bits;
339 if (&from ==
this)
return;
346 if (&from ==
this)
return;
367 PROTOBUF_NAMESPACE_CLOSE
368 PROTOBUF_NAMESPACE_OPEN
370 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FieldMask >(arena);
372 PROTOBUF_NAMESPACE_CLOSE
375 #include <google/protobuf/port_undef.inc>
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2ffield_5fmask_2eproto[1]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
void SetCachedSize(int size) const final
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto_once
GLenum GLuint GLenum GLsizei length
size_t ByteSizeLong() const final
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_google_2fprotobuf_2ffield_5fmask_2eproto
std::string * add_paths()
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FieldMask * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FieldMask >(Arena *arena)
void OnShutdownDestroyMessage(const void *ptr)
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 0 > scc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto
void InitSCC(SCCInfoBase *scc)
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
size_t FromIntSize(int size)
struct FieldMask FieldMask
static void InitAsDefaultInstance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
struct EnumDescriptor EnumDescriptor
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const char * InlineGreedyStringParserUTF8(std::string *s, const char *ptr, ParseContext *ctx, const char *field_name)
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< FieldMask > _instance
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & paths() const
#define GOOGLE_PROTOBUF_VERIFY_VERSION
PROTOBUF_NAMESPACE_OPEN class FieldMaskDefaultTypeInternal _FieldMask_default_instance_
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > paths_
GLsizei GLsizei GLchar * source
::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase *const descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto_sccs[1]
static PROTOBUF_NAMESPACE_CLOSE void InitDefaultsscc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto()
static bool dynamic_init_dummy_google_2fprotobuf_2ffield_5fmask_2eproto
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
static bool descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto_initialized
static const FieldMask & default_instance()
int ToCachedSize(size_t size)
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const ** file_level_enum_descriptors_google_2fprotobuf_2ffield_5fmask_2eproto
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const FieldMask * internal_default_instance()
const upb_json_parsermethod const upb_symtab upb_sink * output
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto_deps[1]
static void ArenaDtor(void *object)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
def Merge(text, message, allow_unknown_extension=False, allow_field_number=False, descriptor_pool=None, allow_unknown_field=False)
const ::PROTOBUF_NAMESPACE_ID::Message *const file_default_instances[]
void InternalSwap(FieldMask *other)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:51