Class VulnerableHeaders.Builder (2.45.0)

public static final class VulnerableHeaders.Builder extends GeneratedMessageV3.Builder<VulnerableHeaders.Builder> implements VulnerableHeadersOrBuilder

Information about vulnerable or missing HTTP Headers.

Protobuf type google.cloud.websecurityscanner.v1alpha.VulnerableHeaders

Static Methods

getDescriptor()

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

Methods

addAllHeaders(Iterable<? extends VulnerableHeaders.Header> values)

public VulnerableHeaders.Builder addAllHeaders(Iterable<? extends VulnerableHeaders.Header> values)

List of vulnerable headers.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders.Header>
Returns
Type Description
VulnerableHeaders.Builder

addAllMissingHeaders(Iterable<? extends VulnerableHeaders.Header> values)

public VulnerableHeaders.Builder addAllMissingHeaders(Iterable<? extends VulnerableHeaders.Header> values)

List of missing headers.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders.Header>
Returns
Type Description
VulnerableHeaders.Builder

addHeaders(VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addHeaders(VulnerableHeaders.Header value)

List of vulnerable headers.

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

Parameter
Name Description
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

addHeaders(VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder addHeaders(VulnerableHeaders.Header.Builder builderForValue)

List of vulnerable headers.

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

Parameter
Name Description
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

addHeaders(int index, VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addHeaders(int index, VulnerableHeaders.Header value)

List of vulnerable headers.

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

Parameters
Name Description
index int
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

addHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder addHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

List of vulnerable headers.

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

Parameters
Name Description
index int
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

addHeadersBuilder()

public VulnerableHeaders.Header.Builder addHeadersBuilder()

List of vulnerable headers.

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

Returns
Type Description
VulnerableHeaders.Header.Builder

addHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder addHeadersBuilder(int index)

List of vulnerable headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header.Builder

addMissingHeaders(VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addMissingHeaders(VulnerableHeaders.Header value)

List of missing headers.

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

Parameter
Name Description
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

addMissingHeaders(VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder addMissingHeaders(VulnerableHeaders.Header.Builder builderForValue)

List of missing headers.

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

Parameter
Name Description
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

addMissingHeaders(int index, VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addMissingHeaders(int index, VulnerableHeaders.Header value)

List of missing headers.

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

Parameters
Name Description
index int
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

addMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder addMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

List of missing headers.

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

Parameters
Name Description
index int
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

addMissingHeadersBuilder()

public VulnerableHeaders.Header.Builder addMissingHeadersBuilder()

List of missing headers.

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

Returns
Type Description
VulnerableHeaders.Header.Builder

addMissingHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder addMissingHeadersBuilder(int index)

List of missing headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerableHeaders.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerableHeaders.Builder
Overrides

build()

public VulnerableHeaders build()
Returns
Type Description
VulnerableHeaders

buildPartial()

public VulnerableHeaders buildPartial()
Returns
Type Description
VulnerableHeaders

clear()

public VulnerableHeaders.Builder clear()
Returns
Type Description
VulnerableHeaders.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VulnerableHeaders.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VulnerableHeaders.Builder
Overrides

clearHeaders()

public VulnerableHeaders.Builder clearHeaders()

List of vulnerable headers.

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

Returns
Type Description
VulnerableHeaders.Builder

clearMissingHeaders()

public VulnerableHeaders.Builder clearMissingHeaders()

List of missing headers.

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

Returns
Type Description
VulnerableHeaders.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerableHeaders.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VulnerableHeaders.Builder
Overrides

clone()

public VulnerableHeaders.Builder clone()
Returns
Type Description
VulnerableHeaders.Builder
Overrides

getDefaultInstanceForType()

public VulnerableHeaders getDefaultInstanceForType()
Returns
Type Description
VulnerableHeaders

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHeaders(int index)

public VulnerableHeaders.Header getHeaders(int index)

List of vulnerable headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header

getHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder getHeadersBuilder(int index)

List of vulnerable headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header.Builder

getHeadersBuilderList()

public List<VulnerableHeaders.Header.Builder> getHeadersBuilderList()

List of vulnerable headers.

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

Returns
Type Description
List<Builder>

getHeadersCount()

public int getHeadersCount()

List of vulnerable headers.

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

Returns
Type Description
int

getHeadersList()

public List<VulnerableHeaders.Header> getHeadersList()

List of vulnerable headers.

repeated .google.cloud.websecurityscanner.v1alpha.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.v1alpha.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.v1alpha.VulnerableHeaders.Header headers = 1;

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

getMissingHeaders(int index)

public VulnerableHeaders.Header getMissingHeaders(int index)

List of missing headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header

getMissingHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder getMissingHeadersBuilder(int index)

List of missing headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Header.Builder

getMissingHeadersBuilderList()

public List<VulnerableHeaders.Header.Builder> getMissingHeadersBuilderList()

List of missing headers.

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

Returns
Type Description
List<Builder>

getMissingHeadersCount()

public int getMissingHeadersCount()

List of missing headers.

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

Returns
Type Description
int

getMissingHeadersList()

public List<VulnerableHeaders.Header> getMissingHeadersList()

List of missing headers.

repeated .google.cloud.websecurityscanner.v1alpha.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.v1alpha.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.v1alpha.VulnerableHeaders.Header missing_headers = 2;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VulnerableHeaders other)

public VulnerableHeaders.Builder mergeFrom(VulnerableHeaders other)
Parameter
Name Description
other VulnerableHeaders
Returns
Type Description
VulnerableHeaders.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerableHeaders.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerableHeaders.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VulnerableHeaders.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VulnerableHeaders.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerableHeaders.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerableHeaders.Builder
Overrides

removeHeaders(int index)

public VulnerableHeaders.Builder removeHeaders(int index)

List of vulnerable headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Builder

removeMissingHeaders(int index)

public VulnerableHeaders.Builder removeMissingHeaders(int index)

List of missing headers.

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

Parameter
Name Description
index int
Returns
Type Description
VulnerableHeaders.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerableHeaders.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerableHeaders.Builder
Overrides

setHeaders(int index, VulnerableHeaders.Header value)

public VulnerableHeaders.Builder setHeaders(int index, VulnerableHeaders.Header value)

List of vulnerable headers.

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

Parameters
Name Description
index int
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

setHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder setHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

List of vulnerable headers.

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

Parameters
Name Description
index int
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

setMissingHeaders(int index, VulnerableHeaders.Header value)

public VulnerableHeaders.Builder setMissingHeaders(int index, VulnerableHeaders.Header value)

List of missing headers.

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

Parameters
Name Description
index int
value VulnerableHeaders.Header
Returns
Type Description
VulnerableHeaders.Builder

setMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

public VulnerableHeaders.Builder setMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)

List of missing headers.

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

Parameters
Name Description
index int
builderForValue VulnerableHeaders.Header.Builder
Returns
Type Description
VulnerableHeaders.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VulnerableHeaders.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VulnerableHeaders.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerableHeaders.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerableHeaders.Builder
Overrides