Package com.google.genai.types
Class GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
java.lang.Object
com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
- Enclosing class:
- GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
public abstract static class GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
extends Object
Builder for GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution authorAttribution) Setter for authorAttribution.authorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder authorAttributionBuilder) Setter for authorAttribution builder.build()Clears the value of authorAttribution field.Clears the value of flagContentUri field.Clears the value of googleMapsUri field.Clears the value of relativePublishTimeDescription field.Clears the value of review field.Clears the value of reviewId field.Clears the value of title field.flagContentUri(String flagContentUri) Setter for flagContentUri.googleMapsUri(String googleMapsUri) Setter for googleMapsUri.relativePublishTimeDescription(String relativePublishTimeDescription) Setter for relativePublishTimeDescription.Setter for review.Setter for reviewId.Setter for title.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorAttribution
public abstract GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder authorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution authorAttribution) Setter for authorAttribution.authorAttribution: This review's author.
-
authorAttribution
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder authorAttribution(GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder authorAttributionBuilder) Setter for authorAttribution builder.authorAttribution: This review's author.
-
clearAuthorAttribution
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearAuthorAttribution()Clears the value of authorAttribution field. -
flagContentUri
public abstract GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder flagContentUri(String flagContentUri) Setter for flagContentUri.flagContentUri: A link where users can flag a problem with the review.
-
clearFlagContentUri
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearFlagContentUri()Clears the value of flagContentUri field. -
googleMapsUri
public abstract GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder googleMapsUri(String googleMapsUri) Setter for googleMapsUri.googleMapsUri: A link to show the review on Google Maps.
-
clearGoogleMapsUri
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearGoogleMapsUri()Clears the value of googleMapsUri field. -
relativePublishTimeDescription
public abstract GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder relativePublishTimeDescription(String relativePublishTimeDescription) Setter for relativePublishTimeDescription.relativePublishTimeDescription: A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
-
clearRelativePublishTimeDescription
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearRelativePublishTimeDescription()Clears the value of relativePublishTimeDescription field. -
review
Setter for review.review: A reference representing this place review which may be used to look up this place review again.
-
clearReview
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearReview()Clears the value of review field. -
reviewId
Setter for reviewId.reviewId: Id of the review referencing the place.
-
clearReviewId
@CanIgnoreReturnValue public GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder clearReviewId()Clears the value of reviewId field. -
title
Setter for title.title: Title of the review.
-
clearTitle
Clears the value of title field. -
build
-