public final class GroundingMetadata extends com.google.protobuf.GeneratedMessageV3 implements GroundingMetadataOrBuilder
Metadata returned to client when grounding is enabled.Protobuf type
google.cloud.aiplatform.v1beta1.GroundingMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
GroundingMetadata.Builder
Metadata returned to client when grounding is enabled.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GROUNDING_ATTRIBUTIONS_FIELD_NUMBER |
static int |
RETRIEVAL_QUERIES_FIELD_NUMBER |
static int |
SEARCH_ENTRY_POINT_FIELD_NUMBER |
static int |
WEB_SEARCH_QUERIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GroundingMetadata |
getDefaultInstance() |
GroundingMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GroundingAttribution |
getGroundingAttributions(int index)
Optional.
|
int |
getGroundingAttributionsCount()
Optional.
|
List<GroundingAttribution> |
getGroundingAttributionsList()
Optional.
|
GroundingAttributionOrBuilder |
getGroundingAttributionsOrBuilder(int index)
Optional.
|
List<? extends GroundingAttributionOrBuilder> |
getGroundingAttributionsOrBuilderList()
Optional.
|
com.google.protobuf.Parser<GroundingMetadata> |
getParserForType() |
String |
getRetrievalQueries(int index)
Optional.
|
com.google.protobuf.ByteString |
getRetrievalQueriesBytes(int index)
Optional.
|
int |
getRetrievalQueriesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getRetrievalQueriesList()
Optional.
|
SearchEntryPoint |
getSearchEntryPoint()
Optional.
|
SearchEntryPointOrBuilder |
getSearchEntryPointOrBuilder()
Optional.
|
int |
getSerializedSize() |
String |
getWebSearchQueries(int index)
Optional.
|
com.google.protobuf.ByteString |
getWebSearchQueriesBytes(int index)
Optional.
|
int |
getWebSearchQueriesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getWebSearchQueriesList()
Optional.
|
int |
hashCode() |
boolean |
hasSearchEntryPoint()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GroundingMetadata.Builder |
newBuilder() |
static GroundingMetadata.Builder |
newBuilder(GroundingMetadata prototype) |
GroundingMetadata.Builder |
newBuilderForType() |
protected GroundingMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GroundingMetadata |
parseDelimitedFrom(InputStream input) |
static GroundingMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GroundingMetadata |
parseFrom(byte[] data) |
static GroundingMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GroundingMetadata |
parseFrom(ByteBuffer data) |
static GroundingMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GroundingMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static GroundingMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GroundingMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GroundingMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GroundingMetadata |
parseFrom(InputStream input) |
static GroundingMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GroundingMetadata> |
parser() |
GroundingMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int WEB_SEARCH_QUERIES_FIELD_NUMBER
public static final int SEARCH_ENTRY_POINT_FIELD_NUMBER
public static final int RETRIEVAL_QUERIES_FIELD_NUMBER
public static final int GROUNDING_ATTRIBUTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getWebSearchQueriesList()
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];getWebSearchQueriesList in interface GroundingMetadataOrBuilderpublic int getWebSearchQueriesCount()
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];getWebSearchQueriesCount in interface GroundingMetadataOrBuilderpublic String getWebSearchQueries(int index)
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];getWebSearchQueries in interface GroundingMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index)
Optional. Web search queries for the following-up web search.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];getWebSearchQueriesBytes in interface GroundingMetadataOrBuilderindex - The index of the value to return.public boolean hasSearchEntryPoint()
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];
hasSearchEntryPoint in interface GroundingMetadataOrBuilderpublic SearchEntryPoint getSearchEntryPoint()
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];
getSearchEntryPoint in interface GroundingMetadataOrBuilderpublic SearchEntryPointOrBuilder getSearchEntryPointOrBuilder()
Optional. Google search entry for the following-up web searches.
optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL];
getSearchEntryPointOrBuilder in interface GroundingMetadataOrBuilderpublic com.google.protobuf.ProtocolStringList getRetrievalQueriesList()
Optional. Queries executed by the retrieval tools.
repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL];getRetrievalQueriesList in interface GroundingMetadataOrBuilderpublic int getRetrievalQueriesCount()
Optional. Queries executed by the retrieval tools.
repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL];getRetrievalQueriesCount in interface GroundingMetadataOrBuilderpublic String getRetrievalQueries(int index)
Optional. Queries executed by the retrieval tools.
repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL];getRetrievalQueries in interface GroundingMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRetrievalQueriesBytes(int index)
Optional. Queries executed by the retrieval tools.
repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL];getRetrievalQueriesBytes in interface GroundingMetadataOrBuilderindex - The index of the value to return.public List<GroundingAttribution> getGroundingAttributionsList()
Optional. List of grounding attributions.
repeated .google.cloud.aiplatform.v1beta1.GroundingAttribution grounding_attributions = 2 [(.google.api.field_behavior) = OPTIONAL];
getGroundingAttributionsList in interface GroundingMetadataOrBuilderpublic List<? extends GroundingAttributionOrBuilder> getGroundingAttributionsOrBuilderList()
Optional. List of grounding attributions.
repeated .google.cloud.aiplatform.v1beta1.GroundingAttribution grounding_attributions = 2 [(.google.api.field_behavior) = OPTIONAL];
getGroundingAttributionsOrBuilderList in interface GroundingMetadataOrBuilderpublic int getGroundingAttributionsCount()
Optional. List of grounding attributions.
repeated .google.cloud.aiplatform.v1beta1.GroundingAttribution grounding_attributions = 2 [(.google.api.field_behavior) = OPTIONAL];
getGroundingAttributionsCount in interface GroundingMetadataOrBuilderpublic GroundingAttribution getGroundingAttributions(int index)
Optional. List of grounding attributions.
repeated .google.cloud.aiplatform.v1beta1.GroundingAttribution grounding_attributions = 2 [(.google.api.field_behavior) = OPTIONAL];
getGroundingAttributions in interface GroundingMetadataOrBuilderpublic GroundingAttributionOrBuilder getGroundingAttributionsOrBuilder(int index)
Optional. List of grounding attributions.
repeated .google.cloud.aiplatform.v1beta1.GroundingAttribution grounding_attributions = 2 [(.google.api.field_behavior) = OPTIONAL];
getGroundingAttributionsOrBuilder in interface GroundingMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GroundingMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GroundingMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static GroundingMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GroundingMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GroundingMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GroundingMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GroundingMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GroundingMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GroundingMetadata.Builder newBuilder()
public static GroundingMetadata.Builder newBuilder(GroundingMetadata prototype)
public GroundingMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GroundingMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GroundingMetadata getDefaultInstance()
public static com.google.protobuf.Parser<GroundingMetadata> parser()
public com.google.protobuf.Parser<GroundingMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GroundingMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.