Interface SearchHashesRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchHashesRequest, SearchHashesRequest.Builder

@Generated public interface SearchHashesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash.
    getThreatTypes(int index)
    Required.
    int
    Required.
    Required.
    int
    Required.
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
       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:
      The hashPrefix.
    • 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.