public static final class EnterpriseWebSearch.Builder extends GeneratedMessage.Builder<EnterpriseWebSearch.Builder> implements EnterpriseWebSearchOrBuilderTool to search public web data, powered by Vertex AI Search and Sec4 compliance.
Protobuf type google.cloud.vertexai.v1.EnterpriseWebSearch
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EnterpriseWebSearch.BuilderImplements
EnterpriseWebSearchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludeDomains(Iterable<String> values)
public EnterpriseWebSearch.Builder addAllExcludeDomains(Iterable<String> values)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
addExcludeDomains(String value)
public EnterpriseWebSearch.Builder addExcludeDomains(String value)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
addExcludeDomainsBytes(ByteString value)
public EnterpriseWebSearch.Builder addExcludeDomainsBytes(ByteString value)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
build()
public EnterpriseWebSearch build()| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch |
|
buildPartial()
public EnterpriseWebSearch buildPartial()| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch |
|
clear()
public EnterpriseWebSearch.Builder clear()| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
|
clearBlockingConfidence()
public EnterpriseWebSearch.Builder clearBlockingConfidence()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
clearExcludeDomains()
public EnterpriseWebSearch.Builder clearExcludeDomains()Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
getBlockingConfidence()
public Tool.PhishBlockThreshold getBlockingConfidence()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.PhishBlockThreshold |
The blockingConfidence. |
getBlockingConfidenceValue()
public int getBlockingConfidenceValue()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for blockingConfidence. |
getDefaultInstanceForType()
public EnterpriseWebSearch getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludeDomains(int index)
public String getExcludeDomains(int index)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludeDomains at the given index. |
getExcludeDomainsBytes(int index)
public ByteString getExcludeDomainsBytes(int index)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludeDomains at the given index. |
getExcludeDomainsCount()
public int getExcludeDomainsCount()Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludeDomains. |
getExcludeDomainsList()
public ProtocolStringList getExcludeDomainsList()Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludeDomains. |
hasBlockingConfidence()
public boolean hasBlockingConfidence()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the blockingConfidence field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EnterpriseWebSearch other)
public EnterpriseWebSearch.Builder mergeFrom(EnterpriseWebSearch other)| Parameter | |
|---|---|
| Name | Description |
other |
EnterpriseWebSearch |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EnterpriseWebSearch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EnterpriseWebSearch.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
|
setBlockingConfidence(Tool.PhishBlockThreshold value)
public EnterpriseWebSearch.Builder setBlockingConfidence(Tool.PhishBlockThreshold value)Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool.PhishBlockThresholdThe blockingConfidence to set. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
setBlockingConfidenceValue(int value)
public EnterpriseWebSearch.Builder setBlockingConfidenceValue(int value)Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
optional .google.cloud.vertexai.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for blockingConfidence to set. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |
setExcludeDomains(int index, String value)
public EnterpriseWebSearch.Builder setExcludeDomains(int index, String value)Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludeDomains to set. |
| Returns | |
|---|---|
| Type | Description |
EnterpriseWebSearch.Builder |
This builder for chaining. |