public interface SearchHashesRequestOrBuilder extends MessageOrBuilderImplements
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.
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.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.
repeated .google.cloud.webrisk.v1beta1.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.
repeated .google.cloud.webrisk.v1beta1.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.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.
repeated .google.cloud.webrisk.v1beta1.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. |