Record Class GroundingMetadata.GroundingChunk.Maps.ReviewSnippet
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.GroundingMetadata.GroundingChunk.Maps.ReviewSnippet
- Enclosing class:
GroundingMetadata.GroundingChunk.Maps
-
Constructor Summary
ConstructorsConstructorDescriptionReviewSnippet(String reviewId, String googleMapsUri, String title) Creates an instance of aReviewSnippetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegoogleMapsUrirecord component.final inthashCode()Returns a hash code value for this object.reviewId()Returns the value of thereviewIdrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReviewSnippet
Creates an instance of aReviewSnippetrecord class.- Parameters:
reviewId- the value for thereviewIdrecord componentgoogleMapsUri- the value for thegoogleMapsUrirecord componenttitle- the value for thetitlerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
reviewId
Returns the value of thereviewIdrecord component.- Returns:
- the value of the
reviewIdrecord component
-
googleMapsUri
Returns the value of thegoogleMapsUrirecord component.- Returns:
- the value of the
googleMapsUrirecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-