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.v1.VulnerableHeaders.Header
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public VulnerableHeaders.Header.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VulnerableHeaders.Header build()
Returns
public VulnerableHeaders.Header buildPartial()
Returns
public VulnerableHeaders.Header.Builder clear()
Returns
Overrides
public VulnerableHeaders.Header.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public VulnerableHeaders.Header.Builder clearName()
Header name.
string name = 1;
Returns
public VulnerableHeaders.Header.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public VulnerableHeaders.Header.Builder clearValue()
Header value.
string value = 2;
Returns
public VulnerableHeaders.Header.Builder clone()
Returns
Overrides
public VulnerableHeaders.Header getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Header name.
string name = 1;
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Header name.
string name = 1;
Returns
Header value.
string value = 2;
Returns
Type | Description |
String | The value.
|
public ByteString getValueBytes()
Header value.
string value = 2;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VulnerableHeaders.Header.Builder mergeFrom(VulnerableHeaders.Header other)
Parameter
Returns
public VulnerableHeaders.Header.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public VulnerableHeaders.Header.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final VulnerableHeaders.Header.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public VulnerableHeaders.Header.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VulnerableHeaders.Header.Builder setName(String value)
Header name.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public VulnerableHeaders.Header.Builder setNameBytes(ByteString value)
Header name.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public VulnerableHeaders.Header.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final VulnerableHeaders.Header.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public VulnerableHeaders.Header.Builder setValue(String value)
Header value.
string value = 2;
Parameter
Name | Description |
value | String
The value to set.
|
Returns
public VulnerableHeaders.Header.Builder setValueBytes(ByteString value)
Header value.
string value = 2;
Parameter
Name | Description |
value | ByteString
The bytes for value to set.
|
Returns