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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet

Static Fields

GOOGLE_MAPS_URI_FIELD_NUMBER

public static final int GOOGLE_MAPS_URI_FIELD_NUMBER
Field Value
Type Description
int

REVIEW_ID_FIELD_NUMBER

public static final int REVIEW_ID_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getDefaultInstance()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilder()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder

newBuilder(GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet prototype)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilder(GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet prototype)
Parameter
Name Description
prototype GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder

parseDelimitedFrom(InputStream input)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> parser()
Returns
Type Description
Parser<ReviewSnippet>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getDefaultInstanceForType()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet

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.

getParserForType()

public Parser<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> getParserForType()
Returns
Type Description
Parser<ReviewSnippet>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilderForType()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder toBuilder()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException