public interface SearchHashesRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getHashPrefix()
public abstract ByteString getHashPrefix()
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).
bytes hash_prefix = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The hashPrefix. |
getThreatTypes(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
ThreatType |
The threatTypes at the given index. |
getThreatTypesCount()
public abstract 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 | |
---|---|
Type | Description |
int |
The count of threatTypes. |
getThreatTypesList()
public abstract 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 | |
---|---|
Type | Description |
List<ThreatType> |
A list containing the threatTypes. |
getThreatTypesValue(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of threatTypes at the given index. |
getThreatTypesValueList()
public abstract 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 | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for threatTypes. |