Auto-generate files after cl/527358203

pull/12572/head
Protobuf Team Bot 2 years ago
parent 155068d313
commit 12747a4e2f
  1. 16
      src/google/protobuf/api.pb.cc
  2. 48
      src/google/protobuf/api.pb.h
  3. 4
      src/google/protobuf/field_mask.pb.cc
  4. 12
      src/google/protobuf/field_mask.pb.h
  5. 4
      src/google/protobuf/struct.pb.cc
  6. 12
      src/google/protobuf/struct.pb.h
  7. 28
      src/google/protobuf/type.pb.cc
  8. 84
      src/google/protobuf/type.pb.h

@ -394,7 +394,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_methods(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_methods()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
@ -408,7 +408,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
@ -442,7 +442,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_mixins(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_mixins()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
@ -501,7 +501,7 @@ failure:
// repeated .google.protobuf.Method methods = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_methods_size()); i < n; i++) {
const auto& repfield = this->_internal_methods(i);
const auto& repfield = this->_internal_methods().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
@ -509,7 +509,7 @@ failure:
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
}
@ -533,7 +533,7 @@ failure:
// repeated .google.protobuf.Mixin mixins = 6;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_mixins_size()); i < n; i++) {
const auto& repfield = this->_internal_mixins(i);
const auto& repfield = this->_internal_mixins().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
}
@ -875,7 +875,7 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
@ -963,7 +963,7 @@ failure:
// repeated .google.protobuf.Option options = 6;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
}

@ -223,8 +223,6 @@ class PROTOBUF_EXPORT Api final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >*
mutable_methods();
private:
const ::PROTOBUF_NAMESPACE_ID::Method& _internal_methods(int index) const;
::PROTOBUF_NAMESPACE_ID::Method* _internal_add_methods();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Method>& _internal_methods() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Method>* _internal_mutable_methods();
public:
@ -243,8 +241,6 @@ class PROTOBUF_EXPORT Api final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -263,8 +259,6 @@ class PROTOBUF_EXPORT Api final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >*
mutable_mixins();
private:
const ::PROTOBUF_NAMESPACE_ID::Mixin& _internal_mixins(int index) const;
::PROTOBUF_NAMESPACE_ID::Mixin* _internal_add_mixins();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Mixin>& _internal_mixins() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Mixin>* _internal_mutable_mixins();
public:
@ -504,8 +498,6 @@ class PROTOBUF_EXPORT Method final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -892,18 +884,12 @@ Api::mutable_methods() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
return _internal_mutable_methods();
}
inline const ::PROTOBUF_NAMESPACE_ID::Method& Api::_internal_methods(int index) const {
return _internal_methods().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
return _internal_methods(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Method* Api::_internal_add_methods() {
return _internal_mutable_methods()->Add();
return _internal_methods().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() {
::PROTOBUF_NAMESPACE_ID::Method* _add = _internal_add_methods();
::PROTOBUF_NAMESPACE_ID::Method* _add = _internal_mutable_methods()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
return _add;
}
@ -937,18 +923,12 @@ Api::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Api::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Api::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Api::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Api.options)
return _add;
}
@ -1116,18 +1096,12 @@ Api::mutable_mixins() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
return _internal_mutable_mixins();
}
inline const ::PROTOBUF_NAMESPACE_ID::Mixin& Api::_internal_mixins(int index) const {
return _internal_mixins().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
return _internal_mixins(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Mixin* Api::_internal_add_mixins() {
return _internal_mutable_mixins()->Add();
return _internal_mixins().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() {
::PROTOBUF_NAMESPACE_ID::Mixin* _add = _internal_add_mixins();
::PROTOBUF_NAMESPACE_ID::Mixin* _add = _internal_mutable_mixins()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
return _add;
}
@ -1366,18 +1340,12 @@ Method::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Method::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Method.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Method::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Method::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Method.options)
return _add;
}

@ -175,7 +175,7 @@ const char* FieldMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx
ptr -= 1;
do {
ptr += 1;
auto str = _internal_add_paths();
auto str = _internal_mutable_paths()->Add();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.FieldMask.paths"));
@ -216,7 +216,7 @@ failure:
// repeated string paths = 1;
for (int i = 0, n = this->_internal_paths_size(); i < n; ++i) {
const auto& s = this->_internal_paths(i);
const auto& s = this->_internal_paths().Get(i);
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths");
target = stream->WriteString(1, s, target);

@ -218,8 +218,6 @@ class PROTOBUF_EXPORT FieldMask final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
private:
const std::string& _internal_paths(int index) const;
std::string* _internal_add_paths();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& _internal_paths() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* _internal_mutable_paths();
@ -266,13 +264,13 @@ inline void FieldMask::clear_paths() {
_internal_mutable_paths()->Clear();
}
inline std::string* FieldMask::add_paths() {
std::string* _s = _internal_add_paths();
std::string* _s = _internal_mutable_paths()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
return _s;
}
inline const std::string& FieldMask::paths(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
return _internal_paths(index);
return _internal_paths().Get(index);
}
inline std::string* FieldMask::mutable_paths(int index) {
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
@ -333,12 +331,6 @@ inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* FieldMask::mutabl
// @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
return _internal_mutable_paths();
}
inline const std::string& FieldMask::_internal_paths(int index) const {
return _internal_paths().Get(index);
}
inline std::string* FieldMask::_internal_add_paths() {
return _internal_mutable_paths()->Add();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
FieldMask::_internal_paths() const {
return _impl_.paths_;

@ -934,7 +934,7 @@ const char* ListValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_values(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_values()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
@ -974,7 +974,7 @@ failure:
// repeated .google.protobuf.Value values = 1;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_values_size()); i < n; i++) {
const auto& repfield = this->_internal_values(i);
const auto& repfield = this->_internal_values().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
}

@ -717,8 +717,6 @@ class PROTOBUF_EXPORT ListValue final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >*
mutable_values();
private:
const ::PROTOBUF_NAMESPACE_ID::Value& _internal_values(int index) const;
::PROTOBUF_NAMESPACE_ID::Value* _internal_add_values();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Value>& _internal_values() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Value>* _internal_mutable_values();
public:
@ -1156,18 +1154,12 @@ ListValue::mutable_values() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.ListValue.values)
return _internal_mutable_values();
}
inline const ::PROTOBUF_NAMESPACE_ID::Value& ListValue::_internal_values(int index) const {
return _internal_values().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Value& ListValue::values(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.ListValue.values)
return _internal_values(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Value* ListValue::_internal_add_values() {
return _internal_mutable_values()->Add();
return _internal_values().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Value* ListValue::add_values() {
::PROTOBUF_NAMESPACE_ID::Value* _add = _internal_add_values();
::PROTOBUF_NAMESPACE_ID::Value* _add = _internal_mutable_values()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.ListValue.values)
return _add;
}

@ -606,7 +606,7 @@ const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_fields(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_fields()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
@ -620,7 +620,7 @@ const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_add_oneofs();
auto str = _internal_mutable_oneofs()->Add();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Type.oneofs"));
@ -636,7 +636,7 @@ const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
@ -715,14 +715,14 @@ failure:
// repeated .google.protobuf.Field fields = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_fields_size()); i < n; i++) {
const auto& repfield = this->_internal_fields(i);
const auto& repfield = this->_internal_fields().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
// repeated string oneofs = 3;
for (int i = 0, n = this->_internal_oneofs_size(); i < n; ++i) {
const auto& s = this->_internal_oneofs(i);
const auto& s = this->_internal_oneofs().Get(i);
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Type.oneofs");
target = stream->WriteString(3, s, target);
@ -731,7 +731,7 @@ failure:
// repeated .google.protobuf.Option options = 4;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
}
@ -1130,7 +1130,7 @@ const char* Field::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
@ -1243,7 +1243,7 @@ failure:
// repeated .google.protobuf.Option options = 9;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream);
}
@ -1582,7 +1582,7 @@ const char* Enum::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_enumvalue(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_enumvalue()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
@ -1596,7 +1596,7 @@ const char* Enum::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
@ -1675,7 +1675,7 @@ failure:
// repeated .google.protobuf.EnumValue enumvalue = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_enumvalue_size()); i < n; i++) {
const auto& repfield = this->_internal_enumvalue(i);
const auto& repfield = this->_internal_enumvalue().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
@ -1683,7 +1683,7 @@ failure:
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
}
@ -1952,7 +1952,7 @@ const char* EnumValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_options(), ptr);
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
@ -2007,7 +2007,7 @@ failure:
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
const auto& repfield = this->_internal_options(i);
const auto& repfield = this->_internal_options().Get(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
}

@ -350,8 +350,6 @@ class PROTOBUF_EXPORT Type final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >*
mutable_fields();
private:
const ::PROTOBUF_NAMESPACE_ID::Field& _internal_fields(int index) const;
::PROTOBUF_NAMESPACE_ID::Field* _internal_add_fields();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Field>& _internal_fields() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Field>* _internal_mutable_fields();
public:
@ -383,8 +381,6 @@ class PROTOBUF_EXPORT Type final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs();
private:
const std::string& _internal_oneofs(int index) const;
std::string* _internal_add_oneofs();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& _internal_oneofs() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* _internal_mutable_oneofs();
@ -400,8 +396,6 @@ class PROTOBUF_EXPORT Type final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -703,8 +697,6 @@ class PROTOBUF_EXPORT Field final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -1011,8 +1003,6 @@ class PROTOBUF_EXPORT Enum final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >*
mutable_enumvalue();
private:
const ::PROTOBUF_NAMESPACE_ID::EnumValue& _internal_enumvalue(int index) const;
::PROTOBUF_NAMESPACE_ID::EnumValue* _internal_add_enumvalue();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::EnumValue>& _internal_enumvalue() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::EnumValue>* _internal_mutable_enumvalue();
public:
@ -1031,8 +1021,6 @@ class PROTOBUF_EXPORT Enum final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -1267,8 +1255,6 @@ class PROTOBUF_EXPORT EnumValue final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >*
mutable_options();
private:
const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>& _internal_options() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::PROTOBUF_NAMESPACE_ID::Option>* _internal_mutable_options();
public:
@ -1586,18 +1572,12 @@ Type::mutable_fields() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
return _internal_mutable_fields();
}
inline const ::PROTOBUF_NAMESPACE_ID::Field& Type::_internal_fields(int index) const {
return _internal_fields().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Field& Type::fields(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Type.fields)
return _internal_fields(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Field* Type::_internal_add_fields() {
return _internal_mutable_fields()->Add();
return _internal_fields().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Field* Type::add_fields() {
::PROTOBUF_NAMESPACE_ID::Field* _add = _internal_add_fields();
::PROTOBUF_NAMESPACE_ID::Field* _add = _internal_mutable_fields()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
return _add;
}
@ -1626,13 +1606,13 @@ inline void Type::clear_oneofs() {
_internal_mutable_oneofs()->Clear();
}
inline std::string* Type::add_oneofs() {
std::string* _s = _internal_add_oneofs();
std::string* _s = _internal_mutable_oneofs()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
return _s;
}
inline const std::string& Type::oneofs(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
return _internal_oneofs(index);
return _internal_oneofs().Get(index);
}
inline std::string* Type::mutable_oneofs(int index) {
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
@ -1693,12 +1673,6 @@ inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* Type::mutable_one
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
return _internal_mutable_oneofs();
}
inline const std::string& Type::_internal_oneofs(int index) const {
return _internal_oneofs().Get(index);
}
inline std::string* Type::_internal_add_oneofs() {
return _internal_mutable_oneofs()->Add();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
Type::_internal_oneofs() const {
return _impl_.oneofs_;
@ -1727,18 +1701,12 @@ Type::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Type::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Type::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Type.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Type::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Type::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Type.options)
return _add;
}
@ -2124,18 +2092,12 @@ Field::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Field::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Field::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Field::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Field::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Field.options)
return _add;
}
@ -2317,18 +2279,12 @@ Enum::mutable_enumvalue() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
return _internal_mutable_enumvalue();
}
inline const ::PROTOBUF_NAMESPACE_ID::EnumValue& Enum::_internal_enumvalue(int index) const {
return _internal_enumvalue().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::EnumValue& Enum::enumvalue(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue)
return _internal_enumvalue(index);
}
inline ::PROTOBUF_NAMESPACE_ID::EnumValue* Enum::_internal_add_enumvalue() {
return _internal_mutable_enumvalue()->Add();
return _internal_enumvalue().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::EnumValue* Enum::add_enumvalue() {
::PROTOBUF_NAMESPACE_ID::EnumValue* _add = _internal_add_enumvalue();
::PROTOBUF_NAMESPACE_ID::EnumValue* _add = _internal_mutable_enumvalue()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
return _add;
}
@ -2365,18 +2321,12 @@ Enum::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Enum::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& Enum::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Enum::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* Enum::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
return _add;
}
@ -2635,18 +2585,12 @@ EnumValue::mutable_options() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
return _internal_mutable_options();
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& EnumValue::_internal_options(int index) const {
return _internal_options().Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Option& EnumValue::options(int index) const {
// @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options)
return _internal_options(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* EnumValue::_internal_add_options() {
return _internal_mutable_options()->Add();
return _internal_options().Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Option* EnumValue::add_options() {
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options();
::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_mutable_options()->Add();
// @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
return _add;
}

Loading…
Cancel
Save