public static final class AdaptiveProtection.Builder extends GeneratedMessageV3.Builder<AdaptiveProtection.Builder> implements AdaptiveProtectionOrBuilder
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdaptiveProtection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AdaptiveProtection build()
buildPartial()
public AdaptiveProtection buildPartial()
clear()
public AdaptiveProtection.Builder clear()
Overrides
clearConfidence()
public AdaptiveProtection.Builder clearConfidence()
A score of 0 means that there is low confidence that the detected event is
an actual attack. A score of 1 means that there is high confidence that the
detected event is an attack. See the Adaptive Protection
documentation
for further explanation.
double confidence = 1;
clearField(Descriptors.FieldDescriptor field)
public AdaptiveProtection.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AdaptiveProtection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AdaptiveProtection.Builder clone()
Overrides
getConfidence()
public double getConfidence()
A score of 0 means that there is low confidence that the detected event is
an actual attack. A score of 1 means that there is high confidence that the
detected event is an attack. See the Adaptive Protection
documentation
for further explanation.
double confidence = 1;
Returns |
Type |
Description |
double |
The confidence.
|
getDefaultInstanceForType()
public AdaptiveProtection getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdaptiveProtection other)
public AdaptiveProtection.Builder mergeFrom(AdaptiveProtection other)
public AdaptiveProtection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdaptiveProtection.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdaptiveProtection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConfidence(double value)
public AdaptiveProtection.Builder setConfidence(double value)
A score of 0 means that there is low confidence that the detected event is
an actual attack. A score of 1 means that there is high confidence that the
detected event is an attack. See the Adaptive Protection
documentation
for further explanation.
double confidence = 1;
Parameter |
Name |
Description |
value |
double
The confidence to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AdaptiveProtection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdaptiveProtection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AdaptiveProtection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides