@Override public boolean equals(Object other) { if (other == this) return true; if (!(other instanceof More)) return false; More o = (More) other; return WireInternal.equals(unknownFields(), o.unknownFields()) && WireInternal.equals(serial, o.serial); }
public boolean shouldOverrideUrlLoading(WebView webview, String s) { if (s.startsWith("market://")) { s.substring(s.indexOf("?id=") + 4, s.lastIndexOf("http://")); a.go(s); } else if (n.a(a, "com.android.vending") && s.contains("play.google")) { a.b(s); } else { a.a(s); } return true; }
@Override public More redact(More value) { Builder builder = value.newBuilder(); builder.clearUnknownFields(); return builder.build(); }
@Override public void encode(ProtoWriter writer, More value) throws IOException { if (value.serial != null) ProtoAdapter.INT32.asRepeated().encodeWithTag(writer, 1, value.serial); writer.writeBytes(value.unknownFields()); }
@Override public int encodedSize(More value) { return ProtoAdapter.INT32.asRepeated().encodedSizeWithTag(1, value.serial) + value.unknownFields().size(); }