public static interface UserInfo.PreciseLocationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAddress()
public abstract String getAddress()Optional. Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The address. |
getAddressBytes()
public abstract ByteString getAddressBytes()Optional. Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for address. |
getLocationCase()
public abstract UserInfo.PreciseLocation.LocationCase getLocationCase()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.LocationCase |
|
getPoint()
public abstract LatLng getPoint()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLng |
The point. |
getPointOrBuilder()
public abstract LatLngOrBuilder getPointOrBuilder()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLngOrBuilder |
|
hasAddress()
public abstract boolean hasAddress()Optional. Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the address field is set. |
hasPoint()
public abstract boolean hasPoint()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the point field is set. |