Package com.google.cloud.aiplatform.v1
Class GroundingChunk.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>
com.google.cloud.aiplatform.v1.GroundingChunk.Builder
- All Implemented Interfaces:
GroundingChunkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroundingChunk
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Grounding chunk from Google Maps.Grounding chunk from context retrieved by the retrieval tools.clearWeb()Grounding chunk from the web.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMaps()Grounding chunk from Google Maps.Grounding chunk from Google Maps.Grounding chunk from Google Maps.Grounding chunk from context retrieved by the retrieval tools.Grounding chunk from context retrieved by the retrieval tools.Grounding chunk from context retrieved by the retrieval tools.getWeb()Grounding chunk from the web.Grounding chunk from the web.Grounding chunk from the web.booleanhasMaps()Grounding chunk from Google Maps.booleanGrounding chunk from context retrieved by the retrieval tools.booleanhasWeb()Grounding chunk from the web.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GroundingChunk other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaps(GroundingChunk.Maps value) Grounding chunk from Google Maps.Grounding chunk from context retrieved by the retrieval tools.mergeWeb(GroundingChunk.Web value) Grounding chunk from the web.setMaps(GroundingChunk.Maps value) Grounding chunk from Google Maps.setMaps(GroundingChunk.Maps.Builder builderForValue) Grounding chunk from Google Maps.Grounding chunk from context retrieved by the retrieval tools.setRetrievedContext(GroundingChunk.RetrievedContext.Builder builderForValue) Grounding chunk from context retrieved by the retrieval tools.setWeb(GroundingChunk.Web value) Grounding chunk from the web.setWeb(GroundingChunk.Web.Builder builderForValue) Grounding chunk from the web.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroundingChunk.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Builder>
-
mergeFrom
public GroundingChunk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroundingChunk.Builder>- Throws:
IOException
-
getChunkTypeCase
- Specified by:
getChunkTypeCasein interfaceGroundingChunkOrBuilder
-
clearChunkType
-
hasWeb
public boolean hasWeb()Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;- Specified by:
hasWebin interfaceGroundingChunkOrBuilder- Returns:
- Whether the web field is set.
-
getWeb
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;- Specified by:
getWebin interfaceGroundingChunkOrBuilder- Returns:
- The web.
-
setWeb
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
setWeb
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
mergeWeb
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
clearWeb
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
getWebBuilder
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
getWebOrBuilder
Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;- Specified by:
getWebOrBuilderin interfaceGroundingChunkOrBuilder
-
hasRetrievedContext
public boolean hasRetrievedContext()Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;- Specified by:
hasRetrievedContextin interfaceGroundingChunkOrBuilder- Returns:
- Whether the retrievedContext field is set.
-
getRetrievedContext
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;- Specified by:
getRetrievedContextin interfaceGroundingChunkOrBuilder- Returns:
- The retrievedContext.
-
setRetrievedContext
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; -
setRetrievedContext
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; -
mergeRetrievedContext
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; -
clearRetrievedContext
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; -
getRetrievedContextBuilder
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; -
getRetrievedContextOrBuilder
Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;- Specified by:
getRetrievedContextOrBuilderin interfaceGroundingChunkOrBuilder
-
hasMaps
public boolean hasMaps()Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;- Specified by:
hasMapsin interfaceGroundingChunkOrBuilder- Returns:
- Whether the maps field is set.
-
getMaps
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;- Specified by:
getMapsin interfaceGroundingChunkOrBuilder- Returns:
- The maps.
-
setMaps
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
setMaps
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
mergeMaps
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
clearMaps
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
getMapsBuilder
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
getMapsOrBuilder
Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;- Specified by:
getMapsOrBuilderin interfaceGroundingChunkOrBuilder
-