Interface SubmitUriRequestOrBuilder (2.52.0)

public interface SubmitUriRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSubmission()

public abstract Submission getSubmission()

Required. The submission that contains the URI to be scanned.

.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Submission

The submission.

getSubmissionOrBuilder()

public abstract SubmissionOrBuilder getSubmissionOrBuilder()

Required. The submission that contains the URI to be scanned.

.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubmissionOrBuilder

getThreatDiscovery()

public abstract ThreatDiscovery getThreatDiscovery()

Provides additional information about how the submission was discovered.

.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;

Returns
Type Description
ThreatDiscovery

The threatDiscovery.

getThreatDiscoveryOrBuilder()

public abstract ThreatDiscoveryOrBuilder getThreatDiscoveryOrBuilder()

Provides additional information about how the submission was discovered.

.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;

Returns
Type Description
ThreatDiscoveryOrBuilder

getThreatInfo()

public abstract ThreatInfo getThreatInfo()

Provides additional information about the submission.

.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;

Returns
Type Description
ThreatInfo

The threatInfo.

getThreatInfoOrBuilder()

public abstract ThreatInfoOrBuilder getThreatInfoOrBuilder()

Provides additional information about the submission.

.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;

Returns
Type Description
ThreatInfoOrBuilder

hasSubmission()

public abstract boolean hasSubmission()

Required. The submission that contains the URI to be scanned.

.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the submission field is set.

hasThreatDiscovery()

public abstract boolean hasThreatDiscovery()

Provides additional information about how the submission was discovered.

.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;

Returns
Type Description
boolean

Whether the threatDiscovery field is set.

hasThreatInfo()

public abstract boolean hasThreatInfo()

Provides additional information about the submission.

.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;

Returns
Type Description
boolean

Whether the threatInfo field is set.