package com.google.android.datatransport; /* loaded from: classes2.dex */ public final class Encoding { public final String name; public String getName() { return this.name; } public static Encoding of(String str) { return new Encoding(str); } public Encoding(String str) { if (str == null) { throw new NullPointerException("name is null"); } this.name = str; } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof Encoding) { return this.name.equals(((Encoding) obj).name); } return false; } public int hashCode() { return this.name.hashCode() ^ 1000003; } public String toString() { return "Encoding{name=\"" + this.name + "\"}"; } }