Package com.google.webrisk.v1
Interface SearchUrisRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchUrisRequest,SearchUrisRequest.Builder
@Generated
public interface SearchUrisRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetThreatTypes(int index) Required.intRequired.Required.intgetThreatTypesValue(int index) Required.Required.getUri()Required.com.google.protobuf.ByteStringRequired.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
-
getUri
String getUri()Required. The URI to be checked for matches.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()Required. The URI to be checked for matches.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for uri.
-
getThreatTypesList
List<ThreatType> getThreatTypesList()Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the threatTypes.
-
getThreatTypesCount
int getThreatTypesCount()Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of threatTypes.
-
getThreatTypes
Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The threatTypes at the given index.
-
getThreatTypesValueList
Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the enum numeric values on the wire for threatTypes.
-
getThreatTypesValue
int getThreatTypesValue(int index) Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of threatTypes at the given index.
-