Interface SearchHashesResponseOrBuilder (2.52.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
Type Description
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
Type Description
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.v1.SearchHashesResponse.ThreatHash threats = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.SearchHashesResponse.ThreatHash threats = 1;

Returns
Type Description
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.v1.SearchHashesResponse.ThreatHash threats = 1;

Returns
Type Description
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.v1.SearchHashesResponse.ThreatHash threats = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.SearchHashesResponse.ThreatHash threats = 1;

Returns
Type Description
List<? extends com.google.webrisk.v1.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
Type Description
boolean

Whether the negativeExpireTime field is set.