Class VulnerableHeaders (2.44.0)

public final class VulnerableHeaders extends GeneratedMessageV3 implements VulnerableHeadersOrBuilder

Information about vulnerable or missing HTTP Headers.

Protobuf type google.cloud.websecurityscanner.v1beta.VulnerableHeaders

Static Fields

HEADERS_FIELD_NUMBER

public static final int HEADERS_FIELD_NUMBER
Field Value
Type Description
int

MISSING_HEADERS_FIELD_NUMBER

public static final int MISSING_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerableHeaders getDefaultInstance()
Returns
Type Description
VulnerableHeaders

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerableHeaders.Builder newBuilder()
Returns
Type Description
VulnerableHeaders.Builder

newBuilder(VulnerableHeaders prototype)

public static VulnerableHeaders.Builder newBuilder(VulnerableHeaders prototype)
Parameter
Name Description
prototype VulnerableHeaders
Returns
Type Description
VulnerableHeaders.Builder

parseDelimitedFrom(InputStream input)

public static VulnerableHeaders parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerableHeaders parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerableHeaders parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerableHeaders parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerableHeaders parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerableHeaders parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerableHeaders> parser()
Returns
Type Description
Parser<VulnerableHeaders>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VulnerableHeaders getDefaultInstanceForType()
Returns
Type Description
VulnerableHeaders

getHeaders(int index)

public VulnerableHeaders.Header getHeaders(int index)

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header

getHeadersCount()

public int getHeadersCount()

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;

Returns
Type Description
int

getHeadersList()

public List<VulnerableHeaders.Header> getHeadersList()

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;

Returns
Type Description
List<Header>

getHeadersOrBuilder(int index)

public VulnerableHeaders.HeaderOrBuilder getHeadersOrBuilder(int index)

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.HeaderOrBuilder

getHeadersOrBuilderList()

public List<? extends VulnerableHeaders.HeaderOrBuilder> getHeadersOrBuilderList()

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;

Returns
Type Description
List<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.HeaderOrBuilder>

getMissingHeaders(int index)

public VulnerableHeaders.Header getMissingHeaders(int index)

List of missing headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header

getMissingHeadersCount()

public int getMissingHeadersCount()

List of missing headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;

Returns
Type Description
int

getMissingHeadersList()

public List<VulnerableHeaders.Header> getMissingHeadersList()

List of missing headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;

Returns
Type Description
List<Header>

getMissingHeadersOrBuilder(int index)

public VulnerableHeaders.HeaderOrBuilder getMissingHeadersOrBuilder(int index)

List of missing headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.HeaderOrBuilder

getMissingHeadersOrBuilderList()

public List<? extends VulnerableHeaders.HeaderOrBuilder> getMissingHeadersOrBuilderList()

List of missing headers.

repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;

Returns
Type Description
List<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.HeaderOrBuilder>

getParserForType()

public Parser<VulnerableHeaders> getParserForType()
Returns
Type Description
Parser<VulnerableHeaders>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerableHeaders.Builder newBuilderForType()
Returns
Type Description
VulnerableHeaders.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerableHeaders.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerableHeaders.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerableHeaders.Builder toBuilder()
Returns
Type Description
VulnerableHeaders.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException