Class GroundingChunk.Maps.PlaceAnswerSources (3.77.0)

public static final class GroundingChunk.Maps.PlaceAnswerSources extends GeneratedMessageV3 implements GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources

Inheritance

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

Static Fields

REVIEW_SNIPPETS_FIELD_NUMBER

public static final int REVIEW_SNIPPETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(GroundingChunk.Maps.PlaceAnswerSources prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getReviewSnippets(int index)

public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet getReviewSnippets(int index)

Snippets of reviews that are used to generate the answer.

repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1;

Parameter
Name Description
index int
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet

getReviewSnippetsCount()

public int getReviewSnippetsCount()

Snippets of reviews that are used to generate the answer.

repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1;

Returns
Type Description
int

getReviewSnippetsList()

public List<GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> getReviewSnippetsList()

Snippets of reviews that are used to generate the answer.

repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1;

Returns
Type Description
List<ReviewSnippet>

getReviewSnippetsOrBuilder(int index)

public GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder getReviewSnippetsOrBuilder(int index)

Snippets of reviews that are used to generate the answer.

repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1;

Parameter
Name Description
index int
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder

getReviewSnippetsOrBuilderList()

public List<? extends GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder> getReviewSnippetsOrBuilderList()

Snippets of reviews that are used to generate the answer.

repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.Builder newBuilderForType()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GroundingChunk.Maps.PlaceAnswerSources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.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.Builder toBuilder()
Returns
Type Description
GroundingChunk.Maps.PlaceAnswerSources.Builder

writeTo(CodedOutputStream output)

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