AlphaBilling$ProtoAdapter_AlphaBilling.smali

.class final Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$ProtoAdapter_AlphaBilling;
.super Lcom/squareup/wire/ProtoAdapter;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1a
    name = "ProtoAdapter_AlphaBilling"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/squareup/wire/ProtoAdapter<",
        "Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;",
        ">;"
    }
.end annotation


# direct methods
.method constructor <init>()V
    .registers 3

    sget-object v0, Lcom/squareup/wire/FieldEncoding;->LENGTH_DELIMITED:Lcom/squareup/wire/FieldEncoding;

    const-class v1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    invoke-direct {p0, v0, v1}, Lcom/squareup/wire/ProtoAdapter;-><init>(Lcom/squareup/wire/FieldEncoding;Ljava/lang/Class;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/squareup/wire/ProtoReader;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;
    .registers 10
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    new-instance v0, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    invoke-direct {v0}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;-><init>()V

    invoke-virtual {p1}, Lcom/squareup/wire/ProtoReader;->beginMessage()J

    move-result-wide v1

    :goto_9
    invoke-virtual {p1}, Lcom/squareup/wire/ProtoReader;->nextTag()I

    move-result v3

    const/4 v4, -0x1

    if-eq v3, v4, :cond_7f

    const/4 v4, 0x1

    if-eq v3, v4, :cond_73

    const/4 v4, 0x2

    if-eq v3, v4, :cond_67

    packed-switch v3, :pswitch_data_88

    invoke-virtual {p1}, Lcom/squareup/wire/ProtoReader;->peekFieldEncoding()Lcom/squareup/wire/FieldEncoding;

    move-result-object v4

    invoke-virtual {v4}, Lcom/squareup/wire/FieldEncoding;->rawProtoAdapter()Lcom/squareup/wire/ProtoAdapter;

    move-result-object v5

    invoke-virtual {v5, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v0, v3, v4, v5}, Lcom/squareup/wire/Message$Builder;->addUnknownField(ILcom/squareup/wire/FieldEncoding;Ljava/lang/Object;)Lcom/squareup/wire/Message$Builder;

    goto :goto_9

    :pswitch_29
    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v3, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->c(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    goto :goto_9

    :pswitch_35
    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v3, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->e(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    goto :goto_9

    :pswitch_41
    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v3, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->g(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    goto :goto_9

    :pswitch_4d
    :try_start_4d
    sget-object v4, Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;->q:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v4, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;

    invoke-virtual {v0, v4}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->f(Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;
    :try_end_58
    .catch Lcom/squareup/wire/ProtoAdapter$EnumConstantNotFoundException; {:try_start_4d .. :try_end_58} :catch_59

    goto :goto_9

    :catch_59
    move-exception v4

    sget-object v5, Lcom/squareup/wire/FieldEncoding;->VARINT:Lcom/squareup/wire/FieldEncoding;

    iget v4, v4, Lcom/squareup/wire/ProtoAdapter$EnumConstantNotFoundException;->value:I

    int-to-long v6, v4

    invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v0, v3, v5, v4}, Lcom/squareup/wire/Message$Builder;->addUnknownField(ILcom/squareup/wire/FieldEncoding;Ljava/lang/Object;)Lcom/squareup/wire/Message$Builder;

    goto :goto_9

    :cond_67
    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v3, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->b(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    goto :goto_9

    :cond_73
    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    invoke-virtual {v3, p1}, Lcom/squareup/wire/ProtoAdapter;->decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->a(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    goto :goto_9

    :cond_7f
    invoke-virtual {p1, v1, v2}, Lcom/squareup/wire/ProtoReader;->endMessage(J)V

    invoke-virtual {v0}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->d()Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    move-result-object p1

    return-object p1

    nop

    :pswitch_data_88
    .packed-switch 0x9
        :pswitch_4d
        :pswitch_41
        :pswitch_35
        :pswitch_29
    .end packed-switch
.end method

.method public b(Lcom/squareup/wire/ProtoWriter;Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)V
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->f:Ljava/lang/String;

    if-eqz v0, :cond_a

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/4 v2, 0x1

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_a
    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->g:Ljava/lang/String;

    if-eqz v0, :cond_14

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/4 v2, 0x2

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_14
    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->h:Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;

    if-eqz v0, :cond_1f

    sget-object v1, Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;->q:Lcom/squareup/wire/ProtoAdapter;

    const/16 v2, 0x9

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_1f
    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->i:Ljava/lang/String;

    if-eqz v0, :cond_2a

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v2, 0xa

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_2a
    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->j:Ljava/lang/String;

    if-eqz v0, :cond_35

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v2, 0xb

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_35
    iget-object v0, p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->k:Ljava/lang/String;

    if-eqz v0, :cond_40

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v2, 0xc

    invoke-virtual {v1, p1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodeWithTag(Lcom/squareup/wire/ProtoWriter;ILjava/lang/Object;)V

    :cond_40
    invoke-virtual {p2}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/squareup/wire/ProtoWriter;->writeBytes(Lokio/ByteString;)V

    return-void
.end method

.method public c(Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)I
    .registers 7

    iget-object v0, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->f:Ljava/lang/String;

    const/4 v1, 0x0

    if-eqz v0, :cond_d

    sget-object v2, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/4 v3, 0x1

    invoke-virtual {v2, v3, v0}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v0

    goto :goto_e

    :cond_d
    const/4 v0, 0x0

    :goto_e
    iget-object v2, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->g:Ljava/lang/String;

    if-eqz v2, :cond_1a

    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/4 v4, 0x2

    invoke-virtual {v3, v4, v2}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v2

    goto :goto_1b

    :cond_1a
    const/4 v2, 0x0

    :goto_1b
    add-int/2addr v0, v2

    iget-object v2, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->h:Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;

    if-eqz v2, :cond_29

    sget-object v3, Lcom/avast/analytics/proto/blob/alpha/PaymentProvider;->q:Lcom/squareup/wire/ProtoAdapter;

    const/16 v4, 0x9

    invoke-virtual {v3, v4, v2}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v2

    goto :goto_2a

    :cond_29
    const/4 v2, 0x0

    :goto_2a
    add-int/2addr v0, v2

    iget-object v2, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->i:Ljava/lang/String;

    if-eqz v2, :cond_38

    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v4, 0xa

    invoke-virtual {v3, v4, v2}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v2

    goto :goto_39

    :cond_38
    const/4 v2, 0x0

    :goto_39
    add-int/2addr v0, v2

    iget-object v2, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->j:Ljava/lang/String;

    if-eqz v2, :cond_47

    sget-object v3, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v4, 0xb

    invoke-virtual {v3, v4, v2}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v2

    goto :goto_48

    :cond_47
    const/4 v2, 0x0

    :goto_48
    add-int/2addr v0, v2

    iget-object v2, p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->k:Ljava/lang/String;

    if-eqz v2, :cond_55

    sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;

    const/16 v3, 0xc

    invoke-virtual {v1, v3, v2}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I

    move-result v1

    :cond_55
    add-int/2addr v0, v1

    invoke-virtual {p1}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;

    move-result-object p1

    invoke-virtual {p1}, Lokio/ByteString;->Q()I

    move-result p1

    add-int/2addr v0, p1

    return v0
.end method

.method public d(Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;
    .registers 2

    invoke-virtual {p1}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;->a()Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;

    move-result-object p1

    invoke-virtual {p1}, Lcom/squareup/wire/Message$Builder;->clearUnknownFields()Lcom/squareup/wire/Message$Builder;

    invoke-virtual {p1}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$Builder;->d()Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic decode(Lcom/squareup/wire/ProtoReader;)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    invoke-virtual {p0, p1}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$ProtoAdapter_AlphaBilling;->a(Lcom/squareup/wire/ProtoReader;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic encode(Lcom/squareup/wire/ProtoWriter;Ljava/lang/Object;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    check-cast p2, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    invoke-virtual {p0, p1, p2}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$ProtoAdapter_AlphaBilling;->b(Lcom/squareup/wire/ProtoWriter;Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)V

    return-void
.end method

.method public bridge synthetic encodedSize(Ljava/lang/Object;)I
    .registers 2

    check-cast p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    invoke-virtual {p0, p1}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$ProtoAdapter_AlphaBilling;->c(Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)I

    move-result p1

    return p1
.end method

.method public bridge synthetic redact(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2

    check-cast p1, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    invoke-virtual {p0, p1}, Lcom/avast/analytics/proto/blob/alpha/AlphaBilling$ProtoAdapter_AlphaBilling;->d(Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;)Lcom/avast/analytics/proto/blob/alpha/AlphaBilling;

    move-result-object p1

    return-object p1
.end method