Package com.google.cloud.aiplatform.v1
Interface GroundingChunk.MapsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GroundingChunk.Maps,GroundingChunk.Maps.Builder
- Enclosing class:
- GroundingChunk
public static interface GroundingChunk.MapsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSources used to generate the place answer.Sources used to generate the place answer.This Place's resource name, in `places/{place_id}` format.com.google.protobuf.ByteStringThis Place's resource name, in `places/{place_id}` format.getText()Text of the chunk.com.google.protobuf.ByteStringText of the chunk.getTitle()Title of the chunk.com.google.protobuf.ByteStringTitle of the chunk.getUri()URI reference of the chunk.com.google.protobuf.ByteStringURI reference of the chunk.booleanSources used to generate the place answer.booleanThis Place's resource name, in `places/{place_id}` format.booleanhasText()Text of the chunk.booleanhasTitle()Title of the chunk.booleanhasUri()URI reference of the chunk.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUri
boolean hasUri()URI reference of the chunk.
optional string uri = 1;- Returns:
- Whether the uri field is set.
-
getUri
String getUri()URI reference of the chunk.
optional string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI reference of the chunk.
optional string uri = 1;- Returns:
- The bytes for uri.
-
hasTitle
boolean hasTitle()Title of the chunk.
optional string title = 2;- Returns:
- Whether the title field is set.
-
getTitle
String getTitle()Title of the chunk.
optional string title = 2;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title of the chunk.
optional string title = 2;- Returns:
- The bytes for title.
-
hasText
boolean hasText()Text of the chunk.
optional string text = 3;- Returns:
- Whether the text field is set.
-
getText
String getText()Text of the chunk.
optional string text = 3;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Text of the chunk.
optional string text = 3;- Returns:
- The bytes for text.
-
hasPlaceId
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:
- Whether the placeId field is set.
-
getPlaceId
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:
- The placeId.
-
getPlaceIdBytes
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;- Returns:
- The bytes for placeId.
-
hasPlaceAnswerSources
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:
- Whether the placeAnswerSources field is set.
-
getPlaceAnswerSources
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;- Returns:
- The placeAnswerSources.
-
getPlaceAnswerSourcesOrBuilder
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;
-