Record Class GroundingMetadata.GroundingChunk.Maps
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.GroundingMetadata.GroundingChunk.Maps
- Enclosing class:
GroundingMetadata.GroundingChunk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
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 theplaceAnswerSourcesrecord component.placeId()Returns the value of theplaceIdrecord component.text()Returns the value of thetextrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
Maps
public Maps(String uri, String title, String text, String placeId, GroundingMetadata.GroundingChunk.Maps.PlaceAnswerSources placeAnswerSources) Creates an instance of aMapsrecord class.- Parameters:
uri- the value for theurirecord componenttitle- the value for thetitlerecord componenttext- the value for thetextrecord componentplaceId- the value for theplaceIdrecord componentplaceAnswerSources- the value for theplaceAnswerSourcesrecord 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). -
uri
Returns the value of theurirecord component.- Returns:
- the value of the
urirecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
placeId
Returns the value of theplaceIdrecord component.- Returns:
- the value of the
placeIdrecord component
-
placeAnswerSources
Returns the value of theplaceAnswerSourcesrecord component.- Returns:
- the value of the
placeAnswerSourcesrecord component
-