|
@@ -1258,13 +1258,13 @@ inline const ::std::string& Type::name() const {
|
|
return name_.Get();
|
|
return name_.Get();
|
|
}
|
|
}
|
|
inline void Type::set_name(const ::std::string& value) {
|
|
inline void Type::set_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Type.name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Type::set_name(::std::string&& value) {
|
|
inline void Type::set_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(
|
|
name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Type.name)
|
|
@@ -1272,33 +1272,33 @@ inline void Type::set_name(::std::string&& value) {
|
|
#endif
|
|
#endif
|
|
inline void Type::set_name(const char* value) {
|
|
inline void Type::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
|
|
}
|
|
}
|
|
inline void Type::set_name(const char* value,
|
|
inline void Type::set_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
|
|
}
|
|
}
|
|
inline ::std::string* Type::mutable_name() {
|
|
inline ::std::string* Type::mutable_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Type::release_name() {
|
|
inline ::std::string* Type::release_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Type.name)
|
|
-
|
|
|
|
|
|
+
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Type::set_allocated_name(::std::string* name) {
|
|
inline void Type::set_allocated_name(::std::string* name) {
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
@@ -1307,7 +1307,7 @@ inline void Type::set_allocated_name(::std::string* name) {
|
|
inline ::std::string* Type::unsafe_arena_release_name() {
|
|
inline ::std::string* Type::unsafe_arena_release_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1315,9 +1315,9 @@ inline void Type::unsafe_arena_set_allocated_name(
|
|
::std::string* name) {
|
|
::std::string* name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name, GetArenaNoVirtual());
|
|
name, GetArenaNoVirtual());
|
|
@@ -1465,7 +1465,7 @@ inline const ::google::protobuf::SourceContext& Type::source_context() const {
|
|
}
|
|
}
|
|
inline ::google::protobuf::SourceContext* Type::release_source_context() {
|
|
inline ::google::protobuf::SourceContext* Type::release_source_context() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
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() {
|
|
inline ::google::protobuf::SourceContext* Type::unsafe_arena_release_source_context() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.source_context)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.source_context)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
source_context_ = nullptr;
|
|
source_context_ = nullptr;
|
|
return temp;
|
|
return temp;
|
|
}
|
|
}
|
|
inline ::google::protobuf::SourceContext* Type::mutable_source_context() {
|
|
inline ::google::protobuf::SourceContext* Type::mutable_source_context() {
|
|
-
|
|
|
|
|
|
+
|
|
if (source_context_ == nullptr) {
|
|
if (source_context_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
|
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
|
source_context_ = p;
|
|
source_context_ = p;
|
|
@@ -1500,9 +1500,9 @@ inline void Type::set_allocated_source_context(::google::protobuf::SourceContext
|
|
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
|
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, source_context, submessage_arena);
|
|
message_arena, source_context, submessage_arena);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
source_context_ = source_context;
|
|
source_context_ = source_context;
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.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_);
|
|
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
|
}
|
|
}
|
|
inline void Type::set_syntax(::google::protobuf::Syntax value) {
|
|
inline void Type::set_syntax(::google::protobuf::Syntax value) {
|
|
-
|
|
|
|
|
|
+
|
|
syntax_ = value;
|
|
syntax_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
|
|
// @@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_);
|
|
return static_cast< ::google::protobuf::Field_Kind >(kind_);
|
|
}
|
|
}
|
|
inline void Field::set_kind(::google::protobuf::Field_Kind value) {
|
|
inline void Field::set_kind(::google::protobuf::Field_Kind value) {
|
|
-
|
|
|
|
|
|
+
|
|
kind_ = value;
|
|
kind_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
|
|
// @@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_);
|
|
return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_);
|
|
}
|
|
}
|
|
inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
|
|
inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
|
|
-
|
|
|
|
|
|
+
|
|
cardinality_ = value;
|
|
cardinality_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
|
|
}
|
|
}
|
|
@@ -1563,7 +1563,7 @@ inline ::google::protobuf::int32 Field::number() const {
|
|
return number_;
|
|
return number_;
|
|
}
|
|
}
|
|
inline void Field::set_number(::google::protobuf::int32 value) {
|
|
inline void Field::set_number(::google::protobuf::int32 value) {
|
|
-
|
|
|
|
|
|
+
|
|
number_ = value;
|
|
number_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.number)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.number)
|
|
}
|
|
}
|
|
@@ -1577,13 +1577,13 @@ inline const ::std::string& Field::name() const {
|
|
return name_.Get();
|
|
return name_.Get();
|
|
}
|
|
}
|
|
inline void Field::set_name(const ::std::string& value) {
|
|
inline void Field::set_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Field::set_name(::std::string&& value) {
|
|
inline void Field::set_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(
|
|
name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.name)
|
|
@@ -1591,33 +1591,33 @@ inline void Field::set_name(::std::string&& value) {
|
|
#endif
|
|
#endif
|
|
inline void Field::set_name(const char* value) {
|
|
inline void Field::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
|
|
}
|
|
}
|
|
inline void Field::set_name(const char* value,
|
|
inline void Field::set_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
|
|
}
|
|
}
|
|
inline ::std::string* Field::mutable_name() {
|
|
inline ::std::string* Field::mutable_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Field::release_name() {
|
|
inline ::std::string* Field::release_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.name)
|
|
-
|
|
|
|
|
|
+
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Field::set_allocated_name(::std::string* name) {
|
|
inline void Field::set_allocated_name(::std::string* name) {
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
@@ -1626,7 +1626,7 @@ inline void Field::set_allocated_name(::std::string* name) {
|
|
inline ::std::string* Field::unsafe_arena_release_name() {
|
|
inline ::std::string* Field::unsafe_arena_release_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1634,9 +1634,9 @@ inline void Field::unsafe_arena_set_allocated_name(
|
|
::std::string* name) {
|
|
::std::string* name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name, GetArenaNoVirtual());
|
|
name, GetArenaNoVirtual());
|
|
@@ -1652,13 +1652,13 @@ inline const ::std::string& Field::type_url() const {
|
|
return type_url_.Get();
|
|
return type_url_.Get();
|
|
}
|
|
}
|
|
inline void Field::set_type_url(const ::std::string& value) {
|
|
inline void Field::set_type_url(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Field::set_type_url(::std::string&& value) {
|
|
inline void Field::set_type_url(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
type_url_.Set(
|
|
type_url_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.type_url)
|
|
// @@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
|
|
#endif
|
|
inline void Field::set_type_url(const char* value) {
|
|
inline void Field::set_type_url(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
|
|
}
|
|
}
|
|
inline void Field::set_type_url(const char* value,
|
|
inline void Field::set_type_url(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
|
|
}
|
|
}
|
|
inline ::std::string* Field::mutable_type_url() {
|
|
inline ::std::string* Field::mutable_type_url() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
|
|
return type_url_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return type_url_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Field::release_type_url() {
|
|
inline ::std::string* Field::release_type_url() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
|
|
-
|
|
|
|
|
|
+
|
|
return type_url_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return type_url_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Field::set_allocated_type_url(::std::string* type_url) {
|
|
inline void Field::set_allocated_type_url(::std::string* type_url) {
|
|
if (type_url != nullptr) {
|
|
if (type_url != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
type_url_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url,
|
|
type_url_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url,
|
|
GetArenaNoVirtual());
|
|
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() {
|
|
inline ::std::string* Field::unsafe_arena_release_type_url() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.type_url)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.type_url)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return type_url_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return type_url_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1709,9 +1709,9 @@ inline void Field::unsafe_arena_set_allocated_type_url(
|
|
::std::string* type_url) {
|
|
::std::string* type_url) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (type_url != nullptr) {
|
|
if (type_url != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
type_url_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
type_url_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
type_url, GetArenaNoVirtual());
|
|
type_url, GetArenaNoVirtual());
|
|
@@ -1727,7 +1727,7 @@ inline ::google::protobuf::int32 Field::oneof_index() const {
|
|
return oneof_index_;
|
|
return oneof_index_;
|
|
}
|
|
}
|
|
inline void Field::set_oneof_index(::google::protobuf::int32 value) {
|
|
inline void Field::set_oneof_index(::google::protobuf::int32 value) {
|
|
-
|
|
|
|
|
|
+
|
|
oneof_index_ = value;
|
|
oneof_index_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
|
|
}
|
|
}
|
|
@@ -1741,7 +1741,7 @@ inline bool Field::packed() const {
|
|
return packed_;
|
|
return packed_;
|
|
}
|
|
}
|
|
inline void Field::set_packed(bool value) {
|
|
inline void Field::set_packed(bool value) {
|
|
-
|
|
|
|
|
|
+
|
|
packed_ = value;
|
|
packed_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
|
|
// @@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();
|
|
return json_name_.Get();
|
|
}
|
|
}
|
|
inline void Field::set_json_name(const ::std::string& value) {
|
|
inline void Field::set_json_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Field::set_json_name(::std::string&& value) {
|
|
inline void Field::set_json_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
json_name_.Set(
|
|
json_name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.json_name)
|
|
// @@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
|
|
#endif
|
|
inline void Field::set_json_name(const char* value) {
|
|
inline void Field::set_json_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
|
|
}
|
|
}
|
|
inline void Field::set_json_name(const char* value,
|
|
inline void Field::set_json_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
|
|
}
|
|
}
|
|
inline ::std::string* Field::mutable_json_name() {
|
|
inline ::std::string* Field::mutable_json_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
|
|
return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Field::release_json_name() {
|
|
inline ::std::string* Field::release_json_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
|
|
-
|
|
|
|
|
|
+
|
|
return json_name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return json_name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Field::set_allocated_json_name(::std::string* json_name) {
|
|
inline void Field::set_allocated_json_name(::std::string* json_name) {
|
|
if (json_name != nullptr) {
|
|
if (json_name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name,
|
|
json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name,
|
|
GetArenaNoVirtual());
|
|
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() {
|
|
inline ::std::string* Field::unsafe_arena_release_json_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.json_name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.json_name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1842,9 +1842,9 @@ inline void Field::unsafe_arena_set_allocated_json_name(
|
|
::std::string* json_name) {
|
|
::std::string* json_name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (json_name != nullptr) {
|
|
if (json_name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
json_name, GetArenaNoVirtual());
|
|
json_name, GetArenaNoVirtual());
|
|
@@ -1860,13 +1860,13 @@ inline const ::std::string& Field::default_value() const {
|
|
return default_value_.Get();
|
|
return default_value_.Get();
|
|
}
|
|
}
|
|
inline void Field::set_default_value(const ::std::string& value) {
|
|
inline void Field::set_default_value(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Field::set_default_value(::std::string&& value) {
|
|
inline void Field::set_default_value(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
default_value_.Set(
|
|
default_value_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.default_value)
|
|
// @@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
|
|
#endif
|
|
inline void Field::set_default_value(const char* value) {
|
|
inline void Field::set_default_value(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
|
|
}
|
|
}
|
|
inline void Field::set_default_value(const char* value,
|
|
inline void Field::set_default_value(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
|
|
}
|
|
}
|
|
inline ::std::string* Field::mutable_default_value() {
|
|
inline ::std::string* Field::mutable_default_value() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
|
|
return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Field::release_default_value() {
|
|
inline ::std::string* Field::release_default_value() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
|
|
-
|
|
|
|
|
|
+
|
|
return default_value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return default_value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Field::set_allocated_default_value(::std::string* default_value) {
|
|
inline void Field::set_allocated_default_value(::std::string* default_value) {
|
|
if (default_value != nullptr) {
|
|
if (default_value != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value,
|
|
default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value,
|
|
GetArenaNoVirtual());
|
|
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() {
|
|
inline ::std::string* Field::unsafe_arena_release_default_value() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.default_value)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.default_value)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1917,9 +1917,9 @@ inline void Field::unsafe_arena_set_allocated_default_value(
|
|
::std::string* default_value) {
|
|
::std::string* default_value) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (default_value != nullptr) {
|
|
if (default_value != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
default_value, GetArenaNoVirtual());
|
|
default_value, GetArenaNoVirtual());
|
|
@@ -1939,13 +1939,13 @@ inline const ::std::string& Enum::name() const {
|
|
return name_.Get();
|
|
return name_.Get();
|
|
}
|
|
}
|
|
inline void Enum::set_name(const ::std::string& value) {
|
|
inline void Enum::set_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Enum::set_name(::std::string&& value) {
|
|
inline void Enum::set_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(
|
|
name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Enum.name)
|
|
@@ -1953,33 +1953,33 @@ inline void Enum::set_name(::std::string&& value) {
|
|
#endif
|
|
#endif
|
|
inline void Enum::set_name(const char* value) {
|
|
inline void Enum::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
|
|
}
|
|
}
|
|
inline void Enum::set_name(const char* value,
|
|
inline void Enum::set_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
|
|
}
|
|
}
|
|
inline ::std::string* Enum::mutable_name() {
|
|
inline ::std::string* Enum::mutable_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Enum::release_name() {
|
|
inline ::std::string* Enum::release_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
|
|
-
|
|
|
|
|
|
+
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Enum::set_allocated_name(::std::string* name) {
|
|
inline void Enum::set_allocated_name(::std::string* name) {
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
@@ -1988,7 +1988,7 @@ inline void Enum::set_allocated_name(::std::string* name) {
|
|
inline ::std::string* Enum::unsafe_arena_release_name() {
|
|
inline ::std::string* Enum::unsafe_arena_release_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -1996,9 +1996,9 @@ inline void Enum::unsafe_arena_set_allocated_name(
|
|
::std::string* name) {
|
|
::std::string* name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name, GetArenaNoVirtual());
|
|
name, GetArenaNoVirtual());
|
|
@@ -2077,7 +2077,7 @@ inline const ::google::protobuf::SourceContext& Enum::source_context() const {
|
|
}
|
|
}
|
|
inline ::google::protobuf::SourceContext* Enum::release_source_context() {
|
|
inline ::google::protobuf::SourceContext* Enum::release_source_context() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
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() {
|
|
inline ::google::protobuf::SourceContext* Enum::unsafe_arena_release_source_context() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.source_context)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.source_context)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
::google::protobuf::SourceContext* temp = source_context_;
|
|
source_context_ = nullptr;
|
|
source_context_ = nullptr;
|
|
return temp;
|
|
return temp;
|
|
}
|
|
}
|
|
inline ::google::protobuf::SourceContext* Enum::mutable_source_context() {
|
|
inline ::google::protobuf::SourceContext* Enum::mutable_source_context() {
|
|
-
|
|
|
|
|
|
+
|
|
if (source_context_ == nullptr) {
|
|
if (source_context_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
|
auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
|
|
source_context_ = p;
|
|
source_context_ = p;
|
|
@@ -2112,9 +2112,9 @@ inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext
|
|
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
|
source_context = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, source_context, submessage_arena);
|
|
message_arena, source_context, submessage_arena);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
source_context_ = source_context;
|
|
source_context_ = source_context;
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.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_);
|
|
return static_cast< ::google::protobuf::Syntax >(syntax_);
|
|
}
|
|
}
|
|
inline void Enum::set_syntax(::google::protobuf::Syntax value) {
|
|
inline void Enum::set_syntax(::google::protobuf::Syntax value) {
|
|
-
|
|
|
|
|
|
+
|
|
syntax_ = value;
|
|
syntax_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
|
|
}
|
|
}
|
|
@@ -2147,13 +2147,13 @@ inline const ::std::string& EnumValue::name() const {
|
|
return name_.Get();
|
|
return name_.Get();
|
|
}
|
|
}
|
|
inline void EnumValue::set_name(const ::std::string& value) {
|
|
inline void EnumValue::set_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void EnumValue::set_name(::std::string&& value) {
|
|
inline void EnumValue::set_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(
|
|
name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValue.name)
|
|
@@ -2161,33 +2161,33 @@ inline void EnumValue::set_name(::std::string&& value) {
|
|
#endif
|
|
#endif
|
|
inline void EnumValue::set_name(const char* value) {
|
|
inline void EnumValue::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
|
|
}
|
|
}
|
|
inline void EnumValue::set_name(const char* value,
|
|
inline void EnumValue::set_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
|
|
}
|
|
}
|
|
inline ::std::string* EnumValue::mutable_name() {
|
|
inline ::std::string* EnumValue::mutable_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* EnumValue::release_name() {
|
|
inline ::std::string* EnumValue::release_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
|
|
-
|
|
|
|
|
|
+
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void EnumValue::set_allocated_name(::std::string* name) {
|
|
inline void EnumValue::set_allocated_name(::std::string* name) {
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
@@ -2196,7 +2196,7 @@ inline void EnumValue::set_allocated_name(::std::string* name) {
|
|
inline ::std::string* EnumValue::unsafe_arena_release_name() {
|
|
inline ::std::string* EnumValue::unsafe_arena_release_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValue.name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValue.name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -2204,9 +2204,9 @@ inline void EnumValue::unsafe_arena_set_allocated_name(
|
|
::std::string* name) {
|
|
::std::string* name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name, GetArenaNoVirtual());
|
|
name, GetArenaNoVirtual());
|
|
@@ -2222,7 +2222,7 @@ inline ::google::protobuf::int32 EnumValue::number() const {
|
|
return number_;
|
|
return number_;
|
|
}
|
|
}
|
|
inline void EnumValue::set_number(::google::protobuf::int32 value) {
|
|
inline void EnumValue::set_number(::google::protobuf::int32 value) {
|
|
-
|
|
|
|
|
|
+
|
|
number_ = value;
|
|
number_ = value;
|
|
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
|
|
}
|
|
}
|
|
@@ -2270,13 +2270,13 @@ inline const ::std::string& Option::name() const {
|
|
return name_.Get();
|
|
return name_.Get();
|
|
}
|
|
}
|
|
inline void Option::set_name(const ::std::string& value) {
|
|
inline void Option::set_name(const ::std::string& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Option.name)
|
|
}
|
|
}
|
|
#if LANG_CXX11
|
|
#if LANG_CXX11
|
|
inline void Option::set_name(::std::string&& value) {
|
|
inline void Option::set_name(::std::string&& value) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(
|
|
name_.Set(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_set_rvalue:google.protobuf.Option.name)
|
|
@@ -2284,33 +2284,33 @@ inline void Option::set_name(::std::string&& value) {
|
|
#endif
|
|
#endif
|
|
inline void Option::set_name(const char* value) {
|
|
inline void Option::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
|
|
}
|
|
}
|
|
inline void Option::set_name(const char* value,
|
|
inline void Option::set_name(const char* value,
|
|
size_t size) {
|
|
size_t size) {
|
|
-
|
|
|
|
|
|
+
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
|
|
}
|
|
}
|
|
inline ::std::string* Option::mutable_name() {
|
|
inline ::std::string* Option::mutable_name() {
|
|
-
|
|
|
|
|
|
+
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline ::std::string* Option::release_name() {
|
|
inline ::std::string* Option::release_name() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Option.name)
|
|
-
|
|
|
|
|
|
+
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
|
|
}
|
|
}
|
|
inline void Option::set_allocated_name(::std::string* name) {
|
|
inline void Option::set_allocated_name(::std::string* name) {
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
@@ -2319,7 +2319,7 @@ inline void Option::set_allocated_name(::std::string* name) {
|
|
inline ::std::string* Option::unsafe_arena_release_name() {
|
|
inline ::std::string* Option::unsafe_arena_release_name() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.name)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.name)
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
-
|
|
|
|
|
|
+
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
GetArenaNoVirtual());
|
|
GetArenaNoVirtual());
|
|
}
|
|
}
|
|
@@ -2327,9 +2327,9 @@ inline void Option::unsafe_arena_set_allocated_name(
|
|
::std::string* name) {
|
|
::std::string* name) {
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
|
|
if (name != nullptr) {
|
|
if (name != nullptr) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
name, GetArenaNoVirtual());
|
|
name, GetArenaNoVirtual());
|
|
@@ -2348,7 +2348,7 @@ inline const ::google::protobuf::Any& Option::value() const {
|
|
}
|
|
}
|
|
inline ::google::protobuf::Any* Option::release_value() {
|
|
inline ::google::protobuf::Any* Option::release_value() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Option.value)
|
|
// @@protoc_insertion_point(field_release:google.protobuf.Option.value)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::Any* temp = value_;
|
|
::google::protobuf::Any* temp = value_;
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
if (GetArenaNoVirtual() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
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() {
|
|
inline ::google::protobuf::Any* Option::unsafe_arena_release_value() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.value)
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.value)
|
|
-
|
|
|
|
|
|
+
|
|
::google::protobuf::Any* temp = value_;
|
|
::google::protobuf::Any* temp = value_;
|
|
value_ = nullptr;
|
|
value_ = nullptr;
|
|
return temp;
|
|
return temp;
|
|
}
|
|
}
|
|
inline ::google::protobuf::Any* Option::mutable_value() {
|
|
inline ::google::protobuf::Any* Option::mutable_value() {
|
|
-
|
|
|
|
|
|
+
|
|
if (value_ == nullptr) {
|
|
if (value_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
|
|
auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
|
|
value_ = p;
|
|
value_ = p;
|
|
@@ -2383,9 +2383,9 @@ inline void Option::set_allocated_value(::google::protobuf::Any* value) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(
|
|
value = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, value, submessage_arena);
|
|
message_arena, value, submessage_arena);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
value_ = value;
|
|
value_ = value;
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
|