public static final class GroundingChunk.Builder extends com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder> implements GroundingChunkOrBuilder
Grounding chunk.Protobuf type
google.cloud.aiplatform.v1.GroundingChunk| Modifier and Type | Method and Description |
|---|---|
GroundingChunk |
build() |
GroundingChunk |
buildPartial() |
GroundingChunk.Builder |
clear() |
GroundingChunk.Builder |
clearChunkType() |
GroundingChunk.Builder |
clearMaps()
Grounding chunk from Google Maps.
|
GroundingChunk.Builder |
clearRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.Builder |
clearWeb()
Grounding chunk from the web.
|
GroundingChunk.ChunkTypeCase |
getChunkTypeCase() |
GroundingChunk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GroundingChunk.Maps |
getMaps()
Grounding chunk from Google Maps.
|
GroundingChunk.Maps.Builder |
getMapsBuilder()
Grounding chunk from Google Maps.
|
GroundingChunk.MapsOrBuilder |
getMapsOrBuilder()
Grounding chunk from Google Maps.
|
GroundingChunk.RetrievedContext |
getRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.RetrievedContext.Builder |
getRetrievedContextBuilder()
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.RetrievedContextOrBuilder |
getRetrievedContextOrBuilder()
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.Web |
getWeb()
Grounding chunk from the web.
|
GroundingChunk.Web.Builder |
getWebBuilder()
Grounding chunk from the web.
|
GroundingChunk.WebOrBuilder |
getWebOrBuilder()
Grounding chunk from the web.
|
boolean |
hasMaps()
Grounding chunk from Google Maps.
|
boolean |
hasRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
|
boolean |
hasWeb()
Grounding chunk from the web.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroundingChunk.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroundingChunk.Builder |
mergeFrom(GroundingChunk other) |
GroundingChunk.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroundingChunk.Builder |
mergeMaps(GroundingChunk.Maps value)
Grounding chunk from Google Maps.
|
GroundingChunk.Builder |
mergeRetrievedContext(GroundingChunk.RetrievedContext value)
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.Builder |
mergeWeb(GroundingChunk.Web value)
Grounding chunk from the web.
|
GroundingChunk.Builder |
setMaps(GroundingChunk.Maps.Builder builderForValue)
Grounding chunk from Google Maps.
|
GroundingChunk.Builder |
setMaps(GroundingChunk.Maps value)
Grounding chunk from Google Maps.
|
GroundingChunk.Builder |
setRetrievedContext(GroundingChunk.RetrievedContext.Builder builderForValue)
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.Builder |
setRetrievedContext(GroundingChunk.RetrievedContext value)
Grounding chunk from context retrieved by the retrieval tools.
|
GroundingChunk.Builder |
setWeb(GroundingChunk.Web.Builder builderForValue)
Grounding chunk from the web.
|
GroundingChunk.Builder |
setWeb(GroundingChunk.Web value)
Grounding chunk from the web.
|
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.Builder>public GroundingChunk.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.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.Builder>public GroundingChunk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroundingChunk build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroundingChunk buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroundingChunk.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundingChunk.Builder>public GroundingChunk.Builder mergeFrom(GroundingChunk other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>public GroundingChunk.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.Builder>IOExceptionpublic GroundingChunk.ChunkTypeCase getChunkTypeCase()
getChunkTypeCase in interface GroundingChunkOrBuilderpublic GroundingChunk.Builder clearChunkType()
public boolean hasWeb()
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;hasWeb in interface GroundingChunkOrBuilderpublic GroundingChunk.Web getWeb()
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;getWeb in interface GroundingChunkOrBuilderpublic GroundingChunk.Builder setWeb(GroundingChunk.Web value)
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;public GroundingChunk.Builder setWeb(GroundingChunk.Web.Builder builderForValue)
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;public GroundingChunk.Builder mergeWeb(GroundingChunk.Web value)
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;public GroundingChunk.Builder clearWeb()
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;public GroundingChunk.Web.Builder getWebBuilder()
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;public GroundingChunk.WebOrBuilder getWebOrBuilder()
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;getWebOrBuilder in interface GroundingChunkOrBuilderpublic boolean hasRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
hasRetrievedContext in interface GroundingChunkOrBuilderpublic GroundingChunk.RetrievedContext getRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
getRetrievedContext in interface GroundingChunkOrBuilderpublic GroundingChunk.Builder setRetrievedContext(GroundingChunk.RetrievedContext value)
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
public GroundingChunk.Builder setRetrievedContext(GroundingChunk.RetrievedContext.Builder builderForValue)
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
public GroundingChunk.Builder mergeRetrievedContext(GroundingChunk.RetrievedContext value)
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
public GroundingChunk.Builder clearRetrievedContext()
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
public GroundingChunk.RetrievedContext.Builder getRetrievedContextBuilder()
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
public GroundingChunk.RetrievedContextOrBuilder getRetrievedContextOrBuilder()
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;
getRetrievedContextOrBuilder in interface GroundingChunkOrBuilderpublic boolean hasMaps()
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;hasMaps in interface GroundingChunkOrBuilderpublic GroundingChunk.Maps getMaps()
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;getMaps in interface GroundingChunkOrBuilderpublic GroundingChunk.Builder setMaps(GroundingChunk.Maps value)
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;public GroundingChunk.Builder setMaps(GroundingChunk.Maps.Builder builderForValue)
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;public GroundingChunk.Builder mergeMaps(GroundingChunk.Maps value)
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;public GroundingChunk.Builder clearMaps()
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;public GroundingChunk.Maps.Builder getMapsBuilder()
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;public GroundingChunk.MapsOrBuilder getMapsOrBuilder()
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;getMapsOrBuilder in interface GroundingChunkOrBuilderCopyright © 2026 Google LLC. All rights reserved.