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