public static final class Tool.GoogleSearch extends com.google.protobuf.GeneratedMessage implements Tool.GoogleSearchOrBuilder
GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.Protobuf type
google.cloud.aiplatform.v1.Tool.GoogleSearch| Modifier and Type | Class and Description |
|---|---|
static class |
Tool.GoogleSearch.Builder
GoogleSearch tool type.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKING_CONFIDENCE_FIELD_NUMBER |
static int |
EXCLUDE_DOMAINS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Tool.PhishBlockThreshold |
getBlockingConfidence()
Optional.
|
int |
getBlockingConfidenceValue()
Optional.
|
static Tool.GoogleSearch |
getDefaultInstance() |
Tool.GoogleSearch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExcludeDomains(int index)
Optional.
|
com.google.protobuf.ByteString |
getExcludeDomainsBytes(int index)
Optional.
|
int |
getExcludeDomainsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getExcludeDomainsList()
Optional.
|
com.google.protobuf.Parser<Tool.GoogleSearch> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasBlockingConfidence()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Tool.GoogleSearch.Builder |
newBuilder() |
static Tool.GoogleSearch.Builder |
newBuilder(Tool.GoogleSearch prototype) |
Tool.GoogleSearch.Builder |
newBuilderForType() |
protected Tool.GoogleSearch.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Tool.GoogleSearch |
parseDelimitedFrom(InputStream input) |
static Tool.GoogleSearch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tool.GoogleSearch |
parseFrom(byte[] data) |
static Tool.GoogleSearch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tool.GoogleSearch |
parseFrom(ByteBuffer data) |
static Tool.GoogleSearch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tool.GoogleSearch |
parseFrom(com.google.protobuf.ByteString data) |
static Tool.GoogleSearch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tool.GoogleSearch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Tool.GoogleSearch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tool.GoogleSearch |
parseFrom(InputStream input) |
static Tool.GoogleSearch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Tool.GoogleSearch> |
parser() |
Tool.GoogleSearch.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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EXCLUDE_DOMAINS_FIELD_NUMBER
public static final int BLOCKING_CONFIDENCE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.ProtocolStringList getExcludeDomainsList()
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
repeated string exclude_domains = 3 [(.google.api.field_behavior) = OPTIONAL];getExcludeDomainsList in interface Tool.GoogleSearchOrBuilderpublic int getExcludeDomainsCount()
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
repeated string exclude_domains = 3 [(.google.api.field_behavior) = OPTIONAL];getExcludeDomainsCount in interface Tool.GoogleSearchOrBuilderpublic String getExcludeDomains(int index)
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
repeated string exclude_domains = 3 [(.google.api.field_behavior) = OPTIONAL];getExcludeDomains in interface Tool.GoogleSearchOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludeDomainsBytes(int index)
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
repeated string exclude_domains = 3 [(.google.api.field_behavior) = OPTIONAL];getExcludeDomainsBytes in interface Tool.GoogleSearchOrBuilderindex - The index of the value to return.public boolean hasBlockingConfidence()
Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];
hasBlockingConfidence in interface Tool.GoogleSearchOrBuilderpublic int getBlockingConfidenceValue()
Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];
getBlockingConfidenceValue in interface Tool.GoogleSearchOrBuilderpublic Tool.PhishBlockThreshold getBlockingConfidence()
Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];
getBlockingConfidence in interface Tool.GoogleSearchOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 Tool.GoogleSearch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tool.GoogleSearch parseFrom(InputStream input) throws IOException
IOExceptionpublic static Tool.GoogleSearch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tool.GoogleSearch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Tool.GoogleSearch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tool.GoogleSearch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Tool.GoogleSearch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Tool.GoogleSearch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Tool.GoogleSearch.Builder newBuilder()
public static Tool.GoogleSearch.Builder newBuilder(Tool.GoogleSearch prototype)
public Tool.GoogleSearch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Tool.GoogleSearch.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Tool.GoogleSearch getDefaultInstance()
public static com.google.protobuf.Parser<Tool.GoogleSearch> parser()
public com.google.protobuf.Parser<Tool.GoogleSearch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Tool.GoogleSearch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.