Class VulnerableHeaders (2.28.0)

public final class VulnerableHeaders extends GeneratedMessageV3 implements VulnerableHeadersOrBuilder

Information about vulnerable or missing HTTP Headers.

Protobuf type google.cloud.websecurityscanner.v1.VulnerableHeaders

Static Fields

HEADERS_FIELD_NUMBER

public static final int HEADERS_FIELD_NUMBER
Field Value
TypeDescription
int

MISSING_HEADERS_FIELD_NUMBER

public static final int MISSING_HEADERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerableHeaders getDefaultInstance()
Returns
TypeDescription
VulnerableHeaders

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerableHeaders.Builder newBuilder()
Returns
TypeDescription
VulnerableHeaders.Builder

newBuilder(VulnerableHeaders prototype)

public static VulnerableHeaders.Builder newBuilder(VulnerableHeaders prototype)
Parameter
NameDescription
prototypeVulnerableHeaders
Returns
TypeDescription
VulnerableHeaders.Builder

parseDelimitedFrom(InputStream input)

public static VulnerableHeaders parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerableHeaders parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerableHeaders parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerableHeaders parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerableHeaders parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerableHeaders parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerableHeaders parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VulnerableHeaders> parser()
Returns
TypeDescription
Parser<VulnerableHeaders>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VulnerableHeaders getDefaultInstanceForType()
Returns
TypeDescription
VulnerableHeaders

getHeaders(int index)

public VulnerableHeaders.Header getHeaders(int index)

List of vulnerable headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header

getHeadersCount()

public int getHeadersCount()

List of vulnerable headers.

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

Returns
TypeDescription
int

getHeadersList()

public List<VulnerableHeaders.Header> getHeadersList()

List of vulnerable headers.

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

Returns
TypeDescription
List<Header>

getHeadersOrBuilder(int index)

public VulnerableHeaders.HeaderOrBuilder getHeadersOrBuilder(int index)

List of vulnerable headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.HeaderOrBuilder

getHeadersOrBuilderList()

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

List of vulnerable headers.

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

Returns
TypeDescription
List<? extends com.google.cloud.websecurityscanner.v1.VulnerableHeaders.HeaderOrBuilder>

getMissingHeaders(int index)

public VulnerableHeaders.Header getMissingHeaders(int index)

List of missing headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header

getMissingHeadersCount()

public int getMissingHeadersCount()

List of missing headers.

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

Returns
TypeDescription
int

getMissingHeadersList()

public List<VulnerableHeaders.Header> getMissingHeadersList()

List of missing headers.

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

Returns
TypeDescription
List<Header>

getMissingHeadersOrBuilder(int index)

public VulnerableHeaders.HeaderOrBuilder getMissingHeadersOrBuilder(int index)

List of missing headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.HeaderOrBuilder

getMissingHeadersOrBuilderList()

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

List of missing headers.

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

Returns
TypeDescription
List<? extends com.google.cloud.websecurityscanner.v1.VulnerableHeaders.HeaderOrBuilder>

getParserForType()

public Parser<VulnerableHeaders> getParserForType()
Returns
TypeDescription
Parser<VulnerableHeaders>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerableHeaders.Builder newBuilderForType()
Returns
TypeDescription
VulnerableHeaders.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerableHeaders.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerableHeaders.Builder toBuilder()
Returns
TypeDescription
VulnerableHeaders.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException