Interface SubmissionOrBuilder

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

@Generated public interface SubmissionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getThreatTypes(int index)
    Output only.
    int
    Output only.
    Output only.
    int
    Output only.
    Output only.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUri

      String getUri()
       Required. The URI that is being reported for malicious content to be
       analyzed.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       Required. The URI that is being reported for malicious content to be
       analyzed.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for uri.
    • getThreatTypesList

      List<ThreatType> getThreatTypesList()
       Output only. ThreatTypes found to be associated with the submitted URI
       after reviewing it. This might be empty if the URI was not added to any
       list.
       
      repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the threatTypes.
    • getThreatTypesCount

      int getThreatTypesCount()
       Output only. ThreatTypes found to be associated with the submitted URI
       after reviewing it. This might be empty if the URI was not added to any
       list.
       
      repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The count of threatTypes.
    • getThreatTypes

      ThreatType getThreatTypes(int index)
       Output only. ThreatTypes found to be associated with the submitted URI
       after reviewing it. This might be empty if the URI was not added to any
       list.
       
      repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the element to return.
      Returns:
      The threatTypes at the given index.
    • getThreatTypesValueList

      List<Integer> getThreatTypesValueList()
       Output only. ThreatTypes found to be associated with the submitted URI
       after reviewing it. This might be empty if the URI was not added to any
       list.
       
      repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the enum numeric values on the wire for threatTypes.
    • getThreatTypesValue

      int getThreatTypesValue(int index)
       Output only. ThreatTypes found to be associated with the submitted URI
       after reviewing it. This might be empty if the URI was not added to any
       list.
       
      repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of threatTypes at the given index.