47 lines
1.5 KiB
Java
47 lines
1.5 KiB
Java
|
package com.google.android.libraries.places.api.model;
|
||
|
|
||
|
import com.google.android.gms.maps.model.LatLng;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class zzv extends zzbj {
|
||
|
private LatLng zza;
|
||
|
private LatLng zzb;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // com.google.android.libraries.places.api.model.zzbj
|
||
|
public final zzbj zza(LatLng latLng) {
|
||
|
if (latLng == null) {
|
||
|
throw new NullPointerException("Null northeast");
|
||
|
}
|
||
|
this.zzb = latLng;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final zzbj zzb(LatLng latLng) {
|
||
|
if (latLng == null) {
|
||
|
throw new NullPointerException("Null southwest");
|
||
|
}
|
||
|
this.zza = latLng;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // com.google.android.libraries.places.api.model.zzbj
|
||
|
public final RectangularBounds zzc() {
|
||
|
LatLng latLng;
|
||
|
LatLng latLng2 = this.zza;
|
||
|
if (latLng2 == null || (latLng = this.zzb) == null) {
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
if (this.zza == null) {
|
||
|
sb.append(" southwest");
|
||
|
}
|
||
|
if (this.zzb == null) {
|
||
|
sb.append(" northeast");
|
||
|
}
|
||
|
throw new IllegalStateException("Missing required properties:".concat(sb.toString()));
|
||
|
}
|
||
|
return new zzax(latLng2, latLng);
|
||
|
}
|
||
|
}
|