Class GroundingChunk.Maps (3.77.0)
Version latestkeyboard_arrow_down
public static final class GroundingChunk . Maps extends GeneratedMessageV3 implements GroundingChunk . MapsOrBuilder
Chunk from Google Maps.
Protobuf type google.cloud.aiplatform.v1.GroundingChunk.Maps
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PLACE_ANSWER_SOURCES_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PLACE_ID_FIELD_NUMBER
Field Value
Type
Description
int
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TITLE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int URI_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static GroundingChunk . Maps getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static GroundingChunk . Maps . Builder newBuilder ()
public static GroundingChunk . Maps . Builder newBuilder ( GroundingChunk . Maps prototype )
public static GroundingChunk . Maps parseDelimitedFrom ( InputStream input )
public static GroundingChunk . Maps parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingChunk . Maps parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static GroundingChunk . Maps parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static GroundingChunk . Maps parseFrom ( ByteString data )
public static GroundingChunk . Maps parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GroundingChunk . Maps parseFrom ( CodedInputStream input )
public static GroundingChunk . Maps parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingChunk . Maps parseFrom ( InputStream input )
public static GroundingChunk . Maps parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingChunk . Maps parseFrom ( ByteBuffer data )
public static GroundingChunk . Maps parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<GroundingChunk . Maps > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public GroundingChunk . Maps getDefaultInstanceForType ()
public Parser<GroundingChunk . Maps > getParserForType ()
Overrides
public GroundingChunk . Maps . PlaceAnswerSources getPlaceAnswerSources ()
Sources used to generate the place answer.
This includes review snippets and photos that were used to generate the
answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
public GroundingChunk . Maps . PlaceAnswerSourcesOrBuilder getPlaceAnswerSourcesOrBuilder ()
Sources used to generate the place answer.
This includes review snippets and photos that were used to generate the
answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
public String getPlaceId ()
This Place's resource name, in places/{place_id}
format. Can be used
to look up the Place.
optional string place_id = 4;
Returns
Type
Description
String
The placeId.
public ByteString getPlaceIdBytes ()
This Place's resource name, in places/{place_id}
format. Can be used
to look up the Place.
optional string place_id = 4;
Returns
Type
Description
ByteString
The bytes for placeId.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getText()
Text of the chunk.
optional string text = 3;
Returns
Type
Description
String
The text.
getTextBytes()
public ByteString getTextBytes ()
Text of the chunk.
optional string text = 3;
Returns
Type
Description
ByteString
The bytes for text.
Title of the chunk.
optional string title = 2;
Returns
Type
Description
String
The title.
public ByteString getTitleBytes ()
Title of the chunk.
optional string title = 2;
Returns
Type
Description
ByteString
The bytes for title.
URI reference of the chunk.
optional string uri = 1;
Returns
Type
Description
String
The uri.
public ByteString getUriBytes ()
URI reference of the chunk.
optional string uri = 1;
Returns
Type
Description
ByteString
The bytes for uri.
public boolean hasPlaceAnswerSources ()
Sources used to generate the place answer.
This includes review snippets and photos that were used to generate the
answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
Returns
Type
Description
boolean
Whether the placeAnswerSources field is set.
public boolean hasPlaceId ()
This Place's resource name, in places/{place_id}
format. Can be used
to look up the Place.
optional string place_id = 4;
Returns
Type
Description
boolean
Whether the placeId field is set.
hasText()
Text of the chunk.
optional string text = 3;
Returns
Type
Description
boolean
Whether the text field is set.
public boolean hasTitle ()
Title of the chunk.
optional string title = 2;
Returns
Type
Description
boolean
Whether the title field is set.
URI reference of the chunk.
optional string uri = 1;
Returns
Type
Description
boolean
Whether the uri field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public GroundingChunk . Maps . Builder newBuilderForType ()
protected GroundingChunk . Maps . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public GroundingChunk . Maps . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]