Auto-generate files after cl/508418812

pull/11885/head
Protobuf Team Bot 2 years ago
parent 7f6f12240f
commit 6bb44d98b5
  1. 26
      src/google/protobuf/api.pb.cc
  2. 36
      src/google/protobuf/api.pb.h
  3. 4
      src/google/protobuf/struct.pb.cc
  4. 22
      src/google/protobuf/struct.pb.h
  5. 52
      src/google/protobuf/type.pb.cc
  6. 72
      src/google/protobuf/type.pb.h

@ -33,7 +33,8 @@ PROTOBUF_CONSTEXPR Api::Api(
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_.syntax_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct ApiDefaultTypeInternal {
PROTOBUF_CONSTEXPR ApiDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -64,7 +65,8 @@ PROTOBUF_CONSTEXPR Method::Method(
, /*decltype(_impl_.response_streaming_)*/ false
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_.syntax_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct MethodDefaultTypeInternal {
PROTOBUF_CONSTEXPR MethodDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -259,7 +261,8 @@ Api::Api(const Api& from)
, decltype(_impl_.version_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, decltype(_impl_.syntax_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
@ -295,7 +298,8 @@ inline void Api::SharedCtor(::_pb::Arena* arena) {
, decltype(_impl_.version_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, decltype(_impl_.syntax_) { 0 }
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
@ -519,7 +523,7 @@ failure:
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_syntax(), target);
7, this->_internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -581,7 +585,7 @@ failure:
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -686,7 +690,8 @@ Method::Method(const Method& from)
, decltype(_impl_.response_streaming_) {}
, decltype(_impl_.syntax_){}
, decltype(_impl_.syntax_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
@ -731,7 +736,8 @@ inline void Method::SharedCtor(::_pb::Arena* arena) {
, decltype(_impl_.response_streaming_) { false }
, decltype(_impl_.syntax_){0}
, decltype(_impl_.syntax_) { 0 }
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
@ -945,7 +951,7 @@ failure:
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_syntax(), target);
7, this->_internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1002,7 +1008,7 @@ failure:
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);

@ -321,9 +321,11 @@ class PROTOBUF_EXPORT Api final :
void clear_syntax() ;
::PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
private:
::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Api)
private:
@ -576,9 +578,11 @@ class PROTOBUF_EXPORT Method final :
void clear_syntax() ;
::PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
private:
::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Method)
private:
@ -1091,21 +1095,21 @@ Api::mixins() const {
inline void Api::clear_syntax() {
_impl_.syntax_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_);
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
return _internal_syntax();
}
inline void Api::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_impl_.syntax_ = value;
}
inline void Api::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(_impl_.syntax_);
}
inline void Api::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
;
_impl_.syntax_ = value;
}
// -------------------------------------------------------------------
@ -1333,21 +1337,21 @@ Method::options() const {
inline void Method::clear_syntax() {
_impl_.syntax_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_);
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const {
// @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
return _internal_syntax();
}
inline void Method::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_impl_.syntax_ = value;
}
inline void Method::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(_impl_.syntax_);
}
inline void Method::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
;
_impl_.syntax_ = value;
}
// -------------------------------------------------------------------

@ -705,7 +705,7 @@ failure:
if (kind_case() == kNullValue) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_null_value(), target);
1, this->_internal_null_value(), target);
}
// double number_value = 2;
@ -764,7 +764,7 @@ failure:
// .google.protobuf.NullValue null_value = 1;
case kNullValue: {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_null_value());
::_pbi::WireFormatLite::EnumSize(this->_internal_null_value());
break;
}
// double number_value = 2;

@ -443,9 +443,11 @@ class PROTOBUF_EXPORT Value final :
void clear_null_value() ;
::PROTOBUF_NAMESPACE_ID::NullValue null_value() const;
void set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value);
private:
::PROTOBUF_NAMESPACE_ID::NullValue _internal_null_value() const;
void _internal_set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value);
public:
// double number_value = 2;
bool has_number_value() const;
@ -782,16 +784,20 @@ inline void Value::clear_null_value() {
clear_has_kind();
}
}
inline ::PROTOBUF_NAMESPACE_ID::NullValue Value::_internal_null_value() const {
if (kind_case() == kNullValue) {
return static_cast< ::PROTOBUF_NAMESPACE_ID::NullValue >(_impl_.kind_.null_value_);
}
return static_cast< ::PROTOBUF_NAMESPACE_ID::NullValue >(0);
}
inline ::PROTOBUF_NAMESPACE_ID::NullValue Value::null_value() const {
// @@protoc_insertion_point(field_get:google.protobuf.Value.null_value)
return _internal_null_value();
}
inline void Value::set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value) {
_internal_set_null_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Value.null_value)
}
inline ::PROTOBUF_NAMESPACE_ID::NullValue Value::_internal_null_value() const {
if (kind_case() == kNullValue) {
return static_cast<::PROTOBUF_NAMESPACE_ID::NullValue>(_impl_.kind_.null_value_);
}
return static_cast<::PROTOBUF_NAMESPACE_ID::NullValue>(0);
}
inline void Value::_internal_set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value) {
if (kind_case() != kNullValue) {
clear_kind();
@ -799,10 +805,6 @@ inline void Value::_internal_set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue v
}
_impl_.kind_.null_value_ = value;
}
inline void Value::set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value) {
_internal_set_null_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Value.null_value)
}
// double number_value = 2;
inline bool Value::has_number_value() const {

@ -29,7 +29,8 @@ PROTOBUF_CONSTEXPR Type::Type(
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_.syntax_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct TypeDefaultTypeInternal {
PROTOBUF_CONSTEXPR TypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -60,8 +61,10 @@ PROTOBUF_CONSTEXPR Field::Field(
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.kind_)*/0
, /*decltype(_impl_.cardinality_)*/0
, /*decltype(_impl_.kind_)*/ 0
, /*decltype(_impl_.cardinality_)*/ 0
, /*decltype(_impl_.number_)*/ 0
, /*decltype(_impl_.oneof_index_)*/ 0
@ -88,7 +91,8 @@ PROTOBUF_CONSTEXPR Enum::Enum(
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_.syntax_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct EnumDefaultTypeInternal {
PROTOBUF_CONSTEXPR EnumDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -444,7 +448,8 @@ Type::Type(const Type& from)
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, decltype(_impl_.syntax_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
@ -471,7 +476,8 @@ inline void Type::SharedCtor(::_pb::Arena* arena) {
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, decltype(_impl_.syntax_) { 0 }
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
@ -672,7 +678,7 @@ failure:
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
6, this->_internal_syntax(), target);
6, this->_internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -727,7 +733,7 @@ failure:
// .google.protobuf.Syntax syntax = 6;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -822,8 +828,10 @@ Field::Field(const Field& from)
, decltype(_impl_.default_value_) {}
, decltype(_impl_.kind_){}
, decltype(_impl_.cardinality_){}
, decltype(_impl_.kind_) {}
, decltype(_impl_.cardinality_) {}
, decltype(_impl_.number_) {}
, decltype(_impl_.oneof_index_) {}
@ -879,8 +887,10 @@ inline void Field::SharedCtor(::_pb::Arena* arena) {
, decltype(_impl_.default_value_) {}
, decltype(_impl_.kind_){0}
, decltype(_impl_.cardinality_){0}
, decltype(_impl_.kind_) { 0 }
, decltype(_impl_.cardinality_) { 0 }
, decltype(_impl_.number_) { 0 }
, decltype(_impl_.oneof_index_) { 0 }
@ -1090,14 +1100,14 @@ failure:
if (this->_internal_kind() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_kind(), target);
1, this->_internal_kind(), target);
}
// .google.protobuf.Field.Cardinality cardinality = 2;
if (this->_internal_cardinality() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
2, this->_internal_cardinality(), target);
2, this->_internal_cardinality(), target);
}
// int32 number = 3;
@ -1211,13 +1221,13 @@ failure:
// .google.protobuf.Field.Kind kind = 1;
if (this->_internal_kind() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_kind());
::_pbi::WireFormatLite::EnumSize(this->_internal_kind());
}
// .google.protobuf.Field.Cardinality cardinality = 2;
if (this->_internal_cardinality() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_cardinality());
::_pbi::WireFormatLite::EnumSize(this->_internal_cardinality());
}
// int32 number = 3;
@ -1355,7 +1365,8 @@ Enum::Enum(const Enum& from)
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, decltype(_impl_.syntax_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
@ -1381,7 +1392,8 @@ inline void Enum::SharedCtor(::_pb::Arena* arena) {
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, decltype(_impl_.syntax_) { 0 }
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
@ -1556,7 +1568,7 @@ failure:
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
5, this->_internal_syntax(), target);
5, this->_internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1605,7 +1617,7 @@ failure:
// .google.protobuf.Syntax syntax = 5;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);

@ -436,9 +436,11 @@ class PROTOBUF_EXPORT Type final :
void clear_syntax() ;
::PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
private:
::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Type)
private:
@ -752,17 +754,21 @@ class PROTOBUF_EXPORT Field final :
void clear_kind() ;
::PROTOBUF_NAMESPACE_ID::Field_Kind kind() const;
void set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value);
private:
::PROTOBUF_NAMESPACE_ID::Field_Kind _internal_kind() const;
void _internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value);
public:
// .google.protobuf.Field.Cardinality cardinality = 2;
void clear_cardinality() ;
::PROTOBUF_NAMESPACE_ID::Field_Cardinality cardinality() const;
void set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value);
private:
::PROTOBUF_NAMESPACE_ID::Field_Cardinality _internal_cardinality() const;
void _internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value);
public:
// int32 number = 3;
void clear_number() ;
@ -1022,9 +1028,11 @@ class PROTOBUF_EXPORT Enum final :
void clear_syntax() ;
::PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
private:
::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Enum)
private:
@ -1718,21 +1726,21 @@ inline void Type::set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceCo
inline void Type::clear_syntax() {
_impl_.syntax_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Type::_internal_syntax() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_);
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Type::syntax() const {
// @@protoc_insertion_point(field_get:google.protobuf.Type.syntax)
return _internal_syntax();
}
inline void Type::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_impl_.syntax_ = value;
}
inline void Type::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Type::_internal_syntax() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(_impl_.syntax_);
}
inline void Type::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
;
_impl_.syntax_ = value;
}
// -------------------------------------------------------------------
@ -1742,41 +1750,41 @@ inline void Type::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
inline void Field::clear_kind() {
_impl_.kind_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Kind Field::_internal_kind() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Field_Kind >(_impl_.kind_);
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Kind Field::kind() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.kind)
return _internal_kind();
}
inline void Field::_internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value) {
_impl_.kind_ = value;
}
inline void Field::set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value) {
_internal_set_kind(value);
_internal_set_kind(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Kind Field::_internal_kind() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Field_Kind>(_impl_.kind_);
}
inline void Field::_internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value) {
;
_impl_.kind_ = value;
}
// .google.protobuf.Field.Cardinality cardinality = 2;
inline void Field::clear_cardinality() {
_impl_.cardinality_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Cardinality Field::_internal_cardinality() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Field_Cardinality >(_impl_.cardinality_);
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Cardinality Field::cardinality() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality)
return _internal_cardinality();
}
inline void Field::_internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value) {
_impl_.cardinality_ = value;
}
inline void Field::set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value) {
_internal_set_cardinality(value);
_internal_set_cardinality(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
}
inline ::PROTOBUF_NAMESPACE_ID::Field_Cardinality Field::_internal_cardinality() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Field_Cardinality>(_impl_.cardinality_);
}
inline void Field::_internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value) {
;
_impl_.cardinality_ = value;
}
// int32 number = 3;
inline void Field::clear_number() {
@ -2281,21 +2289,21 @@ inline void Enum::set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceCo
inline void Enum::clear_syntax() {
_impl_.syntax_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Enum::_internal_syntax() const {
return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_);
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Enum::syntax() const {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax)
return _internal_syntax();
}
inline void Enum::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_impl_.syntax_ = value;
}
inline void Enum::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
}
inline ::PROTOBUF_NAMESPACE_ID::Syntax Enum::_internal_syntax() const {
return static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(_impl_.syntax_);
}
inline void Enum::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) {
;
_impl_.syntax_ = value;
}
// -------------------------------------------------------------------

Loading…
Cancel
Save