Record Class GroundingMetadata.GroundingChunk.Maps.PlaceAnswerSources
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.GroundingMetadata.GroundingChunk.Maps.PlaceAnswerSources
- Enclosing class:
GroundingMetadata.GroundingChunk.Maps
public static record GroundingMetadata.GroundingChunk.Maps.PlaceAnswerSources(List<GroundingMetadata.GroundingChunk.Maps.ReviewSnippet> reviewSnippets)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceAnswerSources(List<GroundingMetadata.GroundingChunk.Maps.ReviewSnippet> reviewSnippets) Creates an instance of aPlaceAnswerSourcesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thereviewSnippetsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlaceAnswerSources
Creates an instance of aPlaceAnswerSourcesrecord class.- Parameters:
reviewSnippets- the value for thereviewSnippetsrecord 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). -
reviewSnippets
Returns the value of thereviewSnippetsrecord component.- Returns:
- the value of the
reviewSnippetsrecord component
-