public static final class SensitivityScore.Builder extends GeneratedMessageV3.Builder<SensitivityScore.Builder> implements SensitivityScoreOrBuilder
Score is calculated from of all elements in the data profile.
A higher level means the data is more sensitive.
Protobuf type google.privacy.dlp.v2.SensitivityScore
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 SensitivityScore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SensitivityScore build()
buildPartial()
public SensitivityScore buildPartial()
clear()
public SensitivityScore.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SensitivityScore.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SensitivityScore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearScore()
public SensitivityScore.Builder clearScore()
The sensitivity score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
clone()
public SensitivityScore.Builder clone()
Overrides
getDefaultInstanceForType()
public SensitivityScore getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getScore()
public SensitivityScore.SensitivityScoreLevel getScore()
The sensitivity score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
getScoreValue()
public int getScoreValue()
The sensitivity score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for score.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SensitivityScore other)
public SensitivityScore.Builder mergeFrom(SensitivityScore other)
public SensitivityScore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SensitivityScore.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SensitivityScore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SensitivityScore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SensitivityScore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setScore(SensitivityScore.SensitivityScoreLevel value)
public SensitivityScore.Builder setScore(SensitivityScore.SensitivityScoreLevel value)
The sensitivity score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
setScoreValue(int value)
public SensitivityScore.Builder setScoreValue(int value)
The sensitivity score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for score to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SensitivityScore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides