Interface XssOrBuilder

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

    public interface XssOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Xss.AttackVector getAttackVector()
      The attack vector of the payload triggering this XSS.
      int getAttackVectorValue()
      The attack vector of the payload triggering this XSS.
      String getErrorMessage()
      An error message generated by a javascript breakage.
      com.google.protobuf.ByteString getErrorMessageBytes()
      An error message generated by a javascript breakage.
      String getStackTraces​(int index)
      Stack traces leading to the point where the XSS occurred.
      com.google.protobuf.ByteString getStackTracesBytes​(int index)
      Stack traces leading to the point where the XSS occurred.
      int getStackTracesCount()
      Stack traces leading to the point where the XSS occurred.
      List<String> getStackTracesList()
      Stack traces leading to the point where the XSS occurred.
      String getStoredXssSeedingUrl()
      The reproduction url for the seeding POST request of a Stored XSS.
      com.google.protobuf.ByteString getStoredXssSeedingUrlBytes()
      The reproduction url for the seeding POST request of a Stored XSS.
      • 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 Detail

      • getStackTracesList

        List<String> getStackTracesList()
         Stack traces leading to the point where the XSS occurred.
         
        repeated string stack_traces = 1;
        Returns:
        A list containing the stackTraces.
      • getStackTracesCount

        int getStackTracesCount()
         Stack traces leading to the point where the XSS occurred.
         
        repeated string stack_traces = 1;
        Returns:
        The count of stackTraces.
      • getStackTraces

        String getStackTraces​(int index)
         Stack traces leading to the point where the XSS occurred.
         
        repeated string stack_traces = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The stackTraces at the given index.
      • getStackTracesBytes

        com.google.protobuf.ByteString getStackTracesBytes​(int index)
         Stack traces leading to the point where the XSS occurred.
         
        repeated string stack_traces = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the stackTraces at the given index.
      • getErrorMessage

        String getErrorMessage()
         An error message generated by a javascript breakage.
         
        string error_message = 2;
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        com.google.protobuf.ByteString getErrorMessageBytes()
         An error message generated by a javascript breakage.
         
        string error_message = 2;
        Returns:
        The bytes for errorMessage.
      • getAttackVectorValue

        int getAttackVectorValue()
         The attack vector of the payload triggering this XSS.
         
        .google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
        Returns:
        The enum numeric value on the wire for attackVector.
      • getAttackVector

        Xss.AttackVector getAttackVector()
         The attack vector of the payload triggering this XSS.
         
        .google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
        Returns:
        The attackVector.
      • getStoredXssSeedingUrl

        String getStoredXssSeedingUrl()
         The reproduction url for the seeding POST request of a Stored XSS.
         
        string stored_xss_seeding_url = 4;
        Returns:
        The storedXssSeedingUrl.
      • getStoredXssSeedingUrlBytes

        com.google.protobuf.ByteString getStoredXssSeedingUrlBytes()
         The reproduction url for the seeding POST request of a Stored XSS.
         
        string stored_xss_seeding_url = 4;
        Returns:
        The bytes for storedXssSeedingUrl.