HomeSort by relevance Sort by last modified time
    Searched defs:oneofDescriptor (Results 1 - 9 of 9) sorted by null

  /external/protobuf/java/core/src/main/java/com/google/protobuf/
GeneratedMessage.java 38 import com.google.protobuf.Descriptors.OneofDescriptor;
127 final OneofDescriptor oneofDescriptor = field.getContainingOneof();
133 if (oneofDescriptor != null) {
135 i += oneofDescriptor.getFieldCount() - 1;
136 if (!hasOneof(oneofDescriptor)) {
141 field = getOneofFieldDescriptor(oneofDescriptor);
217 public boolean hasOneof(final OneofDescriptor oneof) {
222 public FieldDescriptor getOneofFieldDescriptor(final OneofDescriptor oneof) {
481 final OneofDescriptor oneofDescriptor = field.getContainingOneof()
    [all...]
Descriptors.java 642 public List<OneofDescriptor> getOneofs() {
768 private final OneofDescriptor[] oneofs;
790 this.oneofs = new OneofDescriptor[0];
807 oneofs = new OneofDescriptor[proto.getOneofDeclCount()];
809 oneofs[i] = new OneofDescriptor(
842 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof();
843 if (oneofDescriptor != null) {
844 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]
    [all...]
  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyMessage.java 74 this.oneofCases = new HashMap<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor>();
100 Descriptors.OneofDescriptor oneof = fieldDescriptor.getContainingOneof();
218 IRubyObject oneofDescriptor = rubyDescriptor.lookupOneof(context, args[0]);
219 if (oneofDescriptor.isNil()) {
225 RubyOneofDescriptor rubyOneofDescriptor = (RubyOneofDescriptor) oneofDescriptor;
593 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof();
594 if (oneofDescriptor != null) {
595 if (oneofCases.containsKey(oneofDescriptor)) {
596 if (oneofCases.get(oneofDescriptor) != fieldDescriptor
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
DescriptorsTest.java 45 import com.google.protobuf.Descriptors.OneofDescriptor;
730 OneofDescriptor oneofDescriptor = field.getContainingOneof();
731 assertNotNull(oneofDescriptor);
732 assertSame(oneofDescriptor, messageType.getOneofs().get(0));
733 assertEquals("oneof_field", oneofDescriptor.getName());
735 assertEquals(4, oneofDescriptor.getFieldCount());
736 assertSame(oneofDescriptor.getField(1), field);
738 assertEquals(4, oneofDescriptor.getFields().size());
739 assertEquals(oneofDescriptor.getFields().get(1), field)
    [all...]
  /prebuilts/misc/common/robolectric/lib/
protobuf-java-2.6.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/2.6.1/
protobuf-java-2.6.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/3.0.0-beta-2/
protobuf-java-3.0.0-beta-2.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/3.0.0/
protobuf-java-3.0.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/3.0.2/
protobuf-java-3.0.2.jar 

Completed in 1025 milliseconds