Searched refs:FieldOptions (Results 1 - 25 of 31) sorted by relevance

12

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DPartialClasses.cs48 internal partial class FieldOptions class in namespace:Google.Protobuf.Reflection
H A DDescriptor.cs156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null),
1395 private global::Google.Protobuf.Reflection.FieldOptions options_;
1396 public global::Google.Protobuf.Reflection.FieldOptions Options {
1557 options_ = new global::Google.Protobuf.Reflection.FieldOptions();
1600 options_ = new global::Google.Protobuf.Reflection.FieldOptions();
3372 internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> { class in namespace:Google.Protobuf.Reflection
3384 public FieldOptions() { method in class:Google.Protobuf.Reflection.FieldOptions
3390 public FieldOptions(FieldOptions other) : this() { method in class:Google.Protobuf.Reflection.FieldOptions
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc148 case FieldOptions::STRING:
163 case FieldOptions::STRING:
178 case FieldOptions::STRING:
H A Dcpp_helpers.h252 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field);
H A Dcpp_helpers.cc593 FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field) {
596 return FieldOptions::STRING;
H A Dcpp_message.cc1512 EffectiveStringCType(field) != FieldOptions::STRING)) {
/external/protobuf/src/google/protobuf/
H A Ddynamic_message.cc133 case FieldOptions::STRING:
155 case FieldOptions::STRING:
186 case FieldOptions::STRING:
383 case FieldOptions::STRING:
452 case FieldOptions::STRING: {
493 case FieldOptions::STRING:
513 case FieldOptions::STRING: {
839 case FieldOptions::STRING:
865 case FieldOptions::STRING:
H A Ddescriptor.pb.h49 class FieldOptions;
1171 // optional .google.protobuf.FieldOptions options = 8;
1175 const ::google::protobuf::FieldOptions& options() const;
1176 ::google::protobuf::FieldOptions* mutable_options();
1177 ::google::protobuf::FieldOptions* release_options();
1178 void set_allocated_options(::google::protobuf::FieldOptions* options);
1215 ::google::protobuf::FieldOptions* options_;
2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { class in namespace:google::protobuf
2254 FieldOptions();
2255 virtual ~FieldOptions();
[all...]
H A Ddescriptor.pb.cc372 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_),
373 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, packed_),
374 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, jstype_),
375 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, lazy_),
376 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, deprecated_),
377 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, weak_),
378 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_),
383 FieldOptions::default_instance_,
385 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]),
387 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _extensions
9938 FieldOptions::FieldOptions() function in class:google::protobuf::FieldOptions
9947 FieldOptions::FieldOptions(const FieldOptions& from) function in class:google::protobuf::FieldOptions
[all...]
H A Dgenerated_message_reflection.cc314 case FieldOptions::STRING:
354 case FieldOptions::STRING: {
417 case FieldOptions::STRING:
485 case FieldOptions::STRING:
841 case FieldOptions::STRING: {
886 case FieldOptions::STRING:
938 case FieldOptions::STRING:
1150 case FieldOptions::STRING: {
1172 case FieldOptions::STRING: {
1195 case FieldOptions
[all...]
H A Ddescriptor.h97 class FieldOptions;
616 // Get the FieldOptions for this field. This includes things listed in
619 // has the "ctype" option set. Allowed options are defined by FieldOptions
622 const FieldOptions& options() const;
653 typedef FieldOptions OptionsType;
699 const FieldOptions* options_;
1694 PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions)
H A Dmessage.cc226 FieldDescriptor::CPPTYPE_STRING, FieldOptions::STRING, NULL);
447 case FieldOptions::STRING:
H A Dno_field_presence_test.cc308 if (field->options().ctype() != google::protobuf::FieldOptions::STRING) {
H A Ddescriptor_unittest.cc1872 // extend google.protobuf.FieldOptions {
1878 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option1", 1000,
1884 // extend google.protobuf.FieldOptions {
1890 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option2", 1000,
2333 TEST_F(MiscTest, FieldOptions) {
2348 FieldOptions* options = bar_proto->mutable_options();
2349 options->set_ctype(FieldOptions::CORD);
2364 EXPECT_EQ(&FieldOptions::default_instance(), &foo->options());
2367 EXPECT_NE(&FieldOptions::default_instance(), options);
2369 EXPECT_EQ(FieldOptions
[all...]
/external/nanopb-c/generator/proto/
H A Dnanopb_pb2.py13 serialized_pb='\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\x92\x01\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse*Z\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB\x1a\n\x18\x66i.kapsi.koti.jpa.nanopb')
161 google.protobuf.descriptor_pb2.FieldOptions.RegisterExtension(nanopb)
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java217 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
236 assertEquals(DescriptorProtos.FieldOptions.CType.CORD,
248 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
791 .setOptions(DescriptorProtos.FieldOptions.newBuilder()
/external/tensorflow/tensorflow/tools/proto_text/
H A Dgen_proto_text_functions_lib.cc29 using ::tensorflow::protobuf::FieldOptions;
270 CHECK(ctype == FieldOptions::CORD || ctype == FieldOptions::STRING)
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc860 const FieldOptions& options(_GetDescriptor(self)->options());
861 if (&options != &FieldOptions::default_instance()) {
/external/nanopb-c/generator/google/protobuf/
H A Ddescriptor_pb2.py15 serialized_pb='\n google/protobuf/descriptor.proto\x12\x0fgoogle.protobuf\"G\n\x11\x46ileDescriptorSet\x12\x32\n\x04\x66ile\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xcb\x03\n\x13\x46ileDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07package\x18\x02 \x01(\t\x12\x12\n\ndependency\x18\x03 \x03(\t\x12\x19\n\x11public_dependency\x18\n \x03(\x05\x12\x17\n\x0fweak_dependency\x18\x0b \x03(\x05\x12\x36\n\x0cmessage_type\x18\x04 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x05 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12\x38\n\x07service\x18\x06 \x03(\x0b\x32\'.google.protobuf.ServiceDescriptorProto\x12\x38\n\textension\x18\x07 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12-\n\x07options\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.FileOptions\x12\x39\n\x10source_code_info\x18\t \x01(\x0b\x32\x1f.google.protobuf.SourceCodeInfo\"\xa9\x03\n\x0f\x44\x65scriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05\x66ield\x18\x02 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x38\n\textension\x18\x06 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x35\n\x0bnested_type\x18\x03 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x04 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12H\n\x0f\x65xtension_range\x18\x05 \x03(\x0b\x32/.google.protobuf.DescriptorProto.ExtensionRange\x12\x30\n\x07options\x18\x07 \x01(\x0b\x32\x1f.google.protobuf.MessageOptions\x1a,\n\x0e\x45xtensionRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\x94\x05\n\x14\x46ieldDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x03 \x01(\x05\x12:\n\x05label\x18\x04 \x01(\x0e\x32+.google.protobuf.FieldDescriptorProto.Label\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x11\n\ttype_name\x18\x06 \x01(\t\x12\x10\n\x08\x65xtendee\x18\x02 \x01(\t\x12\x15\n\rdefault_value\x18\x07 \x01(\t\x12.\n\x07options\x18\x08 \x01(\x0b\x32\x1d.google.protobuf.FieldOptions\"\xb6\x02\n\x04Type\x12\x0f\n\x0bTYPE_DOUBLE\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x0e\n\nTYPE_INT64\x10\x03\x12\x0f\n\x0bTYPE_UINT64\x10\x04\x12\x0e\n\nTYPE_INT32\x10\x05\x12\x10\n\x0cTYPE_FIXED64\x10\x06\x12\x10\n\x0cTYPE_FIXED32\x10\x07\x12\r\n\tTYPE_BOOL\x10\x08\x12\x0f\n\x0bTYPE_STRING\x10\t\x12\x0e\n\nTYPE_GROUP\x10\n\x12\x10\n\x0cTYPE_MESSAGE\x10\x0b\x12\x0e\n\nTYPE_BYTES\x10\x0c\x12\x0f\n\x0bTYPE_UINT32\x10\r\x12\r\n\tTYPE_ENUM\x10\x0e\x12\x11\n\rTYPE_SFIXED32\x10\x0f\x12\x11\n\rTYPE_SFIXED64\x10\x10\x12\x0f\n\x0bTYPE_SINT32\x10\x11\x12\x0f\n\x0bTYPE_SINT64\x10\x12\"C\n\x05Label\x12\x12\n\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n\x0eLABEL_REQUIRED\x10\x02\x12\x12\n\x0eLABEL_REPEATED\x10\x03\"\x8c\x01\n\x13\x45numDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x03(\x0b\x32).google.protobuf.EnumValueDescriptorProto\x12-\n\x07options\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.EnumOptions\"l\n\x18\x45numValueDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05\x12\x32\n\x07options\x18\x03 \x01(\x0b\x32!.google.protobuf.EnumValueOptions\"\x90\x01\n\x16ServiceDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06method\x18\x02 \x03(\x0b\x32&.google.protobuf.MethodDescriptorProto\x12\x30\n\x07options\x18\x03 \x01(\x0b\x32\x1f.google.protobuf.ServiceOptions\"\x7f\n\x15MethodDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ninput_type\x18\x02 \x01(\t\x12\x13\n\x0boutput_type\x18\x03 \x01(\t\x12/\n\x07options\x18\x04 \x01(\x0b\x32\x1e.google.protobuf.MethodOptions\"\xe9\x03\n\x0b\x46ileOptions\x12\x14\n\x0cjava_package\x18\x01 \x01(\t\x12\x1c\n\x14java_outer_classname\x18\x08 \x01(\t\x12\"\n\x13java_multiple_files\x18\n \x01(\x08:\x05\x66\x61lse\x12,\n\x1djava_generate_equals_and_hash\x18\x14 \x01(\x08:\x05\x66\x61lse\x12\x46\n\x0coptimize_for\x18\t \x01(\x0e\x32).google.protobuf.FileOptions.OptimizeMode:\x05SPEED\x12\x12\n\ngo_package\x18\x0b \x01(\t\x12\"\n\x13\x63\x63_generic_services\x18\x10 \x01(\x08:\x05\x66\x61lse\x12$\n\x15java_generic_services\x18\x11 \x01(\x08:\x05\x66\x61lse\x12\"\n\x13py_generic_services\x18\x12 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\":\n\x0cOptimizeMode\x12\t\n\x05SPEED\x10\x01\x12\r\n\tCODE_SIZE\x10\x02\x12\x10\n\x0cLITE_RUNTIME\x10\x03*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xb8\x01\n\x0eMessageOptions\x12&\n\x17message_set_wire_format\x18\x01 \x01(\x08:\x05\x66\x61lse\x12.\n\x1fno_standard_descriptor_accessor\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xbe\x02\n\x0c\x46ieldOptions\x12:\n\x05\x63type\x18\x01 \x01(\x0e\x32#.google.protobuf.FieldOptions.CType:\x06STRING\x12\x0e\n\x06packed\x18\x02 \x01(\x08\x12\x13\n\x04lazy\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\x14\x65xperimental_map_key\x18\t \x01(\t\x12\x13\n\x04weak\x18\n \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\"/\n\x05\x43Type\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x43ORD\x10\x01\x12\x10\n\x0cSTRING_PIECE\x10\x02*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"x\n\x0b\x45numOptions\x12\x19\n\x0b\x61llow_alias\x18\x02 \x01(\x08:\x04true\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"b\n\x10\x45numValueOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"`\n\x0eServiceOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"_\n\rMethodOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\x9e\x02\n\x13UninterpretedOption\x12;\n\x04name\x18\x02 \x03(\x0b\x32-.google.protobuf.UninterpretedOption.NamePart\x12\x18\n\x10identifier_value\x18\x03 \x01(\t\x12\x1a\n\x12positive_int_value\x18\x04 \x01(\x04\x12\x1a\n\x12negative_int_value\x18\x05 \x01(\x03\x12\x14\n\x0c\x64ouble_value\x18\x06 \x01(\x01\x12\x14\n\x0cstring_value\x18\x07 \x01(\x0c\x12\x17\n\x0f\x61ggregate_value\x18\x08 \x01(\t\x1a\x33\n\x08NamePart\x12\x11\n\tname_part\x18\x01 \x02(\t\x12\x14\n\x0cis_extension\x18\x02 \x02(\x08\"\xb1\x01\n\x0eSourceCodeInfo\x12:\n\x08location\x18\x01 \x03(\x0b\x32(.google.protobuf.SourceCodeInfo.Location\x1a\x63\n\x08Location\x12\x10\n\x04path\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x10\n\x04span\x18\x02 \x03(\x05\x42\x02\x10\x01\x12\x18\n\x10leading_comments\x18\x03 \x01(\t\x12\x19\n\x11trailing_comments\x18\x04 \x01(\tB)\n\x13\x63om.google.protobufB\x10\x44\x65scriptorProtosH\x01')
156 full_name='google.protobuf.FieldOptions.CType',
799 name='FieldOptions',
800 full_name='google.protobuf.FieldOptions',
806 name='ctype', full_name='google.protobuf.FieldOptions.ctype', index=0,
813 name='packed', full_name='google.protobuf.FieldOptions.packed', index=1,
820 name='lazy', full_name='google.protobuf.FieldOptions.lazy', index=2,
827 name='deprecated', full_name='google.protobuf.FieldOptions.deprecated', index=3,
834 name='experimental_map_key', full_name='google.protobuf.FieldOptions
1291 class FieldOptions(_message.Message): class in inherits:_message.Message
[all...]
/external/protobuf/src/google/protobuf/compiler/
H A Dparser_unittest.cc469 TEST_F(ParseMessageTest, FieldOptions) {
1555 "\"google.protobuf.FieldOptions.ctype\".\n");
2861 TEST_F(SourceInfoTest, FieldOptions) {
/external/nanopb-c/generator/
H A Dnanopb_generator.py926 if isinstance(subdesc.options, descriptor.FieldOptions):
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py132 descriptor_pb2.FieldOptions())
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java1039 /** Get the {@code FieldOptions}, defined in {@code descriptor.proto}. */
1040 public FieldOptions getOptions() { return proto.getOptions(); }
/external/google-tv-pairing-protocol/java/jar/
H A Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/protobuf/ com/google/protobuf/UninitializedMessageException ...
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h1981 * TODO(haberman): I think we want to move this into a FieldOptions container
1982 * when we add support for custom options (the FieldOptions struct will
1983 * contain both regular FieldOptions like "lazy" *and* custom options). */
1990 * FieldOptions container. */
6795 return strcmp(upb_msgdef_fullname(m), "google.protobuf.FieldOptions") == 0;
6845 return strcmp(upb_enumdef_fullname(e), "google.protobuf.FieldOptions.CType") == 0;
6848 return strcmp(upb_enumdef_fullname(e), "google.protobuf.FieldOptions.JSType") == 0;
7098 class FieldOptions : public ::upb::reffed_ptr<const ::upb::MessageDef> { class in namespace:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb::BytesSink::upb::BufferSource::upbdefs::google::protobuf
7100 FieldOptions(const ::upb::MessageDef* m, const void *ref_donor = NULL) function in class:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb::BytesSink::upb::BufferSource::upbdefs::google::protobuf::FieldOptions
7105 static FieldOptions ge
[all...]

Completed in 1390 milliseconds

12