Package com.google.cloud.aiplatform.v1
Interface Tool.GoogleSearchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tool.GoogleSearch,Tool.GoogleSearch.Builder
- Enclosing class:
- Tool
public static interface Tool.GoogleSearchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.getExcludeDomains(int index) Optional.com.google.protobuf.ByteStringgetExcludeDomainsBytes(int index) Optional.intOptional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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];- Returns:
- A list containing the excludeDomains.
-
getExcludeDomainsCount
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];- Returns:
- The count of excludeDomains.
-
getExcludeDomains
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];- Parameters:
index- The index of the element to return.- Returns:
- The excludeDomains at the given index.
-
getExcludeDomainsBytes
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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeDomains at the given index.
-
hasBlockingConfidence
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];- Returns:
- Whether the blockingConfidence field is set.
-
getBlockingConfidenceValue
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];- Returns:
- The enum numeric value on the wire for blockingConfidence.
-
getBlockingConfidence
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];- Returns:
- The blockingConfidence.
-