Class VulnerableHeaders.Header.Builder (2.42.0)

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

Describes a HTTP Header.

Protobuf type google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerableHeaders.Header build()
Returns
Type Description
VulnerableHeaders.Header

buildPartial()

public VulnerableHeaders.Header buildPartial()
Returns
Type Description
VulnerableHeaders.Header

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public VulnerableHeaders.Header.Builder clearName()

Header name.

string name = 1;

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public VulnerableHeaders.Header.Builder clearValue()

Header value.

string value = 2;

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VulnerableHeaders.Header getDefaultInstanceForType()
Returns
Type Description
VulnerableHeaders.Header

getDescriptorForType()

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

getName()

public String getName()

Header name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Header name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getValue()

public String getValue()

Header value.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Header value.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VulnerableHeaders.Header other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public VulnerableHeaders.Header.Builder setName(String value)

Header name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VulnerableHeaders.Header.Builder setNameBytes(ByteString value)

Header name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public VulnerableHeaders.Header.Builder setValue(String value)

Header value.

string value = 2;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.

setValueBytes(ByteString value)

public VulnerableHeaders.Header.Builder setValueBytes(ByteString value)

Header value.

string value = 2;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
VulnerableHeaders.Header.Builder

This builder for chaining.