Class Xss

  • All Implemented Interfaces:
    XssOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Xss
    extends com.google.protobuf.GeneratedMessageV3
    implements XssOrBuilder
     Information reported for an XSS.
     
    Protobuf type google.cloud.websecurityscanner.v1.Xss
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Xss.AttackVector
      Types of XSS attack vector.
      static class  Xss.Builder
      Information reported for an XSS.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      Xss.AttackVector getAttackVector()
      The attack vector of the payload triggering this XSS.
      int getAttackVectorValue()
      The attack vector of the payload triggering this XSS.
      static Xss getDefaultInstance()  
      Xss getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      String getErrorMessage()
      An error message generated by a javascript breakage.
      com.google.protobuf.ByteString getErrorMessageBytes()
      An error message generated by a javascript breakage.
      com.google.protobuf.Parser<Xss> getParserForType()  
      int getSerializedSize()  
      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.
      com.google.protobuf.ProtocolStringList 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.
      int hashCode()  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static Xss.Builder newBuilder()  
      static Xss.Builder newBuilder​(Xss prototype)  
      Xss.Builder newBuilderForType()  
      protected Xss.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Xss parseDelimitedFrom​(InputStream input)  
      static Xss parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Xss parseFrom​(byte[] data)  
      static Xss parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Xss parseFrom​(com.google.protobuf.ByteString data)  
      static Xss parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Xss parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Xss parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Xss parseFrom​(InputStream input)  
      static Xss parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Xss parseFrom​(ByteBuffer data)  
      static Xss parseFrom​(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Xss> parser()  
      Xss.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • STACK_TRACES_FIELD_NUMBER

        public static final int STACK_TRACES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ERROR_MESSAGE_FIELD_NUMBER

        public static final int ERROR_MESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ATTACK_VECTOR_FIELD_NUMBER

        public static final int ATTACK_VECTOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STORED_XSS_SEEDING_URL_FIELD_NUMBER

        public static final int STORED_XSS_SEEDING_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getStackTracesList

        public com.google.protobuf.ProtocolStringList getStackTracesList()
         Stack traces leading to the point where the XSS occurred.
         
        repeated string stack_traces = 1;
        Specified by:
        getStackTracesList in interface XssOrBuilder
        Returns:
        A list containing the stackTraces.
      • getStackTracesCount

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

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

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

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

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

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

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

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

        public com.google.protobuf.ByteString getStoredXssSeedingUrlBytes()
         The reproduction url for the seeding POST request of a Stored XSS.
         
        string stored_xss_seeding_url = 4;
        Specified by:
        getStoredXssSeedingUrlBytes in interface XssOrBuilder
        Returns:
        The bytes for storedXssSeedingUrl.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Xss parseFrom​(ByteBuffer data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Xss parseFrom​(ByteBuffer data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Xss parseFrom​(com.google.protobuf.ByteString data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Xss parseFrom​(com.google.protobuf.ByteString data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Xss parseFrom​(byte[] data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Xss parseFrom​(byte[] data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseDelimitedFrom

        public static Xss parseDelimitedFrom​(InputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • parseFrom

        public static Xss parseFrom​(com.google.protobuf.CodedInputStream input)
                             throws IOException
        Throws:
        IOException
      • parseFrom

        public static Xss parseFrom​(com.google.protobuf.CodedInputStream input,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Xss.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilder

        public static Xss.Builder newBuilder​(Xss prototype)
      • toBuilder

        public Xss.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Xss.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Xss getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Xss> parser()
      • getParserForType

        public com.google.protobuf.Parser<Xss> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Xss getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder