Interface GroundingChunk.MapsOrBuilder (3.77.0)

public static interface GroundingChunk.MapsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPlaceAnswerSources()

public abstract 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.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;

Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources

The placeAnswerSources.

getPlaceAnswerSourcesOrBuilder()

public abstract 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.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;

Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder

getPlaceId()

public abstract 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
Type Description
String

The placeId.

getPlaceIdBytes()

public abstract 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
Type Description
ByteString

The bytes for placeId.

getText()

public abstract String getText()

Text of the chunk.

optional string text = 3;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Text of the chunk.

optional string text = 3;

Returns
Type Description
ByteString

The bytes for text.

getTitle()

public abstract String getTitle()

Title of the chunk.

optional string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the chunk.

optional string title = 2;

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

URI reference of the chunk.

optional string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI reference of the chunk.

optional string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hasPlaceAnswerSources()

public abstract 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.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;

Returns
Type Description
boolean

Whether the placeAnswerSources field is set.

hasPlaceId()

public abstract 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
Type Description
boolean

Whether the placeId field is set.

hasText()

public abstract boolean hasText()

Text of the chunk.

optional string text = 3;

Returns
Type Description
boolean

Whether the text field is set.

hasTitle()

public abstract boolean hasTitle()

Title of the chunk.

optional string title = 2;

Returns
Type Description
boolean

Whether the title field is set.

hasUri()

public abstract boolean hasUri()

URI reference of the chunk.

optional string uri = 1;

Returns
Type Description
boolean

Whether the uri field is set.