Class VulnerableHeaders.Builder (2.16.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.v1.VulnerableHeaders

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.VulnerableHeaders.Header headers = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1.VulnerableHeaders.Header>
Returns
TypeDescription
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.v1.VulnerableHeaders.Header missing_headers = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1.VulnerableHeaders.Header>
Returns
TypeDescription
VulnerableHeaders.Builder

addHeaders(VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addHeaders(VulnerableHeaders.Header value)

List of vulnerable headers.

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

Parameter
NameDescription
valueVulnerableHeaders.Header
Returns
TypeDescription
VulnerableHeaders.Builder

addHeaders(VulnerableHeaders.Header.Builder builderForValue)

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

List of vulnerable headers.

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

Parameter
NameDescription
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
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.v1.VulnerableHeaders.Header headers = 1;

Parameters
NameDescription
indexint
valueVulnerableHeaders.Header
Returns
TypeDescription
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.v1.VulnerableHeaders.Header headers = 1;

Parameters
NameDescription
indexint
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
VulnerableHeaders.Builder

addHeadersBuilder()

public VulnerableHeaders.Header.Builder addHeadersBuilder()

List of vulnerable headers.

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

Returns
TypeDescription
VulnerableHeaders.Header.Builder

addHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder addHeadersBuilder(int index)

List of vulnerable headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header.Builder

addMissingHeaders(VulnerableHeaders.Header value)

public VulnerableHeaders.Builder addMissingHeaders(VulnerableHeaders.Header value)

List of missing headers.

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

Parameter
NameDescription
valueVulnerableHeaders.Header
Returns
TypeDescription
VulnerableHeaders.Builder

addMissingHeaders(VulnerableHeaders.Header.Builder builderForValue)

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

List of missing headers.

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

Parameter
NameDescription
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
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.v1.VulnerableHeaders.Header missing_headers = 2;

Parameters
NameDescription
indexint
valueVulnerableHeaders.Header
Returns
TypeDescription
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.v1.VulnerableHeaders.Header missing_headers = 2;

Parameters
NameDescription
indexint
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
VulnerableHeaders.Builder

addMissingHeadersBuilder()

public VulnerableHeaders.Header.Builder addMissingHeadersBuilder()

List of missing headers.

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

Returns
TypeDescription
VulnerableHeaders.Header.Builder

addMissingHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder addMissingHeadersBuilder(int index)

List of missing headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerableHeaders.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

build()

public VulnerableHeaders build()
Returns
TypeDescription
VulnerableHeaders

buildPartial()

public VulnerableHeaders buildPartial()
Returns
TypeDescription
VulnerableHeaders

clear()

public VulnerableHeaders.Builder clear()
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VulnerableHeaders.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

clearHeaders()

public VulnerableHeaders.Builder clearHeaders()

List of vulnerable headers.

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

Returns
TypeDescription
VulnerableHeaders.Builder

clearMissingHeaders()

public VulnerableHeaders.Builder clearMissingHeaders()

List of missing headers.

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

Returns
TypeDescription
VulnerableHeaders.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerableHeaders.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

clone()

public VulnerableHeaders.Builder clone()
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

getDefaultInstanceForType()

public VulnerableHeaders getDefaultInstanceForType()
Returns
TypeDescription
VulnerableHeaders

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder getHeadersBuilder(int index)

List of vulnerable headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header.Builder

getHeadersBuilderList()

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

List of vulnerable headers.

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

Returns
TypeDescription
List<Builder>

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

getMissingHeadersBuilder(int index)

public VulnerableHeaders.Header.Builder getMissingHeadersBuilder(int index)

List of missing headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Header.Builder

getMissingHeadersBuilderList()

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

List of missing headers.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VulnerableHeaders other)

public VulnerableHeaders.Builder mergeFrom(VulnerableHeaders other)
Parameter
NameDescription
otherVulnerableHeaders
Returns
TypeDescription
VulnerableHeaders.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerableHeaders.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VulnerableHeaders.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerableHeaders.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

removeHeaders(int index)

public VulnerableHeaders.Builder removeHeaders(int index)

List of vulnerable headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Builder

removeMissingHeaders(int index)

public VulnerableHeaders.Builder removeMissingHeaders(int index)

List of missing headers.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerableHeaders.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerableHeaders.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.VulnerableHeaders.Header headers = 1;

Parameters
NameDescription
indexint
valueVulnerableHeaders.Header
Returns
TypeDescription
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.v1.VulnerableHeaders.Header headers = 1;

Parameters
NameDescription
indexint
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
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.v1.VulnerableHeaders.Header missing_headers = 2;

Parameters
NameDescription
indexint
valueVulnerableHeaders.Header
Returns
TypeDescription
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.v1.VulnerableHeaders.Header missing_headers = 2;

Parameters
NameDescription
indexint
builderForValueVulnerableHeaders.Header.Builder
Returns
TypeDescription
VulnerableHeaders.Builder

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

public VulnerableHeaders.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerableHeaders.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerableHeaders.Builder
Overrides