Home
last modified time | relevance | path

Searched refs:oneofCase (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java600 … Descriptors.FieldDescriptor oneofCase = builder.getOneofFieldDescriptor(oneofDescriptor); in getField() local
601 if (oneofCase != fieldDescriptor) return context.runtime.getNil(); in getField()
602 IRubyObject value = wrapField(context, oneofCase, builder.getField(oneofCase)); in getField()
664 Descriptors.FieldDescriptor oneofCase = oneofCases.get(oneofDescriptor); in setField() local
665 if (oneofCase != null && oneofCase != fieldDescriptor) { in setField()
666 fields.remove(oneofCase); in setField()