Interface SearchHashesResponseOrBuilder (2.2.0)

public interface SearchHashesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNegativeExpireTime()

public abstract Timestamp getNegativeExpireTime()

For requested entities that did not match the threat list, how long to cache the response until.

.google.protobuf.Timestamp negative_expire_time = 2;

Returns
TypeDescription
Timestamp

The negativeExpireTime.

getNegativeExpireTimeOrBuilder()

public abstract TimestampOrBuilder getNegativeExpireTimeOrBuilder()

For requested entities that did not match the threat list, how long to cache the response until.

.google.protobuf.Timestamp negative_expire_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getThreats(int index)

public abstract SearchHashesResponse.ThreatHash getThreats(int index)

The full hashes that matched the requested prefixes. The hash will be populated in the key.

repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchHashesResponse.ThreatHash

getThreatsCount()

public abstract int getThreatsCount()

The full hashes that matched the requested prefixes. The hash will be populated in the key.

repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;

Returns
TypeDescription
int

getThreatsList()

public abstract List<SearchHashesResponse.ThreatHash> getThreatsList()

The full hashes that matched the requested prefixes. The hash will be populated in the key.

repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;

Returns
TypeDescription
List<ThreatHash>

getThreatsOrBuilder(int index)

public abstract SearchHashesResponse.ThreatHashOrBuilder getThreatsOrBuilder(int index)

The full hashes that matched the requested prefixes. The hash will be populated in the key.

repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchHashesResponse.ThreatHashOrBuilder

getThreatsOrBuilderList()

public abstract List<? extends SearchHashesResponse.ThreatHashOrBuilder> getThreatsOrBuilderList()

The full hashes that matched the requested prefixes. The hash will be populated in the key.

repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;

Returns
TypeDescription
List<? extends com.google.webrisk.v1beta1.SearchHashesResponse.ThreatHashOrBuilder>

hasNegativeExpireTime()

public abstract boolean hasNegativeExpireTime()

For requested entities that did not match the threat list, how long to cache the response until.

.google.protobuf.Timestamp negative_expire_time = 2;

Returns
TypeDescription
boolean

Whether the negativeExpireTime field is set.