Interface SubmitUriRequestOrBuilder (2.38.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SubmissionOrBuilder

getThreatDiscovery()

public abstract ThreatDiscovery getThreatDiscovery()

Provides additional information about how the submission was discovered.

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

Returns
TypeDescription
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
TypeDescription
ThreatDiscoveryOrBuilder

getThreatInfo()

public abstract ThreatInfo getThreatInfo()

Provides additional information about the submission.

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

Returns
TypeDescription
ThreatInfo

The threatInfo.

getThreatInfoOrBuilder()

public abstract ThreatInfoOrBuilder getThreatInfoOrBuilder()

Provides additional information about the submission.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the threatInfo field is set.