Interface CreateSubmissionRequestOrBuilder (2.46.0)

public interface CreateSubmissionRequestOrBuilder 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 content of the phishing report.

.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 content of the phishing report.

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

Returns
Type Description
SubmissionOrBuilder

hasSubmission()

public abstract boolean hasSubmission()

Required. The submission that contains the content of the phishing report.

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

Returns
Type Description
boolean

Whether the submission field is set.