public static final class SensitivityScore.Builder extends GeneratedMessageV3.Builder<SensitivityScore.Builder> implements SensitivityScoreOrBuilder
Score is a summary of all elements in the data profile.
A higher number means more sensitive.
Protobuf type google.privacy.dlp.v2.SensitivityScore
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SensitivityScore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SensitivityScore build()
Returns
buildPartial()
public SensitivityScore buildPartial()
Returns
clear()
public SensitivityScore.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SensitivityScore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SensitivityScore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScore()
public SensitivityScore.Builder clearScore()
The score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
Returns
clone()
public SensitivityScore.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SensitivityScore getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getScore()
public SensitivityScore.SensitivityScoreLevel getScore()
The score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
Returns
getScoreValue()
public int getScoreValue()
The 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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SensitivityScore other)
public SensitivityScore.Builder mergeFrom(SensitivityScore other)
Parameter
Returns
public SensitivityScore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SensitivityScore.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SensitivityScore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SensitivityScore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SensitivityScore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScore(SensitivityScore.SensitivityScoreLevel value)
public SensitivityScore.Builder setScore(SensitivityScore.SensitivityScoreLevel value)
The score applied to the resource.
.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;
Parameter
Returns
setScoreValue(int value)
public SensitivityScore.Builder setScoreValue(int value)
The 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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SensitivityScore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides