Home
last modified time | relevance | path

Searched refs:UnknownFieldSet (Results 1 – 25 of 187) sorted by relevance

12345678

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSetSchema.java35 class UnknownFieldSetSchema extends UnknownFieldSchema<UnknownFieldSet, UnknownFieldSet.Builder> {
49 UnknownFieldSet.Builder newBuilder() { in newBuilder()
50 return UnknownFieldSet.newBuilder(); in newBuilder()
54 void addVarint(UnknownFieldSet.Builder fields, int number, long value) { in addVarint()
55 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addVarint(value).build()); in addVarint()
59 void addFixed32(UnknownFieldSet.Builder fields, int number, int value) { in addFixed32()
60 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addFixed32(value).build()); in addFixed32()
64 void addFixed64(UnknownFieldSet.Builder fields, int number, long value) { in addFixed64()
65 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addFixed64(value).build()); in addFixed64()
69 void addLengthDelimited(UnknownFieldSet.Builder fields, int number, ByteString value) { in addLengthDelimited()
[all …]
DUnknownFieldSet.java58 public final class UnknownFieldSet implements MessageLite { class
60 private UnknownFieldSet() { in UnknownFieldSet() method in UnknownFieldSet
71 public static Builder newBuilder(final UnknownFieldSet copyFrom) { in newBuilder()
76 public static UnknownFieldSet getDefaultInstance() { in getDefaultInstance()
81 public UnknownFieldSet getDefaultInstanceForType() { in getDefaultInstanceForType()
85 private static final UnknownFieldSet defaultInstance =
86 new UnknownFieldSet(
92 UnknownFieldSet(final Map<Integer, Field> fields, final Map<Integer, Field> fieldsDescending) { in UnknownFieldSet() method in UnknownFieldSet
108 return (other instanceof UnknownFieldSet) && fields.equals(((UnknownFieldSet) other).fields); in equals()
267 public static UnknownFieldSet parseFrom(final CodedInputStream input) throws IOException { in parseFrom()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java60 UnknownFieldSet.Field getField(String name) { in getField()
70 UnknownFieldSet.Builder bizarroFields = UnknownFieldSet.newBuilder(); in getBizarroData()
72 UnknownFieldSet.Field varintField = UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
73 UnknownFieldSet.Field fixed32Field = UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
75 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : unknownFields.asMap().entrySet()) { in getBizarroData()
95 UnknownFieldSet unknownFields;
100 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
106 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
112 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64()
118 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited()
[all …]
DProto2UnknownEnumValueTest.java49 UnknownFieldSet.Builder builder = UnknownFieldSet.newBuilder(); in buildPayloadWithUnknownEnumValues()
52 UnknownFieldSet.Field.newBuilder() in buildPayloadWithUnknownEnumValues()
58 UnknownFieldSet.Field.newBuilder() in buildPayloadWithUnknownEnumValues()
77 UnknownFieldSet unknown = message.getUnknownFields(); in testUnknownEnumValues()
103 UnknownFieldSet unknown = message.getUnknownFields(); in testExtensionUnknownEnumValues()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java59 UnknownFieldSet.Field getField(String name) { in getField()
69 UnknownFieldSet.Builder bizarroFields = UnknownFieldSet.newBuilder(); in getBizarroData()
71 UnknownFieldSet.Field varintField = in getBizarroData()
72 UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
73 UnknownFieldSet.Field fixed32Field = in getBizarroData()
74 UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
76 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : in getBizarroData()
97 UnknownFieldSet unknownFields;
102 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
109 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
[all …]
/external/protobuf/src/google/protobuf/
Dunknown_field_set.h86 class PROTOBUF_EXPORT UnknownFieldSet {
88 UnknownFieldSet();
89 ~UnknownFieldSet();
101 void MergeFrom(const UnknownFieldSet& other);
104 void MergeFromAndDestroy(UnknownFieldSet* other);
110 const UnknownFieldSet& other,
114 inline void Swap(UnknownFieldSet* x);
147 UnknownFieldSet* AddGroup(int number);
172 static const UnknownFieldSet* default_instance();
179 void InternalMergeFrom(const UnknownFieldSet& other);
[all …]
Dunknown_field_set.cc52 const UnknownFieldSet* UnknownFieldSet::default_instance() { in default_instance()
53 static auto instance = internal::OnShutdownDelete(new UnknownFieldSet()); in default_instance()
57 void UnknownFieldSet::ClearFallback() { in ClearFallback()
66 void UnknownFieldSet::InternalMergeFrom(const UnknownFieldSet& other) { in InternalMergeFrom()
77 void UnknownFieldSet::MergeFrom(const UnknownFieldSet& other) { in MergeFrom()
90 void UnknownFieldSet::MergeFromAndDestroy(UnknownFieldSet* other) { in MergeFromAndDestroy()
101 void UnknownFieldSet::MergeToInternalMetdata( in MergeToInternalMetdata()
102 const UnknownFieldSet& other, in MergeToInternalMetdata()
107 size_t UnknownFieldSet::SpaceUsedExcludingSelfLong() const { in SpaceUsedExcludingSelfLong()
130 size_t UnknownFieldSet::SpaceUsedLong() const { in SpaceUsedLong()
[all …]
Dwire_format.h61 class UnknownFieldSet; // unknown_field_set.h variable
135 UnknownFieldSet* unknown_fields);
140 UnknownFieldSet* unknown_fields);
148 UnknownFieldSet* unknown_fields,
152 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields,
160 const UnknownFieldSet& unknown_fields, uint8* target);
165 const UnknownFieldSet& unknown_fields, io::CodedOutputStream* output);
172 const UnknownFieldSet& unknown_fields, uint8* target);
175 static size_t ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields);
180 const UnknownFieldSet& unknown_fields);
[all …]
Dmetadata.h53 : public InternalMetadataWithArenaBase<UnknownFieldSet,
58 : InternalMetadataWithArenaBase<UnknownFieldSet, in InternalMetadataWithArena()
61 void DoSwap(UnknownFieldSet* other) { mutable_unknown_fields()->Swap(other); } in DoSwap()
63 void DoMergeFrom(const UnknownFieldSet& other) { in DoMergeFrom()
69 static const UnknownFieldSet& default_instance() { in default_instance()
70 return *UnknownFieldSet::default_instance(); in default_instance()
/external/protobuf/csharp/src/Google.Protobuf/
DUnknownFieldSet.cs49 public sealed partial class UnknownFieldSet class
56 internal UnknownFieldSet() in UnknownFieldSet() method in Google.Protobuf.UnknownFieldSet
102 UnknownFieldSet otherSet = other as UnknownFieldSet; in Equals()
170 internal UnknownFieldSet AddOrReplaceField(int number, UnknownField field) in AddOrReplaceField()
219 UnknownFieldSet set = new UnknownFieldSet(); in MergeFieldFrom()
245 public static UnknownFieldSet MergeFieldFrom(UnknownFieldSet unknownFields, in MergeFieldFrom()
255 unknownFields = new UnknownFieldSet(); in MergeFieldFrom()
269 private UnknownFieldSet MergeFrom(UnknownFieldSet other) in MergeFrom()
287 public static UnknownFieldSet MergeFrom(UnknownFieldSet unknownFields, in MergeFrom()
288 UnknownFieldSet other) in MergeFrom()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs62 private pb::UnknownFieldSet _unknownFields;
86 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in DoubleValue()
171 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
180 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
199 private pb::UnknownFieldSet _unknownFields;
223 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in FloatValue()
308 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
317 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
336 private pb::UnknownFieldSet _unknownFields;
360 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Int64Value()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs52 private pb::UnknownFieldSet _unknownFields;
77 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in DivArgs()
182 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
191 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
209 private pb::UnknownFieldSet _unknownFields;
234 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in DivReply()
339 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
348 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
366 private pb::UnknownFieldSet _unknownFields;
390 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in FibArgs()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestCustomOptionsProto3.cs262 private pb::UnknownFieldSet _unknownFields;
292 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in TestMessageWithCustomOptions()
420 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
429 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
464 private pb::UnknownFieldSet _unknownFields;
487 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in CustomOptionFooRequest()
546 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
555 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
565 private pb::UnknownFieldSet _unknownFields;
588 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in CustomOptionFooResponse()
[all …]
DUnittestIssues.cs93 private pb::UnknownFieldSet _unknownFields;
116 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Issue307()
175 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
184 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
196 private pb::UnknownFieldSet _unknownFields;
219 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in NestedOnce()
278 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
287 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
299 private pb::UnknownFieldSet _unknownFields;
322 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in NestedTwice()
[all …]
DUnittestProto3.cs259 private pb::UnknownFieldSet _unknownFields;
341 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in TestAllTypes()
1381 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
1390 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
1638 private pb::UnknownFieldSet _unknownFields;
1662 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in NestedMessage()
1749 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
1758 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
1780 private pb::UnknownFieldSet _unknownFields;
1806 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in NestedTestAllTypes()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs99 private pb::UnknownFieldSet _unknownFields;
123 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in BoolValue()
208 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
217 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
234 private pb::UnknownFieldSet _unknownFields;
259 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Payload()
370 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
379 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
401 private pb::UnknownFieldSet _unknownFields;
426 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in EchoStatus()
[all …]
DPayloads.cs51 private pb::UnknownFieldSet _unknownFields;
76 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in ByteBufferParams()
181 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
190 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
208 private pb::UnknownFieldSet _unknownFields;
233 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in SimpleProtoParams()
338 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
347 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
369 private pb::UnknownFieldSet _unknownFields;
392 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in ComplexProtoParams()
[all …]
DMetrics.cs53 private pb::UnknownFieldSet _unknownFields;
89 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in GaugeResponse()
265 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
274 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
303 private pb::UnknownFieldSet _unknownFields;
327 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in GaugeRequest()
409 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
418 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
432 private pb::UnknownFieldSet _unknownFields;
455 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in EmptyMessage()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DUnknownFieldSetTest.cs45 UnknownFieldSet unknownFields = new UnknownFieldSet(); in EmptyUnknownFieldSet()
52 UnknownFieldSet unknownFields = new UnknownFieldSet(); in MergeUnknownFieldSet()
56 UnknownFieldSet otherUnknownFields = new UnknownFieldSet(); in MergeUnknownFieldSet()
58 UnknownFieldSet.MergeFrom(otherUnknownFields, unknownFields); in MergeUnknownFieldSet()
191 … Assert.Throws<InvalidProtocolBufferException>(() => UnknownFieldSet.MergeFieldFrom(null, input)); in TestReadInvalidWireTypeThrowsInvalidProtocolBufferException()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuide.cs65 private pb::UnknownFieldSet _unknownFields;
90 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Point()
195 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
204 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
226 private pb::UnknownFieldSet _unknownFields;
251 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Rectangle()
368 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
377 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
406 private pb::UnknownFieldSet _unknownFields;
431 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Feature()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs48 private pb::UnknownFieldSet _unknownFields;
73 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Bucket()
178 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
187 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
205 private pb::UnknownFieldSet _unknownFields;
229 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Histogram()
303 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
312 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
326 private pb::UnknownFieldSet _unknownFields;
359 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Metric()
[all …]
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/Greeter/
DHelloworld.cs49 private pb::UnknownFieldSet _unknownFields;
73 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HelloRequest()
155 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
164 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
181 private pb::UnknownFieldSet _unknownFields;
205 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HelloReply()
287 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
296 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/
DHelloworld.cs49 private pb::UnknownFieldSet _unknownFields;
73 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HelloRequest()
155 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
164 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
181 private pb::UnknownFieldSet _unknownFields;
205 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HelloReply()
287 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
296 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflection.cs79 private pb::UnknownFieldSet _unknownFields;
121 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in ServerReflectionRequest()
374 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
383 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
426 private pb::UnknownFieldSet _unknownFields;
451 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in ExtensionRequest()
559 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
568 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
589 private pb::UnknownFieldSet _unknownFields;
629 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in ServerReflectionResponse()
[all …]
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealth.cs50 private pb::UnknownFieldSet _unknownFields;
74 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HealthCheckRequest()
156 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
165 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()
179 private pb::UnknownFieldSet _unknownFields;
203 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in HealthCheckResponse()
285 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom()
294 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom()

12345678