public static final class GroundingChunk.Maps.Builder extends com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder> implements GroundingChunk.MapsOrBuilder
Chunk from Google Maps.Protobuf type
google.cloud.aiplatform.v1.GroundingChunk.Maps| Modifier and Type | Method and Description |
|---|---|
GroundingChunk.Maps |
build() |
GroundingChunk.Maps |
buildPartial() |
GroundingChunk.Maps.Builder |
clear() |
GroundingChunk.Maps.Builder |
clearPlaceAnswerSources()
Sources used to generate the place answer.
|
GroundingChunk.Maps.Builder |
clearPlaceId()
This Place's resource name, in `places/{place_id}` format.
|
GroundingChunk.Maps.Builder |
clearText()
Text of the chunk.
|
GroundingChunk.Maps.Builder |
clearTitle()
Title of the chunk.
|
GroundingChunk.Maps.Builder |
clearUri()
URI reference of the chunk.
|
GroundingChunk.Maps |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GroundingChunk.Maps.PlaceAnswerSources |
getPlaceAnswerSources()
Sources used to generate the place answer.
|
GroundingChunk.Maps.PlaceAnswerSources.Builder |
getPlaceAnswerSourcesBuilder()
Sources used to generate the place answer.
|
GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder |
getPlaceAnswerSourcesOrBuilder()
Sources used to generate the place answer.
|
String |
getPlaceId()
This Place's resource name, in `places/{place_id}` format.
|
com.google.protobuf.ByteString |
getPlaceIdBytes()
This Place's resource name, in `places/{place_id}` format.
|
String |
getText()
Text of the chunk.
|
com.google.protobuf.ByteString |
getTextBytes()
Text of the chunk.
|
String |
getTitle()
Title of the chunk.
|
com.google.protobuf.ByteString |
getTitleBytes()
Title of the chunk.
|
String |
getUri()
URI reference of the chunk.
|
com.google.protobuf.ByteString |
getUriBytes()
URI reference of the chunk.
|
boolean |
hasPlaceAnswerSources()
Sources used to generate the place answer.
|
boolean |
hasPlaceId()
This Place's resource name, in `places/{place_id}` format.
|
boolean |
hasText()
Text of the chunk.
|
boolean |
hasTitle()
Title of the chunk.
|
boolean |
hasUri()
URI reference of the chunk.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroundingChunk.Maps.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroundingChunk.Maps.Builder |
mergeFrom(GroundingChunk.Maps other) |
GroundingChunk.Maps.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroundingChunk.Maps.Builder |
mergePlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
Sources used to generate the place answer.
|
GroundingChunk.Maps.Builder |
setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue)
Sources used to generate the place answer.
|
GroundingChunk.Maps.Builder |
setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
Sources used to generate the place answer.
|
GroundingChunk.Maps.Builder |
setPlaceId(String value)
This Place's resource name, in `places/{place_id}` format.
|
GroundingChunk.Maps.Builder |
setPlaceIdBytes(com.google.protobuf.ByteString value)
This Place's resource name, in `places/{place_id}` format.
|
GroundingChunk.Maps.Builder |
setText(String value)
Text of the chunk.
|
GroundingChunk.Maps.Builder |
setTextBytes(com.google.protobuf.ByteString value)
Text of the chunk.
|
GroundingChunk.Maps.Builder |
setTitle(String value)
Title of the chunk.
|
GroundingChunk.Maps.Builder |
setTitleBytes(com.google.protobuf.ByteString value)
Title of the chunk.
|
GroundingChunk.Maps.Builder |
setUri(String value)
URI reference of the chunk.
|
GroundingChunk.Maps.Builder |
setUriBytes(com.google.protobuf.ByteString value)
URI reference of the chunk.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>public GroundingChunk.Maps.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>public GroundingChunk.Maps getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroundingChunk.Maps build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroundingChunk.Maps buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroundingChunk.Maps.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundingChunk.Maps.Builder>public GroundingChunk.Maps.Builder mergeFrom(GroundingChunk.Maps other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>public GroundingChunk.Maps.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundingChunk.Maps.Builder>IOExceptionpublic boolean hasUri()
URI reference of the chunk.
optional string uri = 1;hasUri in interface GroundingChunk.MapsOrBuilderpublic String getUri()
URI reference of the chunk.
optional string uri = 1;getUri in interface GroundingChunk.MapsOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
URI reference of the chunk.
optional string uri = 1;getUriBytes in interface GroundingChunk.MapsOrBuilderpublic GroundingChunk.Maps.Builder setUri(String value)
URI reference of the chunk.
optional string uri = 1;value - The uri to set.public GroundingChunk.Maps.Builder clearUri()
URI reference of the chunk.
optional string uri = 1;public GroundingChunk.Maps.Builder setUriBytes(com.google.protobuf.ByteString value)
URI reference of the chunk.
optional string uri = 1;value - The bytes for uri to set.public boolean hasTitle()
Title of the chunk.
optional string title = 2;hasTitle in interface GroundingChunk.MapsOrBuilderpublic String getTitle()
Title of the chunk.
optional string title = 2;getTitle in interface GroundingChunk.MapsOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Title of the chunk.
optional string title = 2;getTitleBytes in interface GroundingChunk.MapsOrBuilderpublic GroundingChunk.Maps.Builder setTitle(String value)
Title of the chunk.
optional string title = 2;value - The title to set.public GroundingChunk.Maps.Builder clearTitle()
Title of the chunk.
optional string title = 2;public GroundingChunk.Maps.Builder setTitleBytes(com.google.protobuf.ByteString value)
Title of the chunk.
optional string title = 2;value - The bytes for title to set.public boolean hasText()
Text of the chunk.
optional string text = 3;hasText in interface GroundingChunk.MapsOrBuilderpublic String getText()
Text of the chunk.
optional string text = 3;getText in interface GroundingChunk.MapsOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
Text of the chunk.
optional string text = 3;getTextBytes in interface GroundingChunk.MapsOrBuilderpublic GroundingChunk.Maps.Builder setText(String value)
Text of the chunk.
optional string text = 3;value - The text to set.public GroundingChunk.Maps.Builder clearText()
Text of the chunk.
optional string text = 3;public GroundingChunk.Maps.Builder setTextBytes(com.google.protobuf.ByteString value)
Text of the chunk.
optional string text = 3;value - The bytes for text to 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;hasPlaceId in interface GroundingChunk.MapsOrBuilderpublic 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;getPlaceId in interface GroundingChunk.MapsOrBuilderpublic com.google.protobuf.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;getPlaceIdBytes in interface GroundingChunk.MapsOrBuilderpublic GroundingChunk.Maps.Builder setPlaceId(String value)
This Place's resource name, in `places/{place_id}` format. Can be used
to look up the Place.
optional string place_id = 4;value - The placeId to set.public GroundingChunk.Maps.Builder clearPlaceId()
This Place's resource name, in `places/{place_id}` format. Can be used
to look up the Place.
optional string place_id = 4;public GroundingChunk.Maps.Builder setPlaceIdBytes(com.google.protobuf.ByteString value)
This Place's resource name, in `places/{place_id}` format. Can be used
to look up the Place.
optional string place_id = 4;value - The bytes for placeId to set.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;
hasPlaceAnswerSources in interface GroundingChunk.MapsOrBuilderpublic 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;
getPlaceAnswerSources in interface GroundingChunk.MapsOrBuilderpublic GroundingChunk.Maps.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
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.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue)
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.Builder mergePlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
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.Builder clearPlaceAnswerSources()
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.PlaceAnswerSources.Builder getPlaceAnswerSourcesBuilder()
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;
getPlaceAnswerSourcesOrBuilder in interface GroundingChunk.MapsOrBuilderCopyright © 2026 Google LLC. All rights reserved.