|
|
@ -381,10 +381,10 @@ bool Type::MergePartialFromCodedStream( |
|
|
|
if (tag == 10) { |
|
|
|
if (tag == 10) { |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->mutable_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Type.name"); |
|
|
|
"google.protobuf.Type.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -415,11 +415,11 @@ bool Type::MergePartialFromCodedStream( |
|
|
|
parse_oneofs: |
|
|
|
parse_oneofs: |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->add_oneofs())); |
|
|
|
input, this->add_oneofs())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->oneofs(this->oneofs_size() - 1).data(), |
|
|
|
this->oneofs(this->oneofs_size() - 1).data(), |
|
|
|
this->oneofs(this->oneofs_size() - 1).length(), |
|
|
|
this->oneofs(this->oneofs_size() - 1).length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Type.oneofs"); |
|
|
|
"google.protobuf.Type.oneofs")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -500,9 +500,9 @@ void Type::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Type)
|
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Type)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Type.name"); |
|
|
|
"google.protobuf.Type.name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
1, this->name(), output); |
|
|
|
1, this->name(), output); |
|
|
@ -516,9 +516,9 @@ void Type::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
for (int i = 0; i < this->oneofs_size(); i++) { |
|
|
|
for (int i = 0; i < this->oneofs_size(); i++) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->oneofs(i).data(), this->oneofs(i).length(), |
|
|
|
this->oneofs(i).data(), this->oneofs(i).length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Type.oneofs"); |
|
|
|
"google.protobuf.Type.oneofs"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteString( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteString( |
|
|
|
3, this->oneofs(i), output); |
|
|
|
3, this->oneofs(i), output); |
|
|
@ -550,9 +550,9 @@ void Type::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Type.name"); |
|
|
|
"google.protobuf.Type.name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -568,9 +568,9 @@ void Type::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
for (int i = 0; i < this->oneofs_size(); i++) { |
|
|
|
for (int i = 0; i < this->oneofs_size(); i++) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->oneofs(i).data(), this->oneofs(i).length(), |
|
|
|
this->oneofs(i).data(), this->oneofs(i).length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Type.oneofs"); |
|
|
|
"google.protobuf.Type.oneofs"); |
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
WriteStringToArray(3, this->oneofs(i), target); |
|
|
|
WriteStringToArray(3, this->oneofs(i), target); |
|
|
@ -785,17 +785,17 @@ void Type::clear_fields() { |
|
|
|
::google::protobuf::Field* Type::add_fields() { |
|
|
|
::google::protobuf::Field* Type::add_fields() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
|
|
|
|
return fields_.Add(); |
|
|
|
return fields_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >& |
|
|
|
|
|
|
|
Type::fields() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
|
|
|
|
|
|
|
|
return fields_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >* |
|
|
|
Type::mutable_fields() { |
|
|
|
Type::mutable_fields() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
|
|
|
|
return &fields_; |
|
|
|
return &fields_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >& |
|
|
|
|
|
|
|
Type::fields() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
|
|
|
|
|
|
|
|
return fields_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
// repeated string oneofs = 3;
|
|
|
|
int Type::oneofs_size() const { |
|
|
|
int Type::oneofs_size() const { |
|
|
@ -869,17 +869,17 @@ void Type::clear_options() { |
|
|
|
::google::protobuf::Option* Type::add_options() { |
|
|
|
::google::protobuf::Option* Type::add_options() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Type.options)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Type.options)
|
|
|
|
return options_.Add(); |
|
|
|
return options_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Type::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Type.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
Type::mutable_options() { |
|
|
|
Type::mutable_options() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
|
|
|
|
return &options_; |
|
|
|
return &options_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Type::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Type.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// optional .google.protobuf.SourceContext source_context = 5;
|
|
|
|
// optional .google.protobuf.SourceContext source_context = 5;
|
|
|
|
bool Type::has_source_context() const { |
|
|
|
bool Type::has_source_context() const { |
|
|
@ -1182,10 +1182,10 @@ bool Field::MergePartialFromCodedStream( |
|
|
|
parse_name: |
|
|
|
parse_name: |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->mutable_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Field.name"); |
|
|
|
"google.protobuf.Field.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -1199,10 +1199,10 @@ bool Field::MergePartialFromCodedStream( |
|
|
|
parse_type_url: |
|
|
|
parse_type_url: |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_type_url())); |
|
|
|
input, this->mutable_type_url())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Field.type_url"); |
|
|
|
"google.protobuf.Field.type_url")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -1263,10 +1263,10 @@ bool Field::MergePartialFromCodedStream( |
|
|
|
parse_json_name: |
|
|
|
parse_json_name: |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_json_name())); |
|
|
|
input, this->mutable_json_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Field.json_name"); |
|
|
|
"google.protobuf.Field.json_name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -1317,9 +1317,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string name = 4;
|
|
|
|
// optional string name = 4;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.name"); |
|
|
|
"google.protobuf.Field.name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
4, this->name(), output); |
|
|
|
4, this->name(), output); |
|
|
@ -1327,9 +1327,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string type_url = 6;
|
|
|
|
// optional string type_url = 6;
|
|
|
|
if (this->type_url().size() > 0) { |
|
|
|
if (this->type_url().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.type_url"); |
|
|
|
"google.protobuf.Field.type_url"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
6, this->type_url(), output); |
|
|
|
6, this->type_url(), output); |
|
|
@ -1353,9 +1353,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string json_name = 10;
|
|
|
|
// optional string json_name = 10;
|
|
|
|
if (this->json_name().size() > 0) { |
|
|
|
if (this->json_name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.json_name"); |
|
|
|
"google.protobuf.Field.json_name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
10, this->json_name(), output); |
|
|
|
10, this->json_name(), output); |
|
|
@ -1386,9 +1386,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string name = 4;
|
|
|
|
// optional string name = 4;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.name"); |
|
|
|
"google.protobuf.Field.name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -1397,9 +1397,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string type_url = 6;
|
|
|
|
// optional string type_url = 6;
|
|
|
|
if (this->type_url().size() > 0) { |
|
|
|
if (this->type_url().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
this->type_url().data(), this->type_url().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.type_url"); |
|
|
|
"google.protobuf.Field.type_url"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -1425,9 +1425,9 @@ void Field::SerializeWithCachedSizes( |
|
|
|
|
|
|
|
|
|
|
|
// optional string json_name = 10;
|
|
|
|
// optional string json_name = 10;
|
|
|
|
if (this->json_name().size() > 0) { |
|
|
|
if (this->json_name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
this->json_name().data(), this->json_name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Field.json_name"); |
|
|
|
"google.protobuf.Field.json_name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -1771,17 +1771,17 @@ void Field::clear_options() { |
|
|
|
::google::protobuf::Option* Field::add_options() { |
|
|
|
::google::protobuf::Option* Field::add_options() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Field.options)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Field.options)
|
|
|
|
return options_.Add(); |
|
|
|
return options_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Field::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Field.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
Field::mutable_options() { |
|
|
|
Field::mutable_options() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
|
|
|
|
return &options_; |
|
|
|
return &options_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Field::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Field.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// optional string json_name = 10;
|
|
|
|
// optional string json_name = 10;
|
|
|
|
void Field::clear_json_name() { |
|
|
|
void Field::clear_json_name() { |
|
|
@ -1927,10 +1927,10 @@ bool Enum::MergePartialFromCodedStream( |
|
|
|
if (tag == 10) { |
|
|
|
if (tag == 10) { |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->mutable_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Enum.name"); |
|
|
|
"google.protobuf.Enum.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -2026,9 +2026,9 @@ void Enum::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Enum)
|
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Enum)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Enum.name"); |
|
|
|
"google.protobuf.Enum.name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
1, this->name(), output); |
|
|
|
1, this->name(), output); |
|
|
@ -2066,9 +2066,9 @@ void Enum::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Enum.name"); |
|
|
|
"google.protobuf.Enum.name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -2282,17 +2282,17 @@ void Enum::clear_enumvalue() { |
|
|
|
::google::protobuf::EnumValue* Enum::add_enumvalue() { |
|
|
|
::google::protobuf::EnumValue* Enum::add_enumvalue() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
|
|
|
|
return enumvalue_.Add(); |
|
|
|
return enumvalue_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >& |
|
|
|
|
|
|
|
Enum::enumvalue() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
|
|
|
|
|
|
|
|
return enumvalue_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >* |
|
|
|
Enum::mutable_enumvalue() { |
|
|
|
Enum::mutable_enumvalue() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
|
|
|
|
return &enumvalue_; |
|
|
|
return &enumvalue_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >& |
|
|
|
|
|
|
|
Enum::enumvalue() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
|
|
|
|
|
|
|
|
return enumvalue_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
int Enum::options_size() const { |
|
|
|
int Enum::options_size() const { |
|
|
@ -2312,17 +2312,17 @@ void Enum::clear_options() { |
|
|
|
::google::protobuf::Option* Enum::add_options() { |
|
|
|
::google::protobuf::Option* Enum::add_options() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
|
|
|
|
return options_.Add(); |
|
|
|
return options_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Enum::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
Enum::mutable_options() { |
|
|
|
Enum::mutable_options() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
|
|
|
|
return &options_; |
|
|
|
return &options_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
Enum::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// optional .google.protobuf.SourceContext source_context = 4;
|
|
|
|
// optional .google.protobuf.SourceContext source_context = 4;
|
|
|
|
bool Enum::has_source_context() const { |
|
|
|
bool Enum::has_source_context() const { |
|
|
@ -2468,10 +2468,10 @@ bool EnumValue::MergePartialFromCodedStream( |
|
|
|
if (tag == 10) { |
|
|
|
if (tag == 10) { |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->mutable_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.EnumValue.name"); |
|
|
|
"google.protobuf.EnumValue.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -2537,9 +2537,9 @@ void EnumValue::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.EnumValue)
|
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.EnumValue)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.EnumValue.name"); |
|
|
|
"google.protobuf.EnumValue.name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
1, this->name(), output); |
|
|
|
1, this->name(), output); |
|
|
@ -2564,9 +2564,9 @@ void EnumValue::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.EnumValue.name"); |
|
|
|
"google.protobuf.EnumValue.name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
@ -2759,17 +2759,17 @@ void EnumValue::clear_options() { |
|
|
|
::google::protobuf::Option* EnumValue::add_options() { |
|
|
|
::google::protobuf::Option* EnumValue::add_options() { |
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
|
|
|
|
// @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
|
|
|
|
return options_.Add(); |
|
|
|
return options_.Add(); |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
EnumValue::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
|
|
|
EnumValue::mutable_options() { |
|
|
|
EnumValue::mutable_options() { |
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
|
|
|
|
// @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
|
|
|
|
return &options_; |
|
|
|
return &options_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
|
|
|
|
|
|
|
EnumValue::options() const { |
|
|
|
|
|
|
|
// @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
|
|
|
|
|
|
|
|
return options_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
|
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
|
|
|
|
|
|
|
|
@ -2865,10 +2865,10 @@ bool Option::MergePartialFromCodedStream( |
|
|
|
if (tag == 10) { |
|
|
|
if (tag == 10) { |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->mutable_name())); |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::PARSE, |
|
|
|
::google::protobuf::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Option.name"); |
|
|
|
"google.protobuf.Option.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
goto handle_unusual; |
|
|
|
} |
|
|
|
} |
|
|
@ -2915,9 +2915,9 @@ void Option::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Option)
|
|
|
|
// @@protoc_insertion_point(serialize_start:google.protobuf.Option)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Option.name"); |
|
|
|
"google.protobuf.Option.name"); |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
|
|
|
1, this->name(), output); |
|
|
|
1, this->name(), output); |
|
|
@ -2937,9 +2937,9 @@ void Option::SerializeWithCachedSizes( |
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)
|
|
|
|
// optional string name = 1;
|
|
|
|
// optional string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
this->name().data(), this->name().length(), |
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE, |
|
|
|
::google::protobuf::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Option.name"); |
|
|
|
"google.protobuf.Option.name"); |
|
|
|
target = |
|
|
|
target = |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
|
|
|