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

Method dynamicMethod

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

Source from the content-addressed store, hash-verified

4502 // @@protoc_insertion_point(builder_scope:im.tox.proto.AvEvents)
4503 }
4504 protected final Object dynamicMethod(
4505 com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
4506 Object arg0, Object arg1) {
4507 switch (method) {
4508 case NEW_MUTABLE_INSTANCE: {
4509 return new im.tox.proto.Av.AvEvents();
4510 }
4511 case IS_INITIALIZED: {
4512 return DEFAULT_INSTANCE;
4513 }
4514 case MAKE_IMMUTABLE: {
4515 call_.makeImmutable();
4516 callState_.makeImmutable();
4517 audioBitRate_.makeImmutable();
4518 videoBitRate_.makeImmutable();
4519 audioReceiveFrame_.makeImmutable();
4520 videoReceiveFrame_.makeImmutable();
4521 return null;
4522 }
4523 case NEW_BUILDER: {
4524 return new Builder();
4525 }
4526 case VISIT: {
4527 Visitor visitor = (Visitor) arg0;
4528 im.tox.proto.Av.AvEvents other = (im.tox.proto.Av.AvEvents) arg1;
4529 call_= visitor.visitList(call_, other.call_);
4530 callState_= visitor.visitList(callState_, other.callState_);
4531 audioBitRate_= visitor.visitList(audioBitRate_, other.audioBitRate_);
4532 videoBitRate_= visitor.visitList(videoBitRate_, other.videoBitRate_);
4533 audioReceiveFrame_= visitor.visitList(audioReceiveFrame_, other.audioReceiveFrame_);
4534 videoReceiveFrame_= visitor.visitList(videoReceiveFrame_, other.videoReceiveFrame_);
4535 if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
4536 .INSTANCE) {
4537 }
4538 return this;
4539 }
4540 case MERGE_FROM_STREAM: {
4541 com.google.protobuf.CodedInputStream input =
4542 (com.google.protobuf.CodedInputStream) arg0;
4543 com.google.protobuf.ExtensionRegistryLite extensionRegistry =
4544 (com.google.protobuf.ExtensionRegistryLite) arg1;
4545 try {
4546 boolean done = false;
4547 while (!done) {
4548 int tag = input.readTag();
4549 switch (tag) {
4550 case 0:
4551 done = true;
4552 break;
4553 default: {
4554 if (!input.skipField(tag)) {
4555 done = true;
4556 }
4557 break;
4558 }
4559 case 10: {
4560 if (!call_.isModifiable()) {
4561 call_ =

Callers

nothing calls this directly

Calls 3

getMessageMethod · 0.65
addMethod · 0.45
parserMethod · 0.45

Tested by

no test coverage detected