Home
last modified time | relevance | path

Searched refs:proto2 (Results 1 – 25 of 236) sorted by relevance

12345678910

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonemetadata.pb.js40 goog.proto2.Message.call(this);
42 goog.inherits(i18n.phonenumbers.NumberFormat, goog.proto2.Message);
385 goog.proto2.Message.call(this);
387 goog.inherits(i18n.phonenumbers.PhoneNumberDesc, goog.proto2.Message);
639 goog.proto2.Message.call(this);
641 goog.inherits(i18n.phonenumbers.PhoneMetadata, goog.proto2.Message);
2269 goog.proto2.Message.call(this);
2271 goog.inherits(i18n.phonenumbers.PhoneMetadataCollection, goog.proto2.Message);
2364 fieldType: goog.proto2.Message.FieldType.STRING,
2370 fieldType: goog.proto2.Message.FieldType.STRING,
[all …]
Dphonenumber.pb.js39 goog.proto2.Message.call(this);
41 goog.inherits(i18n.phonenumbers.PhoneNumber, goog.proto2.Message);
493 fieldType: goog.proto2.Message.FieldType.INT32,
499 fieldType: goog.proto2.Message.FieldType.UINT64,
504 fieldType: goog.proto2.Message.FieldType.STRING,
509 fieldType: goog.proto2.Message.FieldType.BOOL,
514 fieldType: goog.proto2.Message.FieldType.INT32,
520 fieldType: goog.proto2.Message.FieldType.STRING,
525 fieldType: goog.proto2.Message.FieldType.ENUM,
531 fieldType: goog.proto2.Message.FieldType.STRING,
[all …]
/third_party/protobuf/docs/csharp/
Dproto2.md1proto2 support has been released. This document outlines the new changes brought about to include
2 Generated code for proto2 may also be modified by adding, removing, or adjusting APIs as feedback i…
4 ### Enabling proto2 features
6 For information about specific proto2 features, please read the [proto2 language guide](https://dev…
8proto2 features are used with proto2 files with the syntax declaration `syntax = "proto2";`. Howev…
14 Messages in proto2 files are very similar to their proto3 counterparts. They expose the usual prope…
100 Initialization refers to checking the status of required fields in a proto2 message. If a message i…
154 Reflection APIs have been extended to enable accessing the new proto2 portions of the library and g…
/third_party/grpc/src/proto/grpc/testing/proto2/
Dempty2_extensions.proto15 syntax = "proto2";
17 import "src/proto/grpc/testing/proto2/empty2.proto";
19 package grpc.testing.proto2;
22 extend grpc.testing.proto2.EmptyWithExtensions {
Dempty2.proto16 syntax = "proto2";
18 package grpc.testing.proto2;
/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py293 proto2 = message_module.TestAllTypes()
294 proto2.optional_nested_message.bb = 5
295 proto1.MergeFrom(proto2)
407 proto2 = message_module.TestAllTypes()
408 proto2.ParseFromString(proto.SerializeToString())
409 self.assertIsInstance(getattr(proto2, field_name), expected_type)
663 proto2 = message_module.TestAllTypes.FromString(string1)
666 self.assertEqual(proto2, proto1)
673 proto2 = message_module.TestAllTypes()
675 proto2.optional_string = 'value'
[all …]
/third_party/protobuf/ruby/tests/
Dtest_import_proto2.proto1 syntax = "proto2";
3 package foo_bar.proto2;
Dgenerated_code_proto2.proto1 syntax = "proto2";
3 package a.b.proto2;
/third_party/protobuf/benchmarks/python/
Dpython_benchmark_messages.cc19 benchmarks::proto2::GoogleMessage1().descriptor(); in initlibbenchmark_messages()
20 benchmarks::proto2::GoogleMessage2().descriptor(); in initlibbenchmark_messages()
/third_party/grpc/src/python/grpcio_tests/tests/reflection/
DBUILD.bazel14 "//src/proto/grpc/testing/proto2:empty2_extensions_proto",
15 "//src/proto/grpc/testing/proto2:empty2_proto",
/third_party/protobuf/src/google/protobuf/
Dunittest_lazy_dependencies_enum.proto37 syntax = "proto2";
40 // See: http://go/proto2-generic-services-default
46 // We don't put this in a package within proto2 because we need to make sure
47 // that the generated code doesn't depend on being in the proto2 namespace.
Dunittest_lazy_dependencies_custom_option.proto37 syntax = "proto2";
43 // See: http://go/proto2-generic-services-default
49 // We don't put this in a package within proto2 because we need to make sure
50 // that the generated code doesn't depend on being in the proto2 namespace.
Dunittest_lazy_dependencies.proto37 syntax = "proto2";
42 // See: http://go/proto2-generic-services-default
48 // We don't put this in a package within proto2 because we need to make sure
49 // that the generated code doesn't depend on being in the proto2 namespace.
Dunittest_no_field_presence.proto35 // We want to test embedded proto2 messages, so include some proto2 types.
78 // N.B.: proto2-enum-type fields not allowed, because their default values
125 protobuf_unittest.TestRequired proto2 = 1; field
Dunittest_import.proto37 syntax = "proto2";
39 // We don't put this in a package within proto2 because we need to make sure
40 // that the generated code doesn't depend on being in the proto2 namespace.
Dmap_proto2_unittest.proto31 syntax = "proto2";
36 // We don't put this in a package within proto2 because we need to make sure
37 // that the generated code doesn't depend on being in the proto2 namespace.
/third_party/grpc/src/python/grpcio_tests/tests_aio/reflection/
DBUILD.bazel24 "//src/proto/grpc/testing/proto2:empty2_extensions_proto",
25 "//src/proto/grpc/testing/proto2:empty2_proto",
/third_party/protobuf/benchmarks/util/
Dproto3_data_stripper.cc46 message = new benchmarks::proto2::GoogleMessage1; in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
Dgogo_data_scrubber.cc46 message = new benchmarks::proto2::GoogleMessage1; in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
/third_party/protobuf/docs/
Dimplementing_proto3_presence.md4 proto3. Proto3 optional fields track presence like in proto2. For background
37 Presence in proto3 uses exactly the same syntax and semantics as in proto2.
38 Proto3 Fields marked `optional` will track presence like proto2, while fields
41 proto2.
44 3.11.4) it is not possible to use the same representation as proto2. Proto3
99 supports proto2, a proto3 `optional` field should use exactly the same API
100 and internal implementation as proto2 `optional`.
213 If your code generator does not currently support proto2, you will need to
223 If your code generator already supports proto2, then most of your work is
225 exactly the same API and behave in exactly the same way as proto2 optional
[all …]
/third_party/protobuf/csharp/protos/
Dunittest_import.proto37 syntax = "proto2";
39 // We don't put this in a package within proto2 because we need to make sure
40 // that the generated code doesn't depend on being in the proto2 namespace.
/third_party/selinux/libsepol/src/
Dports.c193 int proto2 = c->u.port.protocol; in sepol_port_exists() local
197 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_exists()
231 int proto2 = c->u.port.protocol; in sepol_port_query() local
235 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_query()
/third_party/grpc/third_party/upb/tests/
Dempty.proto1 syntax = "proto2";
Dtest.proto2 syntax = "proto2";
/third_party/grpc/third_party/upb/examples/bazel/
Dfoo.proto2 syntax = "proto2";

12345678910