Class ReviewSnippet
java.lang.Object
com.google.genai.gaos.models.interactions.ReviewSnippet
ReviewSnippet
Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSnippet.Builderbuilder()booleaninthashCode()reviewId()The ID of the review snippet.title()Title of the review.toString()url()A link that corresponds to the user review on Google Maps.withReviewId(String reviewId) The ID of the review snippet.Title of the review.A link that corresponds to the user review on Google Maps.
-
Constructor Details
-
ReviewSnippet
-
ReviewSnippet
public ReviewSnippet()
-
-
Method Details
-
reviewId
The ID of the review snippet. -
title
Title of the review. -
url
A link that corresponds to the user review on Google Maps. -
builder
-
withReviewId
The ID of the review snippet. -
withTitle
Title of the review. -
withUrl
A link that corresponds to the user review on Google Maps. -
equals
-
hashCode
public int hashCode() -
toString
-