Package com.google.cloud.aiplatform.v1
Class GroundingMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.Builder>
com.google.cloud.aiplatform.v1.GroundingMetadata.Builder
- All Implemented Interfaces:
GroundingMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroundingMetadata
public static final class GroundingMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.Builder>
implements GroundingMetadataOrBuilder
Metadata returned to client when grounding is enabled.Protobuf type
google.cloud.aiplatform.v1.GroundingMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllGroundingChunks(Iterable<? extends GroundingChunk> values) List of supporting references retrieved from specified grounding source.addAllGroundingSupports(Iterable<? extends GroundingSupport> values) Optional.addAllSourceFlaggingUris(Iterable<? extends GroundingMetadata.SourceFlaggingUri> values) List of source flagging uris.addAllWebSearchQueries(Iterable<String> values) Optional.addGroundingChunks(int index, GroundingChunk value) List of supporting references retrieved from specified grounding source.addGroundingChunks(int index, GroundingChunk.Builder builderForValue) List of supporting references retrieved from specified grounding source.addGroundingChunks(GroundingChunk value) List of supporting references retrieved from specified grounding source.addGroundingChunks(GroundingChunk.Builder builderForValue) List of supporting references retrieved from specified grounding source.List of supporting references retrieved from specified grounding source.addGroundingChunksBuilder(int index) List of supporting references retrieved from specified grounding source.addGroundingSupports(int index, GroundingSupport value) Optional.addGroundingSupports(int index, GroundingSupport.Builder builderForValue) Optional.Optional.addGroundingSupports(GroundingSupport.Builder builderForValue) Optional.Optional.addGroundingSupportsBuilder(int index) Optional.addSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri value) List of source flagging uris.addSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris.List of source flagging uris.addSourceFlaggingUris(GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris.List of source flagging uris.addSourceFlaggingUrisBuilder(int index) List of source flagging uris.addWebSearchQueries(String value) Optional.addWebSearchQueriesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.List of supporting references retrieved from specified grounding source.Optional.Optional.Optional.List of source flagging uris.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getGroundingChunks(int index) List of supporting references retrieved from specified grounding source.getGroundingChunksBuilder(int index) List of supporting references retrieved from specified grounding source.List of supporting references retrieved from specified grounding source.intList of supporting references retrieved from specified grounding source.List of supporting references retrieved from specified grounding source.getGroundingChunksOrBuilder(int index) List of supporting references retrieved from specified grounding source.List<? extends GroundingChunkOrBuilder>List of supporting references retrieved from specified grounding source.getGroundingSupports(int index) Optional.getGroundingSupportsBuilder(int index) Optional.Optional.intOptional.Optional.getGroundingSupportsOrBuilder(int index) Optional.List<? extends GroundingSupportOrBuilder>Optional.Optional.Optional.Optional.Optional.Optional.Optional.getSourceFlaggingUris(int index) List of source flagging uris.getSourceFlaggingUrisBuilder(int index) List of source flagging uris.List of source flagging uris.intList of source flagging uris.List of source flagging uris.getSourceFlaggingUrisOrBuilder(int index) List of source flagging uris.List<? extends GroundingMetadata.SourceFlaggingUriOrBuilder>List of source flagging uris.getWebSearchQueries(int index) Optional.com.google.protobuf.ByteStringgetWebSearchQueriesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GroundingMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.removeGroundingChunks(int index) List of supporting references retrieved from specified grounding source.removeGroundingSupports(int index) Optional.removeSourceFlaggingUris(int index) List of source flagging uris.Optional.setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) Optional.setGroundingChunks(int index, GroundingChunk value) List of supporting references retrieved from specified grounding source.setGroundingChunks(int index, GroundingChunk.Builder builderForValue) List of supporting references retrieved from specified grounding source.setGroundingSupports(int index, GroundingSupport value) Optional.setGroundingSupports(int index, GroundingSupport.Builder builderForValue) Optional.Optional.setRetrievalMetadata(RetrievalMetadata.Builder builderForValue) Optional.Optional.setSearchEntryPoint(SearchEntryPoint.Builder builderForValue) Optional.setSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri value) List of source flagging uris.setSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris.setWebSearchQueries(int index, String value) Optional.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<GroundingMetadata.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<GroundingMetadata.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<GroundingMetadata.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<GroundingMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.Builder>
-
mergeFrom
public GroundingMetadata.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<GroundingMetadata.Builder>- Throws:
IOException
-
getWebSearchQueriesList
public com.google.protobuf.ProtocolStringList getWebSearchQueriesList()Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebSearchQueriesListin interfaceGroundingMetadataOrBuilder- Returns:
- A list containing the webSearchQueries.
-
getWebSearchQueriesCount
public int getWebSearchQueriesCount()Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebSearchQueriesCountin interfaceGroundingMetadataOrBuilder- Returns:
- The count of webSearchQueries.
-
getWebSearchQueries
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebSearchQueriesin interfaceGroundingMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The webSearchQueries at the given index.
-
getWebSearchQueriesBytes
public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebSearchQueriesBytesin interfaceGroundingMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webSearchQueries at the given index.
-
setWebSearchQueries
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The webSearchQueries to set.- Returns:
- This builder for chaining.
-
addWebSearchQueries
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The webSearchQueries to add.- Returns:
- This builder for chaining.
-
addAllWebSearchQueries
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The webSearchQueries to add.- Returns:
- This builder for chaining.
-
clearWebSearchQueries
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addWebSearchQueriesBytes
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the webSearchQueries to add.- Returns:
- This builder for chaining.
-
hasSearchEntryPoint
public boolean hasSearchEntryPoint()Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSearchEntryPointin interfaceGroundingMetadataOrBuilder- Returns:
- Whether the searchEntryPoint field is set.
-
getSearchEntryPoint
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchEntryPointin interfaceGroundingMetadataOrBuilder- Returns:
- The searchEntryPoint.
-
setSearchEntryPoint
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setSearchEntryPoint
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSearchEntryPoint
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearSearchEntryPoint
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getSearchEntryPointBuilder
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getSearchEntryPointOrBuilder
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchEntryPointOrBuilderin interfaceGroundingMetadataOrBuilder
-
getGroundingChunksList
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5;- Specified by:
getGroundingChunksListin interfaceGroundingMetadataOrBuilder
-
getGroundingChunksCount
public int getGroundingChunksCount()List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5;- Specified by:
getGroundingChunksCountin interfaceGroundingMetadataOrBuilder
-
getGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5;- Specified by:
getGroundingChunksin interfaceGroundingMetadataOrBuilder
-
setGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
setGroundingChunks
public GroundingMetadata.Builder setGroundingChunks(int index, GroundingChunk.Builder builderForValue) List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addGroundingChunks
public GroundingMetadata.Builder addGroundingChunks(int index, GroundingChunk.Builder builderForValue) List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addAllGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
clearGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
removeGroundingChunks
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
getGroundingChunksBuilder
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
getGroundingChunksOrBuilder
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5;- Specified by:
getGroundingChunksOrBuilderin interfaceGroundingMetadataOrBuilder
-
getGroundingChunksOrBuilderList
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5;- Specified by:
getGroundingChunksOrBuilderListin interfaceGroundingMetadataOrBuilder
-
addGroundingChunksBuilder
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
addGroundingChunksBuilder
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
getGroundingChunksBuilderList
List of supporting references retrieved from specified grounding source.
repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; -
getGroundingSupportsList
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGroundingSupportsListin interfaceGroundingMetadataOrBuilder
-
getGroundingSupportsCount
public int getGroundingSupportsCount()Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGroundingSupportsCountin interfaceGroundingMetadataOrBuilder
-
getGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGroundingSupportsin interfaceGroundingMetadataOrBuilder
-
setGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setGroundingSupports
public GroundingMetadata.Builder setGroundingSupports(int index, GroundingSupport.Builder builderForValue) Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addGroundingSupports
public GroundingMetadata.Builder addGroundingSupports(int index, GroundingSupport.Builder builderForValue) Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addAllGroundingSupports
public GroundingMetadata.Builder addAllGroundingSupports(Iterable<? extends GroundingSupport> values) Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
removeGroundingSupports
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getGroundingSupportsBuilder
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getGroundingSupportsOrBuilder
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGroundingSupportsOrBuilderin interfaceGroundingMetadataOrBuilder
-
getGroundingSupportsOrBuilderList
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGroundingSupportsOrBuilderListin interfaceGroundingMetadataOrBuilder
-
addGroundingSupportsBuilder
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addGroundingSupportsBuilder
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getGroundingSupportsBuilderList
Optional. List of grounding support.
repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; -
hasRetrievalMetadata
public boolean hasRetrievalMetadata()Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRetrievalMetadatain interfaceGroundingMetadataOrBuilder- Returns:
- Whether the retrievalMetadata field is set.
-
getRetrievalMetadata
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRetrievalMetadatain interfaceGroundingMetadataOrBuilder- Returns:
- The retrievalMetadata.
-
setRetrievalMetadata
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
setRetrievalMetadata
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRetrievalMetadata
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRetrievalMetadata
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getRetrievalMetadataBuilder
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getRetrievalMetadataOrBuilder
Optional. Output only. Retrieval metadata.
optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRetrievalMetadataOrBuilderin interfaceGroundingMetadataOrBuilder
-
hasGoogleMapsWidgetContextToken
public boolean hasGoogleMapsWidgetContextToken()Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGoogleMapsWidgetContextTokenin interfaceGroundingMetadataOrBuilder- Returns:
- Whether the googleMapsWidgetContextToken field is set.
-
getGoogleMapsWidgetContextToken
Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGoogleMapsWidgetContextTokenin interfaceGroundingMetadataOrBuilder- Returns:
- The googleMapsWidgetContextToken.
-
getGoogleMapsWidgetContextTokenBytes
public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes()Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGoogleMapsWidgetContextTokenBytesin interfaceGroundingMetadataOrBuilder- Returns:
- The bytes for googleMapsWidgetContextToken.
-
setGoogleMapsWidgetContextToken
Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The googleMapsWidgetContextToken to set.- Returns:
- This builder for chaining.
-
clearGoogleMapsWidgetContextToken
Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGoogleMapsWidgetContextTokenBytes
public GroundingMetadata.Builder setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding.
optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for googleMapsWidgetContextToken to set.- Returns:
- This builder for chaining.
-
getSourceFlaggingUrisList
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;- Specified by:
getSourceFlaggingUrisListin interfaceGroundingMetadataOrBuilder
-
getSourceFlaggingUrisCount
public int getSourceFlaggingUrisCount()List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;- Specified by:
getSourceFlaggingUrisCountin interfaceGroundingMetadataOrBuilder
-
getSourceFlaggingUris
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;- Specified by:
getSourceFlaggingUrisin interfaceGroundingMetadataOrBuilder
-
setSourceFlaggingUris
public GroundingMetadata.Builder setSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri value) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
setSourceFlaggingUris
public GroundingMetadata.Builder setSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addSourceFlaggingUris
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addSourceFlaggingUris
public GroundingMetadata.Builder addSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri value) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addSourceFlaggingUris
public GroundingMetadata.Builder addSourceFlaggingUris(GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addSourceFlaggingUris
public GroundingMetadata.Builder addSourceFlaggingUris(int index, GroundingMetadata.SourceFlaggingUri.Builder builderForValue) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addAllSourceFlaggingUris
public GroundingMetadata.Builder addAllSourceFlaggingUris(Iterable<? extends GroundingMetadata.SourceFlaggingUri> values) List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
clearSourceFlaggingUris
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
removeSourceFlaggingUris
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
getSourceFlaggingUrisBuilder
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
getSourceFlaggingUrisOrBuilder
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;- Specified by:
getSourceFlaggingUrisOrBuilderin interfaceGroundingMetadataOrBuilder
-
getSourceFlaggingUrisOrBuilderList
public List<? extends GroundingMetadata.SourceFlaggingUriOrBuilder> getSourceFlaggingUrisOrBuilderList()List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;- Specified by:
getSourceFlaggingUrisOrBuilderListin interfaceGroundingMetadataOrBuilder
-
addSourceFlaggingUrisBuilder
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
addSourceFlaggingUrisBuilder
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; -
getSourceFlaggingUrisBuilderList
List of source flagging uris. This is currently populated only for Google Maps grounding.
repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9;
-