GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken.smali
.class final Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken;
.super Lcom/squareup/wire/ProtoAdapter;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "ProtoAdapter_GoogleCredentialsOneTimeToken"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/squareup/wire/ProtoAdapter<",
"Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;",
">;"
}
.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/id/proto/GoogleCredentialsOneTimeToken;
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 decode(Lcom/squareup/wire/ProtoReader;)Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
.registers 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v0, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$Builder;
invoke-direct {v0}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$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_2f
const/4 v4, 0x1
if-eq v3, v4, :cond_23
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
:cond_23
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/id/proto/GoogleCredentialsOneTimeToken$Builder;->oneTimeToken(Ljava/lang/String;)Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$Builder;
goto :goto_9
:cond_2f
invoke-virtual {p1, v1, v2}, Lcom/squareup/wire/ProtoReader;->endMessage(J)V
invoke-virtual {v0}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$Builder;->build()Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
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/id/proto/GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken;->decode(Lcom/squareup/wire/ProtoReader;)Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
move-result-object p1
return-object p1
.end method
.method public encode(Lcom/squareup/wire/ProtoWriter;Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)V
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p2, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;->oneTimeToken: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
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 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/id/proto/GoogleCredentialsOneTimeToken;
invoke-virtual {p0, p1, p2}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken;->encode(Lcom/squareup/wire/ProtoWriter;Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)V
return-void
.end method
.method public encodedSize(Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)I
.registers 5
iget-object v0, p1, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;->oneTimeToken:Ljava/lang/String;
if-eqz v0, :cond_c
sget-object v1, Lcom/squareup/wire/ProtoAdapter;->STRING:Lcom/squareup/wire/ProtoAdapter;
const/4 v2, 0x1
invoke-virtual {v1, v2, v0}, Lcom/squareup/wire/ProtoAdapter;->encodedSizeWithTag(ILjava/lang/Object;)I
move-result v0
goto :goto_d
:cond_c
const/4 v0, 0x0
:goto_d
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 bridge synthetic encodedSize(Ljava/lang/Object;)I
.registers 2
check-cast p1, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
invoke-virtual {p0, p1}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken;->encodedSize(Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)I
move-result p1
return p1
.end method
.method public redact(Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
.registers 2
invoke-virtual {p1}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;->newBuilder()Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$Builder;
move-result-object p1
invoke-virtual {p1}, Lcom/squareup/wire/Message$Builder;->clearUnknownFields()Lcom/squareup/wire/Message$Builder;
invoke-virtual {p1}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$Builder;->build()Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic redact(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
check-cast p1, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
invoke-virtual {p0, p1}, Lcom/avast/id/proto/GoogleCredentialsOneTimeToken$ProtoAdapter_GoogleCredentialsOneTimeToken;->redact(Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;)Lcom/avast/id/proto/GoogleCredentialsOneTimeToken;
move-result-object p1
return-object p1
.end method