public static final class GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder extends GeneratedMessage.Builder<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder> implements GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilderEncapsulates a review snippet.
Protobuf type
google.cloud.vertexai.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet build()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet |
|
buildPartial()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet buildPartial()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet |
|
clear()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder clear()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
|
clearGoogleMapsUri()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder clearGoogleMapsUri()A link to show the review on Google Maps.
string google_maps_uri = 2;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
clearReviewId()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder clearReviewId()Id of the review referencing the place.
string review_id = 1;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
clearTitle()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder clearTitle()Title of the review.
string title = 3;
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleMapsUri()
public String getGoogleMapsUri()A link to show the review on Google Maps.
string google_maps_uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The googleMapsUri. |
getGoogleMapsUriBytes()
public ByteString getGoogleMapsUriBytes()A link to show the review on Google Maps.
string google_maps_uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for googleMapsUri. |
getReviewId()
public String getReviewId()Id of the review referencing the place.
string review_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The reviewId. |
getReviewIdBytes()
public ByteString getReviewIdBytes()Id of the review referencing the place.
string review_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reviewId. |
getTitle()
public String getTitle()Title of the review.
string title = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Title of the review.
string title = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet other)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder mergeFrom(GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
|
setGoogleMapsUri(String value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setGoogleMapsUri(String value)A link to show the review on Google Maps.
string google_maps_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe googleMapsUri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
setGoogleMapsUriBytes(ByteString value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setGoogleMapsUriBytes(ByteString value)A link to show the review on Google Maps.
string google_maps_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for googleMapsUri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
setReviewId(String value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setReviewId(String value)Id of the review referencing the place.
string review_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reviewId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
setReviewIdBytes(ByteString value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setReviewIdBytes(ByteString value)Id of the review referencing the place.
string review_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reviewId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
setTitle(String value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setTitle(String value)Title of the review.
string title = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder setTitleBytes(ByteString value)Title of the review.
string title = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder |
This builder for chaining. |