Interface SubmissionOrBuilder (2.52.0)

public interface SubmissionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getThreatTypes(int index)

public abstract ThreatType getThreatTypes(int index)

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ThreatType

The threatTypes at the given index.

getThreatTypesCount()

public abstract int getThreatTypesCount()

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of threatTypes.

getThreatTypesList()

public abstract List<ThreatType> getThreatTypesList()

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ThreatType>

A list containing the threatTypes.

getThreatTypesValue(int index)

public abstract int getThreatTypesValue(int index)

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of threatTypes at the given index.

getThreatTypesValueList()

public abstract List<Integer> getThreatTypesValueList()

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

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

getUri()

public abstract String getUri()

Required. The URI that is being reported for malicious content to be analyzed.

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

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. The URI that is being reported for malicious content to be analyzed.

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

Returns
Type Description
ByteString

The bytes for uri.