Searched refs:valueField (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessageBuilderContext.java | 175 …RubyFieldDescriptor valueField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block… in map() local 176 valueField.setName(context, runtime.newString("value")); in map() 177 valueField.setLabel(context, RubySymbol.newSymbol(runtime, "optional")); in map() 178 valueField.setNumber(context, runtime.newFixnum(2)); in map() 179 valueField.setType(context, valueType); in map() 180 if (! typeClass.isNil()) valueField.setSubmsgName(context, typeClass); in map() 181 mapentryDesc.addField(context, valueField); in map()
|
D | RubyMessage.java | 614 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in getField() local 621 ….indexSet(context, kvMessage.getField(context, keyField), kvMessage.getField(context, valueField)); in getField() 734 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in newMapForField() local 736 IRubyObject valueType = RubySymbol.newSymbol(context.runtime, valueField.getType().name()); in newMapForField() 737 if (valueField.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in newMapForField()
|
D | RubyMap.java | 368 Descriptors.FieldDescriptor valueField = descriptor.lookup("value").getFieldDef(); in build() local 372 mapMessage.setField(context, valueField, table.get(key)); in build()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 562 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printAny() local 565 if (typeUrlField == null || valueField == null in printAny() 567 || valueField.getType() != FieldDescriptor.Type.BYTES) { in printAny() 577 ByteString content = (ByteString) message.getField(valueField); in printAny() 601 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printWrapper() local 602 if (valueField == null) { in printWrapper() 607 printSingleFieldValue(valueField, message.getField(valueField)); in printWrapper() 759 FieldDescriptor valueField = type.findFieldByName("value"); in printMapFieldValue() local 760 if (keyField == null || valueField == null) { in printMapFieldValue() 769 Object entryValue = entry.getField(valueField); in printMapFieldValue() [all …]
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb.go | 280 valueField := s.Type().Field(i) 281 if strings.HasPrefix(valueField.Name, "XXX_") { 323 if valueField.Tag.Get("protobuf_oneof") != "" { 327 valueField = sv.Type().Field(0) 329 prop := jsonProperties(valueField, m.OrigName)
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 281 var valueField = type.FindFieldByNumber(2); in MergeMapField() 282 if (keyField == null || valueField == null) in MergeMapField() 296 object value = ParseSingleValue(valueField, tokenizer); in MergeMapField()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapForProto2Test.java | 437 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() local 439 entryBuilder.setField(valueField, value); in newMapEntry()
|
D | MapTest.java | 530 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() local 532 entryBuilder.setField(valueField, value); in newMapEntry()
|