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

53 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.api.net;
import com.google.android.gms.tasks.CancellationToken;
import com.google.android.libraries.places.api.model.AutocompleteSessionToken;
import com.google.android.libraries.places.api.model.Place;
import com.google.android.libraries.places.internal.zzft;
import com.google.android.libraries.places.internal.zziy;
import java.util.List;
/* loaded from: classes2.dex */
public abstract class FetchPlaceRequest implements zzft {
/* loaded from: classes2.dex */
public static abstract class Builder {
public FetchPlaceRequest build() {
zza(zziy.zzk(zzc().getPlaceFields()));
return zzc();
}
public abstract CancellationToken getCancellationToken();
public abstract AutocompleteSessionToken getSessionToken();
public abstract Builder setCancellationToken(CancellationToken cancellationToken);
public abstract Builder setSessionToken(AutocompleteSessionToken autocompleteSessionToken);
abstract Builder zza(List list);
abstract FetchPlaceRequest zzc();
}
public static Builder builder(String str, List<Place.Field> list) {
zze zzeVar = new zze();
zzeVar.zzb(str);
zzeVar.zza(list);
return zzeVar;
}
public static FetchPlaceRequest newInstance(String str, List<Place.Field> list) {
return builder(str, list).build();
}
@Override // com.google.android.libraries.places.internal.zzft
public abstract CancellationToken getCancellationToken();
public abstract List<Place.Field> getPlaceFields();
public abstract String getPlaceId();
public abstract AutocompleteSessionToken getSessionToken();
}