public final class Xss extends GeneratedMessageV3 implements XssOrBuilder
Information reported for an XSS.Protobuf type
google.cloud.websecurityscanner.v1.Xss
Modifier and Type | Class and Description |
---|---|
static class |
Xss.AttackVector
Types of XSS attack vector.
|
static class |
Xss.Builder
Information reported for an XSS.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ATTACK_VECTOR_FIELD_NUMBER |
static int |
ERROR_MESSAGE_FIELD_NUMBER |
static int |
STACK_TRACES_FIELD_NUMBER |
static int |
STORED_XSS_SEEDING_URL_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and 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 Descriptors.Descriptor |
getDescriptor() |
String |
getErrorMessage()
An error message generated by a javascript breakage.
|
ByteString |
getErrorMessageBytes()
An error message generated by a javascript breakage.
|
Parser<Xss> |
getParserForType() |
int |
getSerializedSize() |
String |
getStackTraces(int index)
Stack traces leading to the point where the XSS occurred.
|
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.
|
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.
|
ByteString |
getStoredXssSeedingUrlBytes()
The reproduction url for the seeding POST request of a Stored XSS.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Xss.Builder |
newBuilder() |
static Xss.Builder |
newBuilder(Xss prototype) |
Xss.Builder |
newBuilderForType() |
protected Xss.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Xss |
parseDelimitedFrom(InputStream input) |
static Xss |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Xss |
parseFrom(byte[] data) |
static Xss |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Xss |
parseFrom(ByteBuffer data) |
static Xss |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Xss |
parseFrom(ByteString data) |
static Xss |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Xss |
parseFrom(CodedInputStream input) |
static Xss |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Xss |
parseFrom(InputStream input) |
static Xss |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Xss> |
parser() |
Xss.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int STACK_TRACES_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER
public static final int STORED_XSS_SEEDING_URL_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ProtocolStringList getStackTracesList()
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
getStackTracesList
in interface XssOrBuilder
public int getStackTracesCount()
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
getStackTracesCount
in interface XssOrBuilder
public String getStackTraces(int index)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
getStackTraces
in interface XssOrBuilder
index
- The index of the element to return.public ByteString getStackTracesBytes(int index)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
getStackTracesBytes
in interface XssOrBuilder
index
- The index of the value to return.public String getErrorMessage()
An error message generated by a javascript breakage.
string error_message = 2;
getErrorMessage
in interface XssOrBuilder
public ByteString getErrorMessageBytes()
An error message generated by a javascript breakage.
string error_message = 2;
getErrorMessageBytes
in interface XssOrBuilder
public int getAttackVectorValue()
The attack vector of the payload triggering this XSS.
.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
getAttackVectorValue
in interface XssOrBuilder
public Xss.AttackVector getAttackVector()
The attack vector of the payload triggering this XSS.
.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
getAttackVector
in interface XssOrBuilder
public String getStoredXssSeedingUrl()
The reproduction url for the seeding POST request of a Stored XSS.
string stored_xss_seeding_url = 4;
getStoredXssSeedingUrl
in interface XssOrBuilder
public ByteString getStoredXssSeedingUrlBytes()
The reproduction url for the seeding POST request of a Stored XSS.
string stored_xss_seeding_url = 4;
getStoredXssSeedingUrlBytes
in interface XssOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Xss parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Xss parseFrom(InputStream input) throws IOException
IOException
public static Xss parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Xss parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Xss parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Xss parseFrom(CodedInputStream input) throws IOException
IOException
public static Xss parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Xss.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Xss.Builder newBuilder()
public static Xss.Builder newBuilder(Xss prototype)
public Xss.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Xss.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Xss getDefaultInstance()
public Parser<Xss> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Xss getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.