package com.google.firebase.encoders.proto; import com.google.firebase.encoders.proto.Protobuf; /* loaded from: classes3.dex */ public final class AtProtobuf { public Protobuf.IntEncoding intEncoding = Protobuf.IntEncoding.DEFAULT; public int tag; public AtProtobuf tag(int i) { this.tag = i; return this; } public static AtProtobuf builder() { return new AtProtobuf(); } public Protobuf build() { return new ProtobufImpl(this.tag, this.intEncoding); } public static final class ProtobufImpl implements Protobuf { public final Protobuf.IntEncoding intEncoding; public final int tag; @Override // java.lang.annotation.Annotation public Class annotationType() { return Protobuf.class; } @Override // com.google.firebase.encoders.proto.Protobuf public Protobuf.IntEncoding intEncoding() { return this.intEncoding; } @Override // com.google.firebase.encoders.proto.Protobuf public int tag() { return this.tag; } public ProtobufImpl(int i, Protobuf.IntEncoding intEncoding) { this.tag = i; this.intEncoding = intEncoding; } @Override // java.lang.annotation.Annotation public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Protobuf)) { return false; } Protobuf protobuf = (Protobuf) obj; return this.tag == protobuf.tag() && this.intEncoding.equals(protobuf.intEncoding()); } @Override // java.lang.annotation.Annotation public int hashCode() { return (14552422 ^ this.tag) + (this.intEncoding.hashCode() ^ 2041407134); } @Override // java.lang.annotation.Annotation public String toString() { return "@com.google.firebase.encoders.proto.Protobuf(tag=" + this.tag + "intEncoding=" + this.intEncoding + ')'; } } }