Package com.google.webrisk.v1
Interface SearchUrisRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchUrisRequest
,SearchUrisRequest.Builder
public interface SearchUrisRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreatType
getThreatTypes(int index)
Required.int
getThreatTypesCount()
Required.List<ThreatType>
getThreatTypesList()
Required.int
getThreatTypesValue(int index)
Required.List<Integer>
getThreatTypesValueList()
Required.String
getUri()
Required.com.google.protobuf.ByteString
getUriBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
ThreatType getThreatTypes(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 element to return.- Returns:
- The threatTypes at the given index.
-
getThreatTypesValueList
List<Integer> 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.
-
-