public static final class GroundingChunk.Maps.Builder extends GeneratedMessage.Builder<GroundingChunk.Maps.Builder> implements GroundingChunk.MapsOrBuilderChunk from Google Maps.
Protobuf type google.cloud.vertexai.v1.GroundingChunk.Maps
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GroundingChunk.Maps.BuilderImplements
GroundingChunk.MapsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GroundingChunk.Maps build()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps |
|
buildPartial()
public GroundingChunk.Maps buildPartial()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps |
|
clear()
public GroundingChunk.Maps.Builder clear()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
clearPlaceAnswerSources()
public GroundingChunk.Maps.Builder clearPlaceAnswerSources()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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
clearPlaceId()
public GroundingChunk.Maps.Builder clearPlaceId() 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 |
GroundingChunk.Maps.Builder |
This builder for chaining. |
clearText()
public GroundingChunk.Maps.Builder clearText()Text of the chunk.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
clearTitle()
public GroundingChunk.Maps.Builder clearTitle()Title of the chunk.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
clearUri()
public GroundingChunk.Maps.Builder clearUri()URI reference of the chunk.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GroundingChunk.Maps getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPlaceAnswerSources()
public 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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources |
The placeAnswerSources. |
getPlaceAnswerSourcesBuilder()
public GroundingChunk.Maps.PlaceAnswerSources.Builder getPlaceAnswerSourcesBuilder()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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.Builder |
|
getPlaceAnswerSourcesOrBuilder()
public 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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder |
|
getPlaceId()
public 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 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 String getText()Text of the chunk.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()Text of the chunk.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getTitle()
public String getTitle()Title of the chunk.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Title of the chunk.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public String getUri()URI reference of the chunk.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()URI reference of the chunk.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasPlaceAnswerSources()
public 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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the placeAnswerSources field is set. |
hasPlaceId()
public 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 boolean hasText()Text of the chunk.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hasTitle()
public boolean hasTitle()Title of the chunk.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the title field is set. |
hasUri()
public boolean hasUri()URI reference of the chunk.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GroundingChunk.Maps other)
public GroundingChunk.Maps.Builder mergeFrom(GroundingChunk.Maps other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundingChunk.Maps |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GroundingChunk.Maps.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GroundingChunk.Maps.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
mergePlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
public GroundingChunk.Maps.Builder mergePlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
GroundingChunk.Maps.PlaceAnswerSources |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)
public GroundingChunk.Maps.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value)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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
GroundingChunk.Maps.PlaceAnswerSources |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue)
public GroundingChunk.Maps.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue)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.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GroundingChunk.Maps.PlaceAnswerSources.Builder |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
|
setPlaceId(String value)
public GroundingChunk.Maps.Builder setPlaceId(String value) This Place's resource name, in places/{place_id} format. Can be used
to look up the Place.
optional string place_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe placeId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setPlaceIdBytes(ByteString value)
public GroundingChunk.Maps.Builder setPlaceIdBytes(ByteString value) This Place's resource name, in places/{place_id} format. Can be used
to look up the Place.
optional string place_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for placeId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setText(String value)
public GroundingChunk.Maps.Builder setText(String value)Text of the chunk.
optional string text = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe text to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public GroundingChunk.Maps.Builder setTextBytes(ByteString value)Text of the chunk.
optional string text = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setTitle(String value)
public GroundingChunk.Maps.Builder setTitle(String value)Title of the chunk.
optional string title = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public GroundingChunk.Maps.Builder setTitleBytes(ByteString value)Title of the chunk.
optional string title = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setUri(String value)
public GroundingChunk.Maps.Builder setUri(String value)URI reference of the chunk.
optional string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public GroundingChunk.Maps.Builder setUriBytes(ByteString value)URI reference of the chunk.
optional string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Builder |
This builder for chaining. |