what-the-bank/sources/com/google/android/libraries/places/api/net/PlacesStatusCodes.java

31 lines
1002 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.api.net;
import com.google.android.gms.common.api.CommonStatusCodes;
/* loaded from: classes2.dex */
public final class PlacesStatusCodes extends CommonStatusCodes {
public static final int INVALID_REQUEST = 9012;
public static final int NOT_FOUND = 9013;
public static final int OVER_QUERY_LIMIT = 9010;
public static final int REQUEST_DENIED = 9011;
public static String getStatusCodeString(int i) {
switch (i) {
case OVER_QUERY_LIMIT /* 9010 */:
return "OVER_QUERY_LIMIT";
case REQUEST_DENIED /* 9011 */:
return "REQUEST_DENIED";
case INVALID_REQUEST /* 9012 */:
return "INVALID_REQUEST";
case NOT_FOUND /* 9013 */:
return "NOT_FOUND";
default:
return CommonStatusCodes.getStatusCodeString(i);
}
}
public static boolean isError(int i) {
return i > 0;
}
}