Interface SubmitUriRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SubmitUriRequest, SubmitUriRequest.Builder

@Generated public interface SubmitUriRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • hasSubmission

      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:
      Whether the submission field is set.
    • getSubmission

      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:
      The submission.
    • getSubmissionOrBuilder

      SubmissionOrBuilder getSubmissionOrBuilder()
       Required. The submission that contains the URI to be scanned.
       
      .google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasThreatInfo

      boolean hasThreatInfo()
       Provides additional information about the submission.
       
      .google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
      Returns:
      Whether the threatInfo field is set.
    • getThreatInfo

      ThreatInfo getThreatInfo()
       Provides additional information about the submission.
       
      .google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
      Returns:
      The threatInfo.
    • getThreatInfoOrBuilder

      ThreatInfoOrBuilder getThreatInfoOrBuilder()
       Provides additional information about the submission.
       
      .google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
    • hasThreatDiscovery

      boolean hasThreatDiscovery()
       Provides additional information about how the submission was discovered.
       
      .google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
      Returns:
      Whether the threatDiscovery field is set.
    • getThreatDiscovery

      ThreatDiscovery getThreatDiscovery()
       Provides additional information about how the submission was discovered.
       
      .google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
      Returns:
      The threatDiscovery.
    • getThreatDiscoveryOrBuilder

      ThreatDiscoveryOrBuilder getThreatDiscoveryOrBuilder()
       Provides additional information about how the submission was discovered.
       
      .google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;