Fix failure test by regenerating descriptor and revert golden file (#5762)
This commit is contained in:
parent
bc929a3e82
commit
e4e5bc49d7
Binary file not shown.
@ -78,7 +78,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fany_2eproto[] =
|
||||
"roto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fany_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fany_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fany_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fany_2eproto,
|
||||
"google/protobuf/any.proto", &assign_descriptors_table_google_2fprotobuf_2fany_2eproto, 205,
|
||||
};
|
||||
|
@ -231,13 +231,13 @@ inline const ::std::string& Any::type_url() const {
|
||||
return type_url_.GetNoArena();
|
||||
}
|
||||
inline void Any::set_type_url(const ::std::string& value) {
|
||||
|
||||
|
||||
type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Any.type_url)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Any::set_type_url(::std::string&& value) {
|
||||
|
||||
|
||||
type_url_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Any.type_url)
|
||||
@ -245,31 +245,31 @@ inline void Any::set_type_url(::std::string&& value) {
|
||||
#endif
|
||||
inline void Any::set_type_url(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Any.type_url)
|
||||
}
|
||||
inline void Any::set_type_url(const char* value, size_t size) {
|
||||
|
||||
|
||||
type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Any.type_url)
|
||||
}
|
||||
inline ::std::string* Any::mutable_type_url() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Any.type_url)
|
||||
return type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Any::release_type_url() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Any.type_url)
|
||||
|
||||
|
||||
return type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Any::set_allocated_type_url(::std::string* type_url) {
|
||||
if (type_url != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.type_url)
|
||||
@ -284,13 +284,13 @@ inline const ::std::string& Any::value() const {
|
||||
return value_.GetNoArena();
|
||||
}
|
||||
inline void Any::set_value(const ::std::string& value) {
|
||||
|
||||
|
||||
value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Any.value)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Any::set_value(::std::string&& value) {
|
||||
|
||||
|
||||
value_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Any.value)
|
||||
@ -298,31 +298,31 @@ inline void Any::set_value(::std::string&& value) {
|
||||
#endif
|
||||
inline void Any::set_value(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Any.value)
|
||||
}
|
||||
inline void Any::set_value(const void* value, size_t size) {
|
||||
|
||||
|
||||
value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Any.value)
|
||||
}
|
||||
inline ::std::string* Any::mutable_value() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Any.value)
|
||||
return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Any::release_value() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Any.value)
|
||||
|
||||
|
||||
return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Any::set_allocated_value(::std::string* value) {
|
||||
if (value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.value)
|
||||
|
@ -166,7 +166,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto[] =
|
||||
"rotobuf.WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fapi_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fapi_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto,
|
||||
"google/protobuf/api.proto", &assign_descriptors_table_google_2fprotobuf_2fapi_2eproto, 750,
|
||||
};
|
||||
|
@ -599,13 +599,13 @@ inline const ::std::string& Api::name() const {
|
||||
return name_.GetNoArena();
|
||||
}
|
||||
inline void Api::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Api.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Api::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
|
||||
@ -613,31 +613,31 @@ inline void Api::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Api::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
|
||||
}
|
||||
inline void Api::set_name(const char* value, size_t size) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
|
||||
}
|
||||
inline ::std::string* Api::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
|
||||
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Api::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Api.name)
|
||||
|
||||
|
||||
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Api::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
|
||||
@ -709,13 +709,13 @@ inline const ::std::string& Api::version() const {
|
||||
return version_.GetNoArena();
|
||||
}
|
||||
inline void Api::set_version(const ::std::string& value) {
|
||||
|
||||
|
||||
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Api.version)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Api::set_version(::std::string&& value) {
|
||||
|
||||
|
||||
version_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
|
||||
@ -723,31 +723,31 @@ inline void Api::set_version(::std::string&& value) {
|
||||
#endif
|
||||
inline void Api::set_version(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
|
||||
}
|
||||
inline void Api::set_version(const char* value, size_t size) {
|
||||
|
||||
|
||||
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
|
||||
}
|
||||
inline ::std::string* Api::mutable_version() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
|
||||
return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Api::release_version() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Api.version)
|
||||
|
||||
|
||||
return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Api::set_allocated_version(::std::string* version) {
|
||||
if (version != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
|
||||
@ -765,13 +765,13 @@ inline const ::google::protobuf::SourceContext& Api::source_context() const {
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Api::release_source_context() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
|
||||
|
||||
|
||||
::google::protobuf::SourceContext* temp = source_context_;
|
||||
source_context_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Api::mutable_source_context() {
|
||||
|
||||
|
||||
if (source_context_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
||||
source_context_ = p;
|
||||
@ -790,9 +790,9 @@ inline void Api::set_allocated_source_context(::google::protobuf::SourceContext*
|
||||
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
||||
message_arena, source_context, submessage_arena);
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
source_context_ = source_context;
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
|
||||
@ -837,7 +837,7 @@ inline ::google::protobuf::Syntax Api::syntax() const {
|
||||
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
||||
}
|
||||
inline void Api::set_syntax(::google::protobuf::Syntax value) {
|
||||
|
||||
|
||||
syntax_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
|
||||
}
|
||||
@ -855,13 +855,13 @@ inline const ::std::string& Method::name() const {
|
||||
return name_.GetNoArena();
|
||||
}
|
||||
inline void Method::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Method::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
|
||||
@ -869,31 +869,31 @@ inline void Method::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Method::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
|
||||
}
|
||||
inline void Method::set_name(const char* value, size_t size) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
|
||||
}
|
||||
inline ::std::string* Method::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
|
||||
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Method::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Method.name)
|
||||
|
||||
|
||||
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Method::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
|
||||
@ -908,13 +908,13 @@ inline const ::std::string& Method::request_type_url() const {
|
||||
return request_type_url_.GetNoArena();
|
||||
}
|
||||
inline void Method::set_request_type_url(const ::std::string& value) {
|
||||
|
||||
|
||||
request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Method::set_request_type_url(::std::string&& value) {
|
||||
|
||||
|
||||
request_type_url_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
|
||||
@ -922,31 +922,31 @@ inline void Method::set_request_type_url(::std::string&& value) {
|
||||
#endif
|
||||
inline void Method::set_request_type_url(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
|
||||
}
|
||||
inline void Method::set_request_type_url(const char* value, size_t size) {
|
||||
|
||||
|
||||
request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
|
||||
}
|
||||
inline ::std::string* Method::mutable_request_type_url() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
|
||||
return request_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Method::release_request_type_url() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
|
||||
|
||||
|
||||
return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Method::set_allocated_request_type_url(::std::string* request_type_url) {
|
||||
if (request_type_url != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type_url);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
|
||||
@ -961,7 +961,7 @@ inline bool Method::request_streaming() const {
|
||||
return request_streaming_;
|
||||
}
|
||||
inline void Method::set_request_streaming(bool value) {
|
||||
|
||||
|
||||
request_streaming_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
|
||||
}
|
||||
@ -975,13 +975,13 @@ inline const ::std::string& Method::response_type_url() const {
|
||||
return response_type_url_.GetNoArena();
|
||||
}
|
||||
inline void Method::set_response_type_url(const ::std::string& value) {
|
||||
|
||||
|
||||
response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Method::set_response_type_url(::std::string&& value) {
|
||||
|
||||
|
||||
response_type_url_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
|
||||
@ -989,31 +989,31 @@ inline void Method::set_response_type_url(::std::string&& value) {
|
||||
#endif
|
||||
inline void Method::set_response_type_url(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
|
||||
}
|
||||
inline void Method::set_response_type_url(const char* value, size_t size) {
|
||||
|
||||
|
||||
response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
|
||||
}
|
||||
inline ::std::string* Method::mutable_response_type_url() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
|
||||
return response_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Method::release_response_type_url() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
|
||||
|
||||
|
||||
return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Method::set_allocated_response_type_url(::std::string* response_type_url) {
|
||||
if (response_type_url != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type_url);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
|
||||
@ -1028,7 +1028,7 @@ inline bool Method::response_streaming() const {
|
||||
return response_streaming_;
|
||||
}
|
||||
inline void Method::set_response_streaming(bool value) {
|
||||
|
||||
|
||||
response_streaming_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
|
||||
}
|
||||
@ -1069,7 +1069,7 @@ inline ::google::protobuf::Syntax Method::syntax() const {
|
||||
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
||||
}
|
||||
inline void Method::set_syntax(::google::protobuf::Syntax value) {
|
||||
|
||||
|
||||
syntax_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
|
||||
}
|
||||
@ -1087,13 +1087,13 @@ inline const ::std::string& Mixin::name() const {
|
||||
return name_.GetNoArena();
|
||||
}
|
||||
inline void Mixin::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Mixin::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
|
||||
@ -1101,31 +1101,31 @@ inline void Mixin::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Mixin::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
|
||||
}
|
||||
inline void Mixin::set_name(const char* value, size_t size) {
|
||||
|
||||
|
||||
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
|
||||
}
|
||||
inline ::std::string* Mixin::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
|
||||
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Mixin::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
|
||||
|
||||
|
||||
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Mixin::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
|
||||
@ -1140,13 +1140,13 @@ inline const ::std::string& Mixin::root() const {
|
||||
return root_.GetNoArena();
|
||||
}
|
||||
inline void Mixin::set_root(const ::std::string& value) {
|
||||
|
||||
|
||||
root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Mixin::set_root(::std::string&& value) {
|
||||
|
||||
|
||||
root_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
|
||||
@ -1154,31 +1154,31 @@ inline void Mixin::set_root(::std::string&& value) {
|
||||
#endif
|
||||
inline void Mixin::set_root(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
|
||||
}
|
||||
inline void Mixin::set_root(const char* value, size_t size) {
|
||||
|
||||
|
||||
root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
|
||||
}
|
||||
inline ::std::string* Mixin::mutable_root() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
|
||||
return root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Mixin::release_root() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
|
||||
|
||||
|
||||
return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Mixin::set_allocated_root(::std::string* root) {
|
||||
if (root != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
root_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
|
||||
|
@ -198,7 +198,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2epro
|
||||
"rotobuf/protoc-gen-go/plugin;plugin_go"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fcompiler_2fplugin_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fcompiler_2fplugin_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto,
|
||||
"google/protobuf/compiler/plugin.proto", &assign_descriptors_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, 638,
|
||||
};
|
||||
|
@ -1205,7 +1205,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] =
|
||||
"le.Protobuf.Reflection"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fdescriptor_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fdescriptor_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto,
|
||||
"google/protobuf/descriptor.proto", &assign_descriptors_table_google_2fprotobuf_2fdescriptor_2eproto, 6022,
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fduration_2eproto[] =
|
||||
"obuf.WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fduration_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fduration_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fduration_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fduration_2eproto,
|
||||
"google/protobuf/duration.proto", &assign_descriptors_table_google_2fprotobuf_2fduration_2eproto, 227,
|
||||
};
|
||||
|
@ -213,7 +213,7 @@ inline ::google::protobuf::int64 Duration::seconds() const {
|
||||
return seconds_;
|
||||
}
|
||||
inline void Duration::set_seconds(::google::protobuf::int64 value) {
|
||||
|
||||
|
||||
seconds_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Duration.seconds)
|
||||
}
|
||||
@ -227,7 +227,7 @@ inline ::google::protobuf::int32 Duration::nanos() const {
|
||||
return nanos_;
|
||||
}
|
||||
inline void Duration::set_nanos(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
nanos_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Duration.nanos)
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto[] =
|
||||
".WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fempty_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fempty_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto,
|
||||
"google/protobuf/empty.proto", &assign_descriptors_table_google_2fprotobuf_2fempty_2eproto, 183,
|
||||
};
|
||||
|
@ -77,7 +77,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2ffield_5fmask_2eproto[]
|
||||
"rotobuf.WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2ffield_5fmask_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2ffield_5fmask_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2ffield_5fmask_2eproto,
|
||||
"google/protobuf/field_mask.proto", &assign_descriptors_table_google_2fprotobuf_2ffield_5fmask_2eproto, 230,
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fsource_5fcontext_2eprot
|
||||
"pesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fsource_5fcontext_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fsource_5fcontext_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fsource_5fcontext_2eproto,
|
||||
"google/protobuf/source_context.proto", &assign_descriptors_table_google_2fprotobuf_2fsource_5fcontext_2eproto, 251,
|
||||
};
|
||||
|
@ -199,13 +199,13 @@ inline const ::std::string& SourceContext::file_name() const {
|
||||
return file_name_.GetNoArena();
|
||||
}
|
||||
inline void SourceContext::set_file_name(const ::std::string& value) {
|
||||
|
||||
|
||||
file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.SourceContext.file_name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void SourceContext::set_file_name(::std::string&& value) {
|
||||
|
||||
|
||||
file_name_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceContext.file_name)
|
||||
@ -213,31 +213,31 @@ inline void SourceContext::set_file_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void SourceContext::set_file_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.SourceContext.file_name)
|
||||
}
|
||||
inline void SourceContext::set_file_name(const char* value, size_t size) {
|
||||
|
||||
|
||||
file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceContext.file_name)
|
||||
}
|
||||
inline ::std::string* SourceContext::mutable_file_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.SourceContext.file_name)
|
||||
return file_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* SourceContext::release_file_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.SourceContext.file_name)
|
||||
|
||||
|
||||
return file_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void SourceContext::set_allocated_file_name(::std::string* file_name) {
|
||||
if (file_name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
file_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file_name);
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceContext.file_name)
|
||||
|
@ -157,7 +157,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fstruct_2eproto[] =
|
||||
"3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fstruct_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fstruct_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fstruct_2eproto,
|
||||
"google/protobuf/struct.proto", &assign_descriptors_table_google_2fprotobuf_2fstruct_2eproto, 641,
|
||||
};
|
||||
|
@ -97,7 +97,7 @@ inline bool NullValue_Parse(
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
class Struct_FieldsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
|
||||
class Struct_FieldsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
|
||||
::std::string, ::google::protobuf::Value,
|
||||
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
||||
::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
|
||||
@ -106,7 +106,7 @@ public:
|
||||
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
|
||||
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
typedef ::google::protobuf::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
|
||||
typedef ::google::protobuf::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
|
||||
::std::string, ::google::protobuf::Value,
|
||||
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
||||
::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
|
||||
|
BIN
src/google/protobuf/testdata/golden_message_maps
vendored
BIN
src/google/protobuf/testdata/golden_message_maps
vendored
Binary file not shown.
@ -78,7 +78,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2ftimestamp_2eproto[] =
|
||||
"Protobuf.WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftimestamp_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2ftimestamp_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2ftimestamp_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2ftimestamp_2eproto,
|
||||
"google/protobuf/timestamp.proto", &assign_descriptors_table_google_2fprotobuf_2ftimestamp_2eproto, 231,
|
||||
};
|
||||
|
@ -213,7 +213,7 @@ inline ::google::protobuf::int64 Timestamp::seconds() const {
|
||||
return seconds_;
|
||||
}
|
||||
inline void Timestamp::set_seconds(::google::protobuf::int64 value) {
|
||||
|
||||
|
||||
seconds_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Timestamp.seconds)
|
||||
}
|
||||
@ -227,7 +227,7 @@ inline ::google::protobuf::int32 Timestamp::nanos() const {
|
||||
return nanos_;
|
||||
}
|
||||
inline void Timestamp::set_nanos(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
nanos_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Timestamp.nanos)
|
||||
}
|
||||
|
@ -254,7 +254,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2ftype_2eproto[] =
|
||||
"le.Protobuf.WellKnownTypesb\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2ftype_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2ftype_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2ftype_2eproto,
|
||||
"google/protobuf/type.proto", &assign_descriptors_table_google_2fprotobuf_2ftype_2eproto, 1594,
|
||||
};
|
||||
@ -389,9 +389,9 @@ void Type::unsafe_arena_set_allocated_source_context(
|
||||
}
|
||||
source_context_ = source_context;
|
||||
if (source_context) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Type.source_context)
|
||||
}
|
||||
@ -1870,9 +1870,9 @@ void Enum::unsafe_arena_set_allocated_source_context(
|
||||
}
|
||||
source_context_ = source_context;
|
||||
if (source_context) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Enum.source_context)
|
||||
}
|
||||
@ -2885,9 +2885,9 @@ void Option::unsafe_arena_set_allocated_value(
|
||||
}
|
||||
value_ = value;
|
||||
if (value) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Option.value)
|
||||
}
|
||||
|
@ -1258,13 +1258,13 @@ inline const ::std::string& Type::name() const {
|
||||
return name_.Get();
|
||||
}
|
||||
inline void Type::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Type.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Type::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Type.name)
|
||||
@ -1272,33 +1272,33 @@ inline void Type::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Type::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
|
||||
}
|
||||
inline void Type::set_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
|
||||
}
|
||||
inline ::std::string* Type::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
|
||||
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Type::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Type.name)
|
||||
|
||||
|
||||
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Type::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
||||
GetArenaNoVirtual());
|
||||
@ -1307,7 +1307,7 @@ inline void Type::set_allocated_name(::std::string* name) {
|
||||
inline ::std::string* Type::unsafe_arena_release_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1315,9 +1315,9 @@ inline void Type::unsafe_arena_set_allocated_name(
|
||||
::std::string* name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
name, GetArenaNoVirtual());
|
||||
@ -1465,7 +1465,7 @@ inline const ::google::protobuf::SourceContext& Type::source_context() const {
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Type::release_source_context() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
|
||||
|
||||
|
||||
::google::protobuf::SourceContext* temp = source_context_;
|
||||
if (GetArenaNoVirtual() != nullptr) {
|
||||
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
||||
@ -1475,13 +1475,13 @@ inline ::google::protobuf::SourceContext* Type::release_source_context() {
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Type::unsafe_arena_release_source_context() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.source_context)
|
||||
|
||||
|
||||
::google::protobuf::SourceContext* temp = source_context_;
|
||||
source_context_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Type::mutable_source_context() {
|
||||
|
||||
|
||||
if (source_context_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
||||
source_context_ = p;
|
||||
@ -1500,9 +1500,9 @@ inline void Type::set_allocated_source_context(::google::protobuf::SourceContext
|
||||
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
||||
message_arena, source_context, submessage_arena);
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
source_context_ = source_context;
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context)
|
||||
@ -1517,7 +1517,7 @@ inline ::google::protobuf::Syntax Type::syntax() const {
|
||||
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
||||
}
|
||||
inline void Type::set_syntax(::google::protobuf::Syntax value) {
|
||||
|
||||
|
||||
syntax_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
|
||||
}
|
||||
@ -1535,7 +1535,7 @@ inline ::google::protobuf::Field_Kind Field::kind() const {
|
||||
return static_cast< ::google::protobuf::Field_Kind >(kind_);
|
||||
}
|
||||
inline void Field::set_kind(::google::protobuf::Field_Kind value) {
|
||||
|
||||
|
||||
kind_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
|
||||
}
|
||||
@ -1549,7 +1549,7 @@ inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
|
||||
return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_);
|
||||
}
|
||||
inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
|
||||
|
||||
|
||||
cardinality_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
|
||||
}
|
||||
@ -1563,7 +1563,7 @@ inline ::google::protobuf::int32 Field::number() const {
|
||||
return number_;
|
||||
}
|
||||
inline void Field::set_number(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
number_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.number)
|
||||
}
|
||||
@ -1577,13 +1577,13 @@ inline const ::std::string& Field::name() const {
|
||||
return name_.Get();
|
||||
}
|
||||
inline void Field::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Field::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.name)
|
||||
@ -1591,33 +1591,33 @@ inline void Field::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Field::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
|
||||
}
|
||||
inline void Field::set_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
|
||||
}
|
||||
inline ::std::string* Field::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
|
||||
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Field::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Field.name)
|
||||
|
||||
|
||||
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Field::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
||||
GetArenaNoVirtual());
|
||||
@ -1626,7 +1626,7 @@ inline void Field::set_allocated_name(::std::string* name) {
|
||||
inline ::std::string* Field::unsafe_arena_release_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1634,9 +1634,9 @@ inline void Field::unsafe_arena_set_allocated_name(
|
||||
::std::string* name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
name, GetArenaNoVirtual());
|
||||
@ -1652,13 +1652,13 @@ inline const ::std::string& Field::type_url() const {
|
||||
return type_url_.Get();
|
||||
}
|
||||
inline void Field::set_type_url(const ::std::string& value) {
|
||||
|
||||
|
||||
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Field::set_type_url(::std::string&& value) {
|
||||
|
||||
|
||||
type_url_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.type_url)
|
||||
@ -1666,33 +1666,33 @@ inline void Field::set_type_url(::std::string&& value) {
|
||||
#endif
|
||||
inline void Field::set_type_url(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
|
||||
}
|
||||
inline void Field::set_type_url(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
|
||||
}
|
||||
inline ::std::string* Field::mutable_type_url() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
|
||||
return type_url_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Field::release_type_url() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
|
||||
|
||||
|
||||
return type_url_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Field::set_allocated_type_url(::std::string* type_url) {
|
||||
if (type_url != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
type_url_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url,
|
||||
GetArenaNoVirtual());
|
||||
@ -1701,7 +1701,7 @@ inline void Field::set_allocated_type_url(::std::string* type_url) {
|
||||
inline ::std::string* Field::unsafe_arena_release_type_url() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.type_url)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return type_url_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1709,9 +1709,9 @@ inline void Field::unsafe_arena_set_allocated_type_url(
|
||||
::std::string* type_url) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (type_url != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
type_url_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
type_url, GetArenaNoVirtual());
|
||||
@ -1727,7 +1727,7 @@ inline ::google::protobuf::int32 Field::oneof_index() const {
|
||||
return oneof_index_;
|
||||
}
|
||||
inline void Field::set_oneof_index(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
oneof_index_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
|
||||
}
|
||||
@ -1741,7 +1741,7 @@ inline bool Field::packed() const {
|
||||
return packed_;
|
||||
}
|
||||
inline void Field::set_packed(bool value) {
|
||||
|
||||
|
||||
packed_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
|
||||
}
|
||||
@ -1785,13 +1785,13 @@ inline const ::std::string& Field::json_name() const {
|
||||
return json_name_.Get();
|
||||
}
|
||||
inline void Field::set_json_name(const ::std::string& value) {
|
||||
|
||||
|
||||
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Field::set_json_name(::std::string&& value) {
|
||||
|
||||
|
||||
json_name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.json_name)
|
||||
@ -1799,33 +1799,33 @@ inline void Field::set_json_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Field::set_json_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
|
||||
}
|
||||
inline void Field::set_json_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
|
||||
}
|
||||
inline ::std::string* Field::mutable_json_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
|
||||
return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Field::release_json_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
|
||||
|
||||
|
||||
return json_name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Field::set_allocated_json_name(::std::string* json_name) {
|
||||
if (json_name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name,
|
||||
GetArenaNoVirtual());
|
||||
@ -1834,7 +1834,7 @@ inline void Field::set_allocated_json_name(::std::string* json_name) {
|
||||
inline ::std::string* Field::unsafe_arena_release_json_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.json_name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1842,9 +1842,9 @@ inline void Field::unsafe_arena_set_allocated_json_name(
|
||||
::std::string* json_name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (json_name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
json_name, GetArenaNoVirtual());
|
||||
@ -1860,13 +1860,13 @@ inline const ::std::string& Field::default_value() const {
|
||||
return default_value_.Get();
|
||||
}
|
||||
inline void Field::set_default_value(const ::std::string& value) {
|
||||
|
||||
|
||||
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Field::set_default_value(::std::string&& value) {
|
||||
|
||||
|
||||
default_value_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.default_value)
|
||||
@ -1874,33 +1874,33 @@ inline void Field::set_default_value(::std::string&& value) {
|
||||
#endif
|
||||
inline void Field::set_default_value(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
|
||||
}
|
||||
inline void Field::set_default_value(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
|
||||
}
|
||||
inline ::std::string* Field::mutable_default_value() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
|
||||
return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Field::release_default_value() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
|
||||
|
||||
|
||||
return default_value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Field::set_allocated_default_value(::std::string* default_value) {
|
||||
if (default_value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value,
|
||||
GetArenaNoVirtual());
|
||||
@ -1909,7 +1909,7 @@ inline void Field::set_allocated_default_value(::std::string* default_value) {
|
||||
inline ::std::string* Field::unsafe_arena_release_default_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.default_value)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1917,9 +1917,9 @@ inline void Field::unsafe_arena_set_allocated_default_value(
|
||||
::std::string* default_value) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (default_value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
default_value, GetArenaNoVirtual());
|
||||
@ -1939,13 +1939,13 @@ inline const ::std::string& Enum::name() const {
|
||||
return name_.Get();
|
||||
}
|
||||
inline void Enum::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Enum::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Enum.name)
|
||||
@ -1953,33 +1953,33 @@ inline void Enum::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Enum::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
|
||||
}
|
||||
inline void Enum::set_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
|
||||
}
|
||||
inline ::std::string* Enum::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
|
||||
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Enum::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
|
||||
|
||||
|
||||
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Enum::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
||||
GetArenaNoVirtual());
|
||||
@ -1988,7 +1988,7 @@ inline void Enum::set_allocated_name(::std::string* name) {
|
||||
inline ::std::string* Enum::unsafe_arena_release_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1996,9 +1996,9 @@ inline void Enum::unsafe_arena_set_allocated_name(
|
||||
::std::string* name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
name, GetArenaNoVirtual());
|
||||
@ -2077,7 +2077,7 @@ inline const ::google::protobuf::SourceContext& Enum::source_context() const {
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Enum::release_source_context() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
|
||||
|
||||
|
||||
::google::protobuf::SourceContext* temp = source_context_;
|
||||
if (GetArenaNoVirtual() != nullptr) {
|
||||
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
||||
@ -2087,13 +2087,13 @@ inline ::google::protobuf::SourceContext* Enum::release_source_context() {
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Enum::unsafe_arena_release_source_context() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.source_context)
|
||||
|
||||
|
||||
::google::protobuf::SourceContext* temp = source_context_;
|
||||
source_context_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::google::protobuf::SourceContext* Enum::mutable_source_context() {
|
||||
|
||||
|
||||
if (source_context_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
||||
source_context_ = p;
|
||||
@ -2112,9 +2112,9 @@ inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext
|
||||
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
||||
message_arena, source_context, submessage_arena);
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
source_context_ = source_context;
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context)
|
||||
@ -2129,7 +2129,7 @@ inline ::google::protobuf::Syntax Enum::syntax() const {
|
||||
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
||||
}
|
||||
inline void Enum::set_syntax(::google::protobuf::Syntax value) {
|
||||
|
||||
|
||||
syntax_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
|
||||
}
|
||||
@ -2147,13 +2147,13 @@ inline const ::std::string& EnumValue::name() const {
|
||||
return name_.Get();
|
||||
}
|
||||
inline void EnumValue::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void EnumValue::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValue.name)
|
||||
@ -2161,33 +2161,33 @@ inline void EnumValue::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void EnumValue::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
|
||||
}
|
||||
inline void EnumValue::set_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
|
||||
}
|
||||
inline ::std::string* EnumValue::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
|
||||
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* EnumValue::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
|
||||
|
||||
|
||||
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void EnumValue::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
||||
GetArenaNoVirtual());
|
||||
@ -2196,7 +2196,7 @@ inline void EnumValue::set_allocated_name(::std::string* name) {
|
||||
inline ::std::string* EnumValue::unsafe_arena_release_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValue.name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -2204,9 +2204,9 @@ inline void EnumValue::unsafe_arena_set_allocated_name(
|
||||
::std::string* name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
name, GetArenaNoVirtual());
|
||||
@ -2222,7 +2222,7 @@ inline ::google::protobuf::int32 EnumValue::number() const {
|
||||
return number_;
|
||||
}
|
||||
inline void EnumValue::set_number(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
number_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
|
||||
}
|
||||
@ -2270,13 +2270,13 @@ inline const ::std::string& Option::name() const {
|
||||
return name_.Get();
|
||||
}
|
||||
inline void Option::set_name(const ::std::string& value) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Option.name)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Option::set_name(::std::string&& value) {
|
||||
|
||||
|
||||
name_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Option.name)
|
||||
@ -2284,33 +2284,33 @@ inline void Option::set_name(::std::string&& value) {
|
||||
#endif
|
||||
inline void Option::set_name(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
|
||||
}
|
||||
inline void Option::set_name(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
|
||||
}
|
||||
inline ::std::string* Option::mutable_name() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
|
||||
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* Option::release_name() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Option.name)
|
||||
|
||||
|
||||
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void Option::set_allocated_name(::std::string* name) {
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
||||
GetArenaNoVirtual());
|
||||
@ -2319,7 +2319,7 @@ inline void Option::set_allocated_name(::std::string* name) {
|
||||
inline ::std::string* Option::unsafe_arena_release_name() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.name)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -2327,9 +2327,9 @@ inline void Option::unsafe_arena_set_allocated_name(
|
||||
::std::string* name) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (name != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
name, GetArenaNoVirtual());
|
||||
@ -2348,7 +2348,7 @@ inline const ::google::protobuf::Any& Option::value() const {
|
||||
}
|
||||
inline ::google::protobuf::Any* Option::release_value() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.Option.value)
|
||||
|
||||
|
||||
::google::protobuf::Any* temp = value_;
|
||||
if (GetArenaNoVirtual() != nullptr) {
|
||||
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
||||
@ -2358,13 +2358,13 @@ inline ::google::protobuf::Any* Option::release_value() {
|
||||
}
|
||||
inline ::google::protobuf::Any* Option::unsafe_arena_release_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.value)
|
||||
|
||||
|
||||
::google::protobuf::Any* temp = value_;
|
||||
value_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::google::protobuf::Any* Option::mutable_value() {
|
||||
|
||||
|
||||
if (value_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
|
||||
value_ = p;
|
||||
@ -2383,9 +2383,9 @@ inline void Option::set_allocated_value(::google::protobuf::Any* value) {
|
||||
value = ::google::protobuf::internal::GetOwnedMessage(
|
||||
message_arena, value, submessage_arena);
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
|
||||
|
@ -299,7 +299,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto[] =
|
||||
"\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto = {
|
||||
false, InitDefaults_google_2fprotobuf_2fwrappers_2eproto,
|
||||
false, InitDefaults_google_2fprotobuf_2fwrappers_2eproto,
|
||||
descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto,
|
||||
"google/protobuf/wrappers.proto", &assign_descriptors_table_google_2fprotobuf_2fwrappers_2eproto, 447,
|
||||
};
|
||||
|
@ -1288,7 +1288,7 @@ inline double DoubleValue::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void DoubleValue::set_value(double value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
|
||||
}
|
||||
@ -1306,7 +1306,7 @@ inline float FloatValue::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void FloatValue::set_value(float value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
|
||||
}
|
||||
@ -1324,7 +1324,7 @@ inline ::google::protobuf::int64 Int64Value::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void Int64Value::set_value(::google::protobuf::int64 value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
|
||||
}
|
||||
@ -1342,7 +1342,7 @@ inline ::google::protobuf::uint64 UInt64Value::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void UInt64Value::set_value(::google::protobuf::uint64 value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
|
||||
}
|
||||
@ -1360,7 +1360,7 @@ inline ::google::protobuf::int32 Int32Value::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void Int32Value::set_value(::google::protobuf::int32 value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
|
||||
}
|
||||
@ -1378,7 +1378,7 @@ inline ::google::protobuf::uint32 UInt32Value::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void UInt32Value::set_value(::google::protobuf::uint32 value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
|
||||
}
|
||||
@ -1396,7 +1396,7 @@ inline bool BoolValue::value() const {
|
||||
return value_;
|
||||
}
|
||||
inline void BoolValue::set_value(bool value) {
|
||||
|
||||
|
||||
value_ = value;
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
|
||||
}
|
||||
@ -1414,13 +1414,13 @@ inline const ::std::string& StringValue::value() const {
|
||||
return value_.Get();
|
||||
}
|
||||
inline void StringValue::set_value(const ::std::string& value) {
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void StringValue::set_value(::std::string&& value) {
|
||||
|
||||
|
||||
value_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.StringValue.value)
|
||||
@ -1428,33 +1428,33 @@ inline void StringValue::set_value(::std::string&& value) {
|
||||
#endif
|
||||
inline void StringValue::set_value(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.StringValue.value)
|
||||
}
|
||||
inline void StringValue::set_value(const char* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.StringValue.value)
|
||||
}
|
||||
inline ::std::string* StringValue::mutable_value() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
|
||||
return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* StringValue::release_value() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
|
||||
|
||||
|
||||
return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void StringValue::set_allocated_value(::std::string* value) {
|
||||
if (value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
|
||||
GetArenaNoVirtual());
|
||||
@ -1463,7 +1463,7 @@ inline void StringValue::set_allocated_value(::std::string* value) {
|
||||
inline ::std::string* StringValue::unsafe_arena_release_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.StringValue.value)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1471,9 +1471,9 @@ inline void StringValue::unsafe_arena_set_allocated_value(
|
||||
::std::string* value) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
value, GetArenaNoVirtual());
|
||||
@ -1493,13 +1493,13 @@ inline const ::std::string& BytesValue::value() const {
|
||||
return value_.Get();
|
||||
}
|
||||
inline void BytesValue::set_value(const ::std::string& value) {
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void BytesValue::set_value(::std::string&& value) {
|
||||
|
||||
|
||||
value_.Set(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.BytesValue.value)
|
||||
@ -1507,33 +1507,33 @@ inline void BytesValue::set_value(::std::string&& value) {
|
||||
#endif
|
||||
inline void BytesValue::set_value(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
||||
GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_char:google.protobuf.BytesValue.value)
|
||||
}
|
||||
inline void BytesValue::set_value(const void* value,
|
||||
size_t size) {
|
||||
|
||||
|
||||
value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||||
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
||||
// @@protoc_insertion_point(field_set_pointer:google.protobuf.BytesValue.value)
|
||||
}
|
||||
inline ::std::string* BytesValue::mutable_value() {
|
||||
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
|
||||
return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline ::std::string* BytesValue::release_value() {
|
||||
// @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
|
||||
|
||||
|
||||
return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
||||
}
|
||||
inline void BytesValue::set_allocated_value(::std::string* value) {
|
||||
if (value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
|
||||
GetArenaNoVirtual());
|
||||
@ -1542,7 +1542,7 @@ inline void BytesValue::set_allocated_value(::std::string* value) {
|
||||
inline ::std::string* BytesValue::unsafe_arena_release_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.BytesValue.value)
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
|
||||
|
||||
return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
@ -1550,9 +1550,9 @@ inline void BytesValue::unsafe_arena_set_allocated_value(
|
||||
::std::string* value) {
|
||||
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
||||
if (value != nullptr) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
value, GetArenaNoVirtual());
|
||||
|
Loading…
Reference in New Issue
Block a user