MCPcopy Create free account
hub / github.com/InsightIM/Tok-Android / dynamicMethod

Method dynamicMethod

app/src/main/java/im/tox/proto/Av.java:1595–1677  ·  view source on GitHub ↗
(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        Object arg0, Object arg1)

Source from the content-addressed store, hash-verified

1593 // @@protoc_insertion_point(builder_scope:im.tox.proto.VideoBitRate)
1594 }
1595 protected final Object dynamicMethod(
1596 com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
1597 Object arg0, Object arg1) {
1598 switch (method) {
1599 case NEW_MUTABLE_INSTANCE: {
1600 return new im.tox.proto.Av.VideoBitRate();
1601 }
1602 case IS_INITIALIZED: {
1603 return DEFAULT_INSTANCE;
1604 }
1605 case MAKE_IMMUTABLE: {
1606 return null;
1607 }
1608 case NEW_BUILDER: {
1609 return new Builder();
1610 }
1611 case VISIT: {
1612 Visitor visitor = (Visitor) arg0;
1613 im.tox.proto.Av.VideoBitRate other = (im.tox.proto.Av.VideoBitRate) arg1;
1614 friendNumber_ = visitor.visitInt(friendNumber_ != 0, friendNumber_,
1615 other.friendNumber_ != 0, other.friendNumber_);
1616 videoBitRate_ = visitor.visitInt(videoBitRate_ != 0, videoBitRate_,
1617 other.videoBitRate_ != 0, other.videoBitRate_);
1618 if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
1619 .INSTANCE) {
1620 }
1621 return this;
1622 }
1623 case MERGE_FROM_STREAM: {
1624 com.google.protobuf.CodedInputStream input =
1625 (com.google.protobuf.CodedInputStream) arg0;
1626 com.google.protobuf.ExtensionRegistryLite extensionRegistry =
1627 (com.google.protobuf.ExtensionRegistryLite) arg1;
1628 try {
1629 boolean done = false;
1630 while (!done) {
1631 int tag = input.readTag();
1632 switch (tag) {
1633 case 0:
1634 done = true;
1635 break;
1636 default: {
1637 if (!input.skipField(tag)) {
1638 done = true;
1639 }
1640 break;
1641 }
1642 case 8: {
1643
1644 friendNumber_ = input.readUInt32();
1645 break;
1646 }
1647 case 16: {
1648
1649 videoBitRate_ = input.readUInt32();
1650 break;
1651 }
1652 }

Callers

nothing calls this directly

Calls 1

getMessageMethod · 0.65

Tested by

no test coverage detected