Package com.google.webrisk.v1beta1
Interface SearchHashesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchHashesRequest
,SearchHashesRequest.Builder
public interface SearchHashesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getHashPrefix()
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash.ThreatType
getThreatTypes(int index)
Required.int
getThreatTypesCount()
Required.List<ThreatType>
getThreatTypesList()
Required.int
getThreatTypesValue(int index)
Required.List<Integer>
getThreatTypesValueList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHashPrefix
com.google.protobuf.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:
- The hashPrefix.
-
getThreatTypesList
List<ThreatType> getThreatTypesList()
Required. The ThreatLists to search in.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the threatTypes.
-
getThreatTypesCount
int getThreatTypesCount()
Required. The ThreatLists to search in.
repeated .google.cloud.webrisk.v1beta1.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.
repeated .google.cloud.webrisk.v1beta1.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.
repeated .google.cloud.webrisk.v1beta1.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.
repeated .google.cloud.webrisk.v1beta1.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.
-
-