Home
last modified time | relevance | path

Searched refs:getDescriptor (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDynamicMessageTest.java53 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
57 TestAllExtensions.getDescriptor(), TestUtil.getFullExtensionRegistry());
59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
62 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
69 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
88 Message.Builder builder = DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
108 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
116 Message.Builder builder = DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
123 Message.Builder builder = DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
128 Message.Builder builder = DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
[all …]
DDescriptorsTest.java96 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
104 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), file.getDependencies()); in testFileDescriptor()
106 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor()
115 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor()
121 Arrays.asList(ImportEnum.getDescriptor(), ImportEnumForMap.getDescriptor()), in testFileDescriptor()
122 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor()
127 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor()
132 assertEquals(Collections.emptyList(), UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
137 FieldDescriptor extension = UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor()
142 assertEquals(Collections.emptyList(), UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor()
[all …]
DMessageTest.java170 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic()
183 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign()
292 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
301 DynamicMessage message = DynamicMessage.newBuilder(TestRequired.getDescriptor()).buildPartial(); in testDynamicBuildPartial()
307 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized()
317 TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull()
319 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNull()
343 TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull()
345 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNotNull()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelzProto.java204 getDescriptor() { in getDescriptor() method in ChannelzProto
380 com.google.protobuf.AnyProto.getDescriptor(), in internalBuildGeneratedFileFrom()
381 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
382 com.google.protobuf.TimestampProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
383 com.google.protobuf.WrappersProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
386 getDescriptor().getMessageTypes().get(0);
392 getDescriptor().getMessageTypes().get(1);
398 getDescriptor().getMessageTypes().get(2);
404 getDescriptor().getMessageTypes().get(3);
410 getDescriptor().getMessageTypes().get(4);
[all …]
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDynamicMessageTest.java50 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
53 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(),
56 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
60 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
68 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
88 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
108 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
117 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
125 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
131 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
[all …]
DDescriptorsTest.java92 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
101 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), in testFileDescriptor()
104 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor()
113 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor()
118 assertEquals(Arrays.asList(ImportEnum.getDescriptor()), in testFileDescriptor()
119 UnittestImport.getDescriptor().getEnumTypes()); in testFileDescriptor()
124 ServiceDescriptor service = TestService.getDescriptor(); in testFileDescriptor()
130 UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
136 UnittestProto.optionalInt32Extension.getDescriptor(); in testFileDescriptor()
144 UnittestImport.getDescriptor().getExtensions()); in testFileDescriptor()
[all …]
DWireFormatTest.java209 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testInterleavedFieldsAndExtensions()
211 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
215 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions()
216 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions()
247 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); in testParseMultipleExtensionRangesDynamic()
249 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
253 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic()
254 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
264 TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber();
266 TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber();
[all …]
DMessageTest.java169 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic()
182 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign()
292 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
302 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
309 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized()
319 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull()
321 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNull()
343 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull()
345 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()) in testDynamicRepeatedMessageNotNull()
DTestBadIdentifiers.java53 TestBadIdentifiersProto.getDescriptor(); in testGetDescriptor()
55 .getDefaultInstance().getDescriptor(); in testGetDescriptor()
59 .NestedDescriptor.getDefaultInstance().getDescriptor(); in testGetDescriptor()
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DLoadBalancerProto.java59 getDescriptor() { in getDescriptor() method in LoadBalancerProto
112 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
113 com.google.protobuf.TimestampProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
116 getDescriptor().getMessageTypes().get(0);
122 getDescriptor().getMessageTypes().get(1);
128 getDescriptor().getMessageTypes().get(2);
134 getDescriptor().getMessageTypes().get(3);
140 getDescriptor().getMessageTypes().get(4);
146 getDescriptor().getMessageTypes().get(5);
152 getDescriptor().getMessageTypes().get(6);
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DBinaryLogProto.java59 getDescriptor() { in getDescriptor() method in BinaryLogProto
121 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
122 com.google.protobuf.TimestampProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
125 getDescriptor().getMessageTypes().get(0);
131 getDescriptor().getMessageTypes().get(1);
137 getDescriptor().getMessageTypes().get(2);
143 getDescriptor().getMessageTypes().get(3);
149 getDescriptor().getMessageTypes().get(4);
155 getDescriptor().getMessageTypes().get(5);
161 getDescriptor().getMessageTypes().get(6);
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DBinaryLogProto.java49 getDescriptor() { in getDescriptor() method in BinaryLogProto
101 com.google.protobuf.DurationProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
104 getDescriptor().getMessageTypes().get(0);
110 getDescriptor().getMessageTypes().get(1);
116 getDescriptor().getMessageTypes().get(2);
122 getDescriptor().getMessageTypes().get(3);
128 getDescriptor().getMessageTypes().get(4);
134 getDescriptor().getMessageTypes().get(5);
139 com.google.protobuf.DurationProto.getDescriptor(); in com.google.protobuf.DurationProto.getDescriptor()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DServerReflectionProto.java59 getDescriptor() { in getDescriptor() method in ServerReflectionProto
115 getDescriptor().getMessageTypes().get(0);
121 getDescriptor().getMessageTypes().get(1);
127 getDescriptor().getMessageTypes().get(2);
133 getDescriptor().getMessageTypes().get(3);
139 getDescriptor().getMessageTypes().get(4);
145 getDescriptor().getMessageTypes().get(5);
151 getDescriptor().getMessageTypes().get(6);
157 getDescriptor().getMessageTypes().get(7);
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DServices.java19 getDescriptor() { in getDescriptor() method in Services
62 io.grpc.benchmarks.proto.Messages.getDescriptor(), in internalBuildGeneratedFileFrom() argument
63 io.grpc.benchmarks.proto.Control.getDescriptor(), in internalBuildGeneratedFileFrom() argument
65 io.grpc.benchmarks.proto.Messages.getDescriptor(); in io.grpc.benchmarks.proto.Messages.getDescriptor()
66 io.grpc.benchmarks.proto.Control.getDescriptor(); in io.grpc.benchmarks.proto.Control.getDescriptor()
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/
DTest.java19 getDescriptor() { in getDescriptor() method in Test
65 io.grpc.testing.integration.EmptyProtos.getDescriptor(), in internalBuildGeneratedFileFrom() argument
66 io.grpc.testing.integration.Messages.getDescriptor(), in internalBuildGeneratedFileFrom() argument
68 io.grpc.testing.integration.EmptyProtos.getDescriptor(); in io.grpc.testing.integration.EmptyProtos.getDescriptor()
69 io.grpc.testing.integration.Messages.getDescriptor(); in io.grpc.testing.integration.Messages.getDescriptor()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnum.java52 …RubyEnumDescriptor rubyEnumDescriptorescriptor = (RubyEnumDescriptor) getDescriptor(context, recv); in lookup()
53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup()
68 …RubyEnumDescriptor rubyEnumDescriptorescriptor = (RubyEnumDescriptor) getDescriptor(context, recv); in resolve()
69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve()
83 public static IRubyObject getDescriptor(ThreadContext context, IRubyObject recv) { in getDescriptor() method in RubyEnum
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DReflectionTestProto.java31 getDescriptor() { in getDescriptor() method in ReflectionTestProto
61 io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
62 io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
65 io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthTwoProto.getDescriptor()
66 io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthTwoAlternateProto.getDescriptor()
DReflectionTestDepthTwoProto.java41 getDescriptor() { in getDescriptor() method in ReflectionTestDepthTwoProto
70 io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor(), in internalBuildGeneratedFileFrom() argument
73 getDescriptor().getMessageTypes().get(0);
79 getDescriptor().getMessageTypes().get(1);
85 io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor(); in io.grpc.reflection.testing.ReflectionTestDepthThreeProto.getDescriptor()
/external/proguard/src/proguard/classfile/visitor/
DMemberDescriptorFilter.java73 if (accepted(programField.getDescriptor(programClass))) in visitProgramField()
82 if (accepted(programMethod.getDescriptor(programClass))) in visitProgramMethod()
91 if (accepted(libraryField.getDescriptor(libraryClass))) in visitLibraryField()
100 if (accepted(libraryMethod.getDescriptor(libraryClass))) in visitLibraryMethod()
DSimilarMemberVisitor.java86 programField.getDescriptor(programClass), in visitProgramField()
98 libraryField.getDescriptor(libraryClass), in visitLibraryField()
110 … programMethod.getDescriptor(programClass), in visitProgramMethod()
122 … libraryMethod.getDescriptor(libraryClass), in visitLibraryMethod()
DSimpleClassPrinter.java112 programField.getDescriptor(programClass))); in visitProgramField()
130 programMethod.getDescriptor(programClass))); in visitProgramMethod()
147 libraryField.getDescriptor(libraryClass))); in visitLibraryField()
165 libraryMethod.getDescriptor(libraryClass))); in visitLibraryMethod()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java150 …+programClass+"."+programField.getName(programClass)+" "+programField.getDescriptor(programClass)+… in visitProgramField()
187 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod()
200 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
215 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
234 …getClass.getName()+"."+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass)+"… in visitProgramMethod()
247 …Class.getName()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+… in visitProgramMethod()
/external/javassist/src/main/javassist/
DSerialVersionUID.java130 out.writeUTF(field.getFieldInfo2().getDescriptor()); in calculateDefault()
146 return c1.getMethodInfo2().getDescriptor().compareTo( in calculateDefault()
147 c2.getMethodInfo2().getDescriptor()); in calculateDefault()
158 .getDescriptor().replace('/', '.')); in calculateDefault()
168 value = m1.getMethodInfo2().getDescriptor() in calculateDefault()
169 .compareTo(m2.getMethodInfo2().getDescriptor()); in calculateDefault()
186 .getDescriptor().replace('/', '.')); in calculateDefault()
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java178 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileByFilename()
205 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileByFilenameConsistentForMutableServices()
246 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
247 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
248 ReflectionTestDepthTwoAlternateProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
249 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()); in fileContainingSymbol()
282 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileContainingNestedSymbol()
308 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileContainingSymbolForMutableServices()
353 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
354 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java709 Any.getDescriptor().getFullName(), in buildWellKnownTypePrinters()
724 printers.put(BoolValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
725 printers.put(Int32Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
726 printers.put(UInt32Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
727 printers.put(Int64Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
728 printers.put(UInt64Value.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
729 printers.put(StringValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
730 printers.put(BytesValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
731 printers.put(FloatValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
732 printers.put(DoubleValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
[all …]

12345678910>>...14