Searched refs:DescriptorProto (Results 1 – 25 of 31) sorted by relevance
12
38 import com.google.protobuf.DescriptorProtos.DescriptorProto;63 DescriptorProto parse(InputStream in) throws IOException; in parse()69 serializedProto = DescriptorProto.getDescriptor().toProto().toByteArray(); in setup()75 DescriptorProto.getDescriptor().toProto().writeDelimitedTo(bos); in setupDelimited()87 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream()88 return DescriptorProto.parseFrom(in); in message_parseFrom_InputStream()98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry()99 return DescriptorProto.parseFrom(in, ExtensionRegistry.newInstance()); in message_parseFrom_InputStreamAndExtensionRegistry()109 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream()110 return DescriptorProto.parseFrom(CodedInputStream.newInstance(in)); in message_parseFrom_CodedInputStream()[all …]
33 import com.google.protobuf.DescriptorProtos.DescriptorProto;454 .addMessageType(DescriptorProto.newBuilder() in testDescriptorValidatorException()486 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink()495 .addMessageType(DescriptorProto.newBuilder() in testDescriptorComplexCrosslink()578 .addMessageType(DescriptorProto.newBuilder() in testUnknownFieldsDenied()600 .addMessageType(DescriptorProto.newBuilder() in testUnknownFieldsAllowed()614 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testHiddenDependency()623 .addMessageType(DescriptorProto.newBuilder() in testHiddenDependency()649 .addMessageType(DescriptorProto.newBuilder().setName("Bar")) in testPublicDependency()659 .addMessageType(DescriptorProto.newBuilder() in testPublicDependency()[all …]
295 bool ParseMessageDefinition(DescriptorProto* message,316 bool ParseMessageBlock(DescriptorProto* message,328 bool ParseMessageStatement(DescriptorProto* message,347 RepeatedPtrField<DescriptorProto>* messages,356 RepeatedPtrField<DescriptorProto>* messages,363 bool ParseExtensions(DescriptorProto* message,368 bool ParseReserved(DescriptorProto* message,370 bool ParseReservedNames(DescriptorProto* message,372 bool ParseReservedNumbers(DescriptorProto* message,378 RepeatedPtrField<DescriptorProto>* messages,[all …]
650 DescriptorProto* message, in ParseMessageDefinition()656 DescriptorProto::kNameFieldNumber); in ParseMessageDefinition()669 bool IsMessageSetWireFormatMessage(const DescriptorProto& message) { in IsMessageSetWireFormatMessage()685 void AdjustExtensionRangesWithMaxEndNumber(DescriptorProto* message) { in AdjustExtensionRangesWithMaxEndNumber()699 bool Parser::ParseMessageBlock(DescriptorProto* message, in ParseMessageBlock()723 bool Parser::ParseMessageStatement(DescriptorProto* message, in ParseMessageStatement()731 DescriptorProto::kNestedTypeFieldNumber, in ParseMessageStatement()737 DescriptorProto::kEnumTypeFieldNumber, in ParseMessageStatement()743 DescriptorProto::kExtensionRangeFieldNumber); in ParseMessageStatement()749 DescriptorProto::kExtensionFieldNumber); in ParseMessageStatement()[all …]
1646 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()1660 DescriptorProto* message(other_file.add_message_type()); in TEST_F()1705 bool operator()(const DescriptorProto* left, in operator ()()1706 const DescriptorProto* right) const { in operator ()()1712 void SortMessages(DescriptorProto *descriptor_proto) { in SortMessages()1718 DescriptorProto **data = in SortMessages()1730 DescriptorProto **data = in SortMessages()1736 void StripFieldTypeName(DescriptorProto* proto) { in StripFieldTypeName()2486 const DescriptorProto::ExtensionRange& range1 = in TEST_F()2488 const DescriptorProto::ExtensionRange& range2 = in TEST_F()[all …]
41 class DescriptorProto; variable407 const ::google::protobuf::DescriptorProto& message_type(int index) const;408 ::google::protobuf::DescriptorProto* mutable_message_type(int index);409 ::google::protobuf::DescriptorProto* add_message_type();410 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*412 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {718 DescriptorProto();719 virtual ~DescriptorProto();[all …]
155 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()156 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()157 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()158 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()159 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()160 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()161 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, oneof_decl_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()162 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()163 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, reserved_range_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()164 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, reserved_name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()[all …]
69 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) { in AddMessage()70 DescriptorProto* result = file->add_message_type(); in AddMessage()75 DescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) { in AddNestedMessage()76 DescriptorProto* result = parent->add_nested_type(); in AddNestedMessage()87 EnumDescriptorProto* AddNestedEnum(DescriptorProto* parent, in AddNestedEnum()101 FieldDescriptorProto* AddField(DescriptorProto* parent, in AddField()127 FieldDescriptorProto* AddNestedExtension(DescriptorProto* parent, in AddNestedExtension()141 DescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent, in AddExtensionRange()143 DescriptorProto::ExtensionRange* result = parent->add_extension_range(); in AddExtensionRange()149 DescriptorProto::ReservedRange* AddReservedRange(DescriptorProto* parent, in AddReservedRange()[all …]
1786 void Descriptor::CopyTo(DescriptorProto* proto) const { in CopyTo()1802 DescriptorProto::ExtensionRange* range = proto->add_extension_range(); in CopyTo()1810 DescriptorProto::ReservedRange* range = proto->add_reserved_range(); in CopyTo()1823 void Descriptor::CopyJsonNameTo(DescriptorProto* proto) const { in CopyJsonNameTo()2678 output->push_back(DescriptorProto::kNestedTypeFieldNumber); in GetLocationPath()2693 output->push_back(DescriptorProto::kExtensionFieldNumber); in GetLocationPath()2698 output->push_back(DescriptorProto::kFieldFieldNumber); in GetLocationPath()2705 output->push_back(DescriptorProto::kOneofDeclFieldNumber); in GetLocationPath()2712 output->push_back(DescriptorProto::kEnumTypeFieldNumber); in GetLocationPath()2951 void BuildMessage(const DescriptorProto& proto,[all …]
169 bool AddNestedExtensions(const DescriptorProto& message_type,
88 class DescriptorProto; variable205 void CopyTo(DescriptorProto* proto) const;371 void CopyJsonNameTo(DescriptorProto* proto) const;
73 repeated DescriptorProto message_type = 4;92 message DescriptorProto { message98 repeated DescriptorProto nested_type = 3;706 // repeated DescriptorProto message_type = 4;707 // and DescriptorProto.field has field number 2:
138 const DescriptorProto& message_type, in AddNestedExtensions()
1059 DescriptorProto template_descriptor_proto; in TEST()
146 …DescriptorProto), global::Google.Protobuf.Reflection.DescriptorProto.Parser, new[]{ "Name", "Field… in DescriptorReflection()147 …bal::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange), global::Google.Protobuf.Refl… in DescriptorReflection()375 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeat…376 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.DescriptorProto.Parser);377 …gle.Protobuf.Reflection.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Prot…381 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {663 internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> { class664 …tic readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>((…665 public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } }675 public DescriptorProto() { in DescriptorProto() method in Google.Protobuf.Reflection.DescriptorProto[all …]
63 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor()116 internal DescriptorProto Proto { get; }
78 this.builder = DescriptorProtos.DescriptorProto.newBuilder(); in initialize()228 public DescriptorProtos.DescriptorProto.Builder getBuilder() { in getBuilder()265 private DescriptorProtos.DescriptorProto.Builder builder;
546 descriptor_pb2.DescriptorProto,562 descriptor_pb2.DescriptorProto,579 descriptor_pb2.DescriptorProto,620 descriptor_pb2.DescriptorProto,634 descriptor_pb2.DescriptorProto,656 descriptor_pb2.DescriptorProto,797 descriptor_proto = descriptor_pb2.DescriptorProto()807 descriptor_proto = descriptor_pb2.DescriptorProto()
77 goog.provide('proto.google.protobuf.DescriptorProto');78 goog.provide('proto.google.protobuf.DescriptorProto.ExtensionRange');79 goog.provide('proto.google.protobuf.DescriptorProto.ReservedRange');
598 public DescriptorProto toProto() { in toProto()663 for (final DescriptorProto.ExtensionRange range : in isExtensionNumber()674 for (final DescriptorProto.ReservedRange range : in isReservedNumber()760 private DescriptorProto proto;780 this.proto = DescriptorProto.newBuilder().setName(name).addExtensionRange( in Descriptor()781 DescriptorProto.ExtensionRange.newBuilder().setStart(1) in Descriptor()796 private Descriptor(final DescriptorProto proto, in Descriptor()867 private void setProto(final DescriptorProto proto) { in setProto()
69 repeated DescriptorProto message_type = 4;84 message DescriptorProto { message90 repeated DescriptorProto nested_type = 3;563 // repeated DescriptorProto message_type = 4;564 // and DescriptorProto.field has field number 2:
719 DescriptorProto edp; in PrintDescriptor()
557 return CopyToPythonProto<DescriptorProto>(_GetDescriptor(self), target); in CopyToProto()
1237 class DescriptorProto(_message.Message): class
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...