Class GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet (3.77.0)
public static final class GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet extends GeneratedMessageV3 implements GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder
Encapsulates a review snippet.
Protobuf type
google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int GOOGLE_MAPS_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REVIEW_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilder()
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilder(GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet prototype)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseDelimitedFrom(InputStream input)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteString data)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(CodedInputStream input)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(InputStream input)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteBuffer data)
public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getDefaultInstanceForType()
public String getGoogleMapsUri()
A link to show the review on Google Maps.
string google_maps_uri = 2;
Returns |
Type |
Description |
String |
The googleMapsUri.
|
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.
|
public Parser<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> getParserForType()
Overrides
public String getReviewId()
Id of the review referencing the place.
string review_id = 1;
Returns |
Type |
Description |
String |
The reviewId.
|
public ByteString getReviewIdBytes()
Id of the review referencing the place.
string review_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for reviewId.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Title of the review.
string title = 3;
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
Title of the review.
string title = 3;
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilderForType()
protected GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]