Interface CreateSubmissionRequestOrBuilder (2.0.11)

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

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

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

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

Whether the submission field is set.