Auto-generate files after cl/532528210

pull/12832/head
Protobuf Team Bot 2 years ago
parent 1b1a71937a
commit aa52a02888
  1. 8
      src/google/protobuf/api.pb.h
  2. 2
      src/google/protobuf/field_mask.pb.h
  3. 4
      src/google/protobuf/struct.pb.h
  4. 14
      src/google/protobuf/type.pb.h

@ -853,7 +853,7 @@ inline void Api::set_allocated_name(std::string* value) {
// repeated .google.protobuf.Method methods = 2; // repeated .google.protobuf.Method methods = 2;
inline int Api::_internal_methods_size() const { inline int Api::_internal_methods_size() const {
return _impl_.methods_.size(); return _internal_methods().size();
} }
inline int Api::methods_size() const { inline int Api::methods_size() const {
return _internal_methods_size(); return _internal_methods_size();
@ -895,7 +895,7 @@ Api::_internal_mutable_methods() {
// repeated .google.protobuf.Option options = 3; // repeated .google.protobuf.Option options = 3;
inline int Api::_internal_options_size() const { inline int Api::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int Api::options_size() const { inline int Api::options_size() const {
return _internal_options_size(); return _internal_options_size();
@ -1065,7 +1065,7 @@ inline void Api::set_allocated_source_context(::google::protobuf::SourceContext*
// repeated .google.protobuf.Mixin mixins = 6; // repeated .google.protobuf.Mixin mixins = 6;
inline int Api::_internal_mixins_size() const { inline int Api::_internal_mixins_size() const {
return _impl_.mixins_.size(); return _internal_mixins().size();
} }
inline int Api::mixins_size() const { inline int Api::mixins_size() const {
return _internal_mixins_size(); return _internal_mixins_size();
@ -1306,7 +1306,7 @@ inline void Method::_internal_set_response_streaming(bool value) {
// repeated .google.protobuf.Option options = 6; // repeated .google.protobuf.Option options = 6;
inline int Method::_internal_options_size() const { inline int Method::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int Method::options_size() const { inline int Method::options_size() const {
return _internal_options_size(); return _internal_options_size();

@ -264,7 +264,7 @@ class PROTOBUF_EXPORT FieldMask final :
// repeated string paths = 1; // repeated string paths = 1;
inline int FieldMask::_internal_paths_size() const { inline int FieldMask::_internal_paths_size() const {
return _impl_.paths_.size(); return _internal_paths().size();
} }
inline int FieldMask::paths_size() const { inline int FieldMask::paths_size() const {
return _internal_paths_size(); return _internal_paths_size();

@ -770,7 +770,7 @@ class PROTOBUF_EXPORT ListValue final :
// map<string, .google.protobuf.Value> fields = 1; // map<string, .google.protobuf.Value> fields = 1;
inline int Struct::_internal_fields_size() const { inline int Struct::_internal_fields_size() const {
return _impl_.fields_.size(); return _internal_fields().size();
} }
inline int Struct::fields_size() const { inline int Struct::fields_size() const {
return _internal_fields_size(); return _internal_fields_size();
@ -1142,7 +1142,7 @@ inline Value::KindCase Value::kind_case() const {
// repeated .google.protobuf.Value values = 1; // repeated .google.protobuf.Value values = 1;
inline int ListValue::_internal_values_size() const { inline int ListValue::_internal_values_size() const {
return _impl_.values_.size(); return _internal_values().size();
} }
inline int ListValue::values_size() const { inline int ListValue::values_size() const {
return _internal_values_size(); return _internal_values_size();

@ -1537,7 +1537,7 @@ inline void Type::set_allocated_name(std::string* value) {
// repeated .google.protobuf.Field fields = 2; // repeated .google.protobuf.Field fields = 2;
inline int Type::_internal_fields_size() const { inline int Type::_internal_fields_size() const {
return _impl_.fields_.size(); return _internal_fields().size();
} }
inline int Type::fields_size() const { inline int Type::fields_size() const {
return _internal_fields_size(); return _internal_fields_size();
@ -1579,7 +1579,7 @@ Type::_internal_mutable_fields() {
// repeated string oneofs = 3; // repeated string oneofs = 3;
inline int Type::_internal_oneofs_size() const { inline int Type::_internal_oneofs_size() const {
return _impl_.oneofs_.size(); return _internal_oneofs().size();
} }
inline int Type::oneofs_size() const { inline int Type::oneofs_size() const {
return _internal_oneofs_size(); return _internal_oneofs_size();
@ -1666,7 +1666,7 @@ Type::_internal_mutable_oneofs() {
// repeated .google.protobuf.Option options = 4; // repeated .google.protobuf.Option options = 4;
inline int Type::_internal_options_size() const { inline int Type::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int Type::options_size() const { inline int Type::options_size() const {
return _internal_options_size(); return _internal_options_size();
@ -2053,7 +2053,7 @@ inline void Field::_internal_set_packed(bool value) {
// repeated .google.protobuf.Option options = 9; // repeated .google.protobuf.Option options = 9;
inline int Field::_internal_options_size() const { inline int Field::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int Field::options_size() const { inline int Field::options_size() const {
return _internal_options_size(); return _internal_options_size();
@ -2234,7 +2234,7 @@ inline void Enum::set_allocated_name(std::string* value) {
// repeated .google.protobuf.EnumValue enumvalue = 2; // repeated .google.protobuf.EnumValue enumvalue = 2;
inline int Enum::_internal_enumvalue_size() const { inline int Enum::_internal_enumvalue_size() const {
return _impl_.enumvalue_.size(); return _internal_enumvalue().size();
} }
inline int Enum::enumvalue_size() const { inline int Enum::enumvalue_size() const {
return _internal_enumvalue_size(); return _internal_enumvalue_size();
@ -2276,7 +2276,7 @@ Enum::_internal_mutable_enumvalue() {
// repeated .google.protobuf.Option options = 3; // repeated .google.protobuf.Option options = 3;
inline int Enum::_internal_options_size() const { inline int Enum::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int Enum::options_size() const { inline int Enum::options_size() const {
return _internal_options_size(); return _internal_options_size();
@ -2538,7 +2538,7 @@ inline void EnumValue::_internal_set_number(::int32_t value) {
// repeated .google.protobuf.Option options = 3; // repeated .google.protobuf.Option options = 3;
inline int EnumValue::_internal_options_size() const { inline int EnumValue::_internal_options_size() const {
return _impl_.options_.size(); return _internal_options().size();
} }
inline int EnumValue::options_size() const { inline int EnumValue::options_size() const {
return _internal_options_size(); return _internal_options_size();

Loading…
Cancel
Save