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.v1beta.VulnerableHeaders
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.Builder addAllHeaders(Iterable<? extends VulnerableHeaders.Header> values)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header>
|
Returns
public VulnerableHeaders.Builder addAllMissingHeaders(Iterable<? extends VulnerableHeaders.Header> values)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header>
|
Returns
public VulnerableHeaders.Builder addHeaders(VulnerableHeaders.Header value)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public VulnerableHeaders.Builder addHeaders(VulnerableHeaders.Header.Builder builderForValue)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public VulnerableHeaders.Builder addHeaders(int index, VulnerableHeaders.Header value)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameters
Returns
public VulnerableHeaders.Builder addHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameters
Returns
public VulnerableHeaders.Header.Builder addHeadersBuilder()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
public VulnerableHeaders.Header.Builder addHeadersBuilder(int index)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public VulnerableHeaders.Builder addMissingHeaders(VulnerableHeaders.Header value)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public VulnerableHeaders.Builder addMissingHeaders(VulnerableHeaders.Header.Builder builderForValue)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public VulnerableHeaders.Builder addMissingHeaders(int index, VulnerableHeaders.Header value)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameters
Returns
public VulnerableHeaders.Builder addMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameters
Returns
public VulnerableHeaders.Header.Builder addMissingHeadersBuilder()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
public VulnerableHeaders.Header.Builder addMissingHeadersBuilder(int index)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public VulnerableHeaders.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VulnerableHeaders build()
Returns
public VulnerableHeaders buildPartial()
Returns
public VulnerableHeaders.Builder clear()
Returns
Overrides
public VulnerableHeaders.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public VulnerableHeaders.Builder clearHeaders()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
public VulnerableHeaders.Builder clearMissingHeaders()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
public VulnerableHeaders.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public VulnerableHeaders.Builder clone()
Returns
Overrides
public VulnerableHeaders getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public VulnerableHeaders.Header getHeaders(int index)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public VulnerableHeaders.Header.Builder getHeadersBuilder(int index)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public List<VulnerableHeaders.Header.Builder> getHeadersBuilderList()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
public int getHeadersCount()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
public List<VulnerableHeaders.Header> getHeadersList()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
public VulnerableHeaders.HeaderOrBuilder getHeadersOrBuilder(int index)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public List<? extends VulnerableHeaders.HeaderOrBuilder> getHeadersOrBuilderList()
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Returns
Type | Description |
List<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.HeaderOrBuilder> | |
public VulnerableHeaders.Header getMissingHeaders(int index)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public VulnerableHeaders.Header.Builder getMissingHeadersBuilder(int index)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public List<VulnerableHeaders.Header.Builder> getMissingHeadersBuilderList()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
public int getMissingHeadersCount()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
public List<VulnerableHeaders.Header> getMissingHeadersList()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
public VulnerableHeaders.HeaderOrBuilder getMissingHeadersOrBuilder(int index)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public List<? extends VulnerableHeaders.HeaderOrBuilder> getMissingHeadersOrBuilderList()
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Returns
Type | Description |
List<? extends com.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.HeaderOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VulnerableHeaders.Builder mergeFrom(VulnerableHeaders other)
Parameter
Returns
public VulnerableHeaders.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public VulnerableHeaders.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final VulnerableHeaders.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public VulnerableHeaders.Builder removeHeaders(int index)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameter
Returns
public VulnerableHeaders.Builder removeMissingHeaders(int index)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameter
Returns
public VulnerableHeaders.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VulnerableHeaders.Builder setHeaders(int index, VulnerableHeaders.Header value)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameters
Returns
public VulnerableHeaders.Builder setHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)
List of vulnerable headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header headers = 1;
Parameters
Returns
public VulnerableHeaders.Builder setMissingHeaders(int index, VulnerableHeaders.Header value)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameters
Returns
public VulnerableHeaders.Builder setMissingHeaders(int index, VulnerableHeaders.Header.Builder builderForValue)
List of missing headers.
repeated .google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header missing_headers = 2;
Parameters
Returns
public VulnerableHeaders.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final VulnerableHeaders.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides