public static final class Xss.Builder extends GeneratedMessageV3.Builder<Xss.Builder> implements XssOrBuilder
Information reported for an XSS.Protobuf type
google.cloud.websecurityscanner.v1.Xss
Modifier and Type | Method and Description |
---|---|
Xss.Builder |
addAllStackTraces(Iterable<String> values)
Stack traces leading to the point where the XSS occurred.
|
Xss.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Xss.Builder |
addStackTraces(String value)
Stack traces leading to the point where the XSS occurred.
|
Xss.Builder |
addStackTracesBytes(ByteString value)
Stack traces leading to the point where the XSS occurred.
|
Xss |
build() |
Xss |
buildPartial() |
Xss.Builder |
clear() |
Xss.Builder |
clearAttackVector()
The attack vector of the payload triggering this XSS.
|
Xss.Builder |
clearErrorMessage()
An error message generated by a javascript breakage.
|
Xss.Builder |
clearField(Descriptors.FieldDescriptor field) |
Xss.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Xss.Builder |
clearStackTraces()
Stack traces leading to the point where the XSS occurred.
|
Xss.Builder |
clearStoredXssSeedingUrl()
The reproduction url for the seeding POST request of a Stored XSS.
|
Xss.Builder |
clone() |
Xss.AttackVector |
getAttackVector()
The attack vector of the payload triggering this XSS.
|
int |
getAttackVectorValue()
The attack vector of the payload triggering this XSS.
|
Xss |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getErrorMessage()
An error message generated by a javascript breakage.
|
ByteString |
getErrorMessageBytes()
An error message generated by a javascript breakage.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Xss.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Xss.Builder |
mergeFrom(Message other) |
Xss.Builder |
mergeFrom(Xss other) |
Xss.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Xss.Builder |
setAttackVector(Xss.AttackVector value)
The attack vector of the payload triggering this XSS.
|
Xss.Builder |
setAttackVectorValue(int value)
The attack vector of the payload triggering this XSS.
|
Xss.Builder |
setErrorMessage(String value)
An error message generated by a javascript breakage.
|
Xss.Builder |
setErrorMessageBytes(ByteString value)
An error message generated by a javascript breakage.
|
Xss.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Xss.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Xss.Builder |
setStackTraces(int index,
String value)
Stack traces leading to the point where the XSS occurred.
|
Xss.Builder |
setStoredXssSeedingUrl(String value)
The reproduction url for the seeding POST request of a Stored XSS.
|
Xss.Builder |
setStoredXssSeedingUrlBytes(ByteString value)
The reproduction url for the seeding POST request of a Stored XSS.
|
Xss.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Xss.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Xss build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Xss buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Xss.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Xss.Builder>
public Xss.Builder mergeFrom(Xss other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Xss.Builder>
public Xss.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Xss.Builder>
IOException
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 Xss.Builder setStackTraces(int index, String value)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
index
- The index to set the value at.value
- The stackTraces to set.public Xss.Builder addStackTraces(String value)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
value
- The stackTraces to add.public Xss.Builder addAllStackTraces(Iterable<String> values)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
values
- The stackTraces to add.public Xss.Builder clearStackTraces()
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
public Xss.Builder addStackTracesBytes(ByteString value)
Stack traces leading to the point where the XSS occurred.
repeated string stack_traces = 1;
value
- The bytes of the stackTraces to add.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 Xss.Builder setErrorMessage(String value)
An error message generated by a javascript breakage.
string error_message = 2;
value
- The errorMessage to set.public Xss.Builder clearErrorMessage()
An error message generated by a javascript breakage.
string error_message = 2;
public Xss.Builder setErrorMessageBytes(ByteString value)
An error message generated by a javascript breakage.
string error_message = 2;
value
- The bytes for errorMessage to set.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.Builder setAttackVectorValue(int value)
The attack vector of the payload triggering this XSS.
.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
value
- The enum numeric value on the wire for attackVector to set.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 Xss.Builder setAttackVector(Xss.AttackVector value)
The attack vector of the payload triggering this XSS.
.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
value
- The attackVector to set.public Xss.Builder clearAttackVector()
The attack vector of the payload triggering this XSS.
.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;
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 Xss.Builder setStoredXssSeedingUrl(String value)
The reproduction url for the seeding POST request of a Stored XSS.
string stored_xss_seeding_url = 4;
value
- The storedXssSeedingUrl to set.public Xss.Builder clearStoredXssSeedingUrl()
The reproduction url for the seeding POST request of a Stored XSS.
string stored_xss_seeding_url = 4;
public Xss.Builder setStoredXssSeedingUrlBytes(ByteString value)
The reproduction url for the seeding POST request of a Stored XSS.
string stored_xss_seeding_url = 4;
value
- The bytes for storedXssSeedingUrl to set.public final Xss.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Xss.Builder>
public final Xss.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Xss.Builder>
Copyright © 2022 Google LLC. All rights reserved.