public static final class Tool.GoogleSearch.Builder extends com.google.protobuf.GeneratedMessage.Builder<Tool.GoogleSearch.Builder> implements Tool.GoogleSearchOrBuilder
GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.Protobuf type
google.cloud.aiplatform.v1.Tool.GoogleSearchaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Tool.GoogleSearch.Builder>public Tool.GoogleSearch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Tool.GoogleSearch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Tool.GoogleSearch.Builder>public Tool.GoogleSearch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Tool.GoogleSearch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Tool.GoogleSearch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Tool.GoogleSearch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.GoogleSearch.Builder>public Tool.GoogleSearch.Builder mergeFrom(Tool.GoogleSearch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Tool.GoogleSearch.Builder>public Tool.GoogleSearch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.GoogleSearch.Builder>IOExceptionpublic 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 Tool.GoogleSearch.Builder setExcludeDomains(int index, String value)
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];index - The index to set the value at.value - The excludeDomains to set.public Tool.GoogleSearch.Builder addExcludeDomains(String value)
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];value - The excludeDomains to add.public Tool.GoogleSearch.Builder addAllExcludeDomains(Iterable<String> values)
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];values - The excludeDomains to add.public Tool.GoogleSearch.Builder clearExcludeDomains()
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];public Tool.GoogleSearch.Builder addExcludeDomainsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the excludeDomains to add.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.GoogleSearch.Builder setBlockingConfidenceValue(int value)
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];
value - The enum numeric value on the wire for blockingConfidence to set.public 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 Tool.GoogleSearch.Builder setBlockingConfidence(Tool.PhishBlockThreshold value)
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];
value - The blockingConfidence to set.public Tool.GoogleSearch.Builder clearBlockingConfidence()
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];
Copyright © 2026 Google LLC. All rights reserved.