Package com.google.genai.types
Class GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
-
- All Implemented Interfaces:
public abstract class GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution extends JsonSerializable
Author attribution for a photo or review.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.BuilderBuilder for GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>displayName()Name of the author of the Photo or Review. abstract Optional<String>photoUri()Profile photo URI of the author of the Photo or Review. abstract Optional<String>uri()URI of the author of the Photo or Review. static GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builderbuilder()Instantiates a builder for GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution. abstract GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.BuildertoBuilder()Creates a builder with the same values as this instance. static GroundingChunkMapsPlaceAnswerSourcesAuthorAttributionfromJson(String jsonString)Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
displayName
abstract Optional<String> displayName()
Name of the author of the Photo or Review.
-
photoUri
abstract Optional<String> photoUri()
Profile photo URI of the author of the Photo or Review.
-
builder
static GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder builder()
Instantiates a builder for GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.
-
toBuilder
abstract GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution fromJson(String jsonString)
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution object.
-
-
-
-