Go to the documentation of this file.
17 #include <google/protobuf/port_def.inc>
18 PROTOBUF_NAMESPACE_OPEN
21 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SourceContext>
_instance;
23 PROTOBUF_NAMESPACE_CLOSE
32 PROTOBUF_NAMESPACE_ID::SourceContext::InitAsDefaultInstance();
58 const char descriptor_table_protodef_google_2fprotobuf_2fsource_5fcontext_2eproto[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
59 "\n$google/protobuf/source_context.proto\022\017"
60 "google.protobuf\"\"\n\rSourceContext\022\021\n\tfile"
61 "_name\030\001 \001(\tB\225\001\n\023com.google.protobufB\022Sou"
62 "rceContextProtoP\001ZAgoogle.golang.org/gen"
63 "proto/protobuf/source_context;source_con"
64 "text\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTy"
83 PROTOBUF_NAMESPACE_OPEN
94 : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
99 : ::PROTOBUF_NAMESPACE_ID::Message(),
100 _internal_metadata_(nullptr) {
136 (
void) cached_has_bits;
142 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
144 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
145 while (!ctx->Done(&ptr)) {
155 }
else goto handle_unusual;
159 if ((tag & 7) == 4 || tag == 0) {
160 ctx->SetLastTag(tag);
164 CHK_(ptr !=
nullptr);
176 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
178 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
179 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
183 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
185 if (!
p.second)
goto handle_unusual;
186 switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
190 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
192 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
194 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
195 "google.protobuf.SourceContext.file_name"));
221 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
224 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
227 (
void) cached_has_bits;
231 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
233 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
234 "google.protobuf.SourceContext.file_name");
235 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
240 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
250 (
void) cached_has_bits;
254 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
256 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
257 "google.protobuf.SourceContext.file_name");
259 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
264 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
273 size_t total_size = 0;
277 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
282 (
void) cached_has_bits;
287 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
300 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SourceContext>(
316 (
void) cached_has_bits;
326 if (&from ==
this)
return;
333 if (&from ==
this)
return;
355 PROTOBUF_NAMESPACE_CLOSE
356 PROTOBUF_NAMESPACE_OPEN
358 return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::SourceContext >(arena);
360 PROTOBUF_NAMESPACE_CLOSE
363 #include <google/protobuf/port_undef.inc>
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
void InternalSwap(SourceContext *other)
size_t ByteSizeLong() const final
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 0 > scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto
static bool descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_initialized
GLenum GLuint GLenum GLsizei length
const ::PROTOBUF_NAMESPACE_ID::Message *const file_default_instances[]
void OnShutdownDestroyMessage(const void *ptr)
std::string * mutable_file_name()
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::SourceContext * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::SourceContext >(Arena *arena)
void InitSCC(SCCInfoBase *scc)
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_
const std::string & file_name() const
static const SourceContext * internal_default_instance()
struct EnumDescriptor EnumDescriptor
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * InlineGreedyStringParserUTF8(std::string *s, const char *ptr, ParseContext *ctx, const char *field_name)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const ** file_level_enum_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto
static void InitAsDefaultInstance()
#define GOOGLE_PROTOBUF_VERIFY_VERSION
static PROTOBUF_NAMESPACE_CLOSE void InitDefaultsscc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto()
void SetCachedSize(int size) const final
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
struct SourceContext SourceContext
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
GLsizei GLsizei GLchar * source
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
static bool dynamic_init_dummy_google_2fprotobuf_2fsource_5fcontext_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto
int ToCachedSize(size_t size)
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_once
static const SourceContext & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fsource_5fcontext_2eproto[1]
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< SourceContext > _instance
PROTOBUF_NAMESPACE_OPEN class SourceContextDefaultTypeInternal _SourceContext_default_instance_
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase *const descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_sccs[1]
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_deps[1]
const upb_json_parsermethod const upb_symtab upb_sink * output
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto
bool IsInitialized() const final
def Merge(text, message, allow_unknown_extension=False, allow_field_number=False, descriptor_pool=None, allow_unknown_field=False)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58