PlaceCitation

public final class PlaceCitation

A place citation annotation.

Types

Link copied to clipboard
public final class Builder

A builder for PlaceCitation.

Link copied to clipboard
public final class ReviewSnippet

Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.

Functions

Link copied to clipboard
public final Map<String, JsonValue> _additionalProperties()
Link copied to clipboard
public final JsonField<Integer> _endIndex()

Returns the raw JSON value of endIndex.

Link copied to clipboard
public final JsonField<String> _name()

Returns the raw JSON value of name.

Link copied to clipboard
public final JsonField<String> _placeId()

Returns the raw JSON value of placeId.

Link copied to clipboard

Returns the raw JSON value of reviewSnippets.

Link copied to clipboard
public final JsonField<Integer> _startIndex()

Returns the raw JSON value of startIndex.

Link copied to clipboard
public final JsonValue _type()

Expected to always return the following:

Link copied to clipboard
public final JsonField<String> _url()

Returns the raw JSON value of url.

Link copied to clipboard
public final static PlaceCitation.Builder builder()

Returns a mutable builder for constructing an instance of PlaceCitation.

Link copied to clipboard
public final Optional<Integer> endIndex()

End of the attributed segment, exclusive.

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard
public final Boolean isValid()
Link copied to clipboard
public final Optional<String> name()

Title of the place.

Link copied to clipboard
public final Optional<String> placeId()

The ID of the place, in places/{place_id} format.

Link copied to clipboard

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

Link copied to clipboard
public final Optional<Integer> startIndex()

Start of segment of the response that is attributed to this source.

Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard
public final Optional<String> url()

URI reference of the place.

Link copied to clipboard
public final PlaceCitation validate()