Interface SearchUrisRequestOrBuilder (2.17.0)

public interface SearchUrisRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for threatTypes.

getUri()

public abstract String getUri()

Required. The URI to be checked for matches.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. The URI to be checked for matches.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for uri.