Class DataProfileAction.TagResources.TagCondition.Builder (3.52.0)

public static final class DataProfileAction.TagResources.TagCondition.Builder extends GeneratedMessageV3.Builder<DataProfileAction.TagResources.TagCondition.Builder> implements DataProfileAction.TagResources.TagConditionOrBuilder

The tag to attach to profiles matching the condition. At most one TagCondition can be specified per sensitivity level.

Protobuf type google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.TagResources.TagCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

build()

public DataProfileAction.TagResources.TagCondition build()
Returns
Type Description
DataProfileAction.TagResources.TagCondition

buildPartial()

public DataProfileAction.TagResources.TagCondition buildPartial()
Returns
Type Description
DataProfileAction.TagResources.TagCondition

clear()

public DataProfileAction.TagResources.TagCondition.Builder clear()
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataProfileAction.TagResources.TagCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileAction.TagResources.TagCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

clearSensitivityScore()

public DataProfileAction.TagResources.TagCondition.Builder clearSensitivityScore()

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

clearTag()

public DataProfileAction.TagResources.TagCondition.Builder clearTag()

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

clearType()

public DataProfileAction.TagResources.TagCondition.Builder clearType()
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

clone()

public DataProfileAction.TagResources.TagCondition.Builder clone()
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

getDefaultInstanceForType()

public DataProfileAction.TagResources.TagCondition getDefaultInstanceForType()
Returns
Type Description
DataProfileAction.TagResources.TagCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSensitivityScore()

public SensitivityScore getSensitivityScore()

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Returns
Type Description
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Returns
Type Description
SensitivityScoreOrBuilder

getTag()

public DataProfileAction.TagResources.TagValue getTag()

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Returns
Type Description
DataProfileAction.TagResources.TagValue

The tag.

getTagBuilder()

public DataProfileAction.TagResources.TagValue.Builder getTagBuilder()

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

getTagOrBuilder()

public DataProfileAction.TagResources.TagValueOrBuilder getTagOrBuilder()

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Returns
Type Description
DataProfileAction.TagResources.TagValueOrBuilder

getTypeCase()

public DataProfileAction.TagResources.TagCondition.TypeCase getTypeCase()
Returns
Type Description
DataProfileAction.TagResources.TagCondition.TypeCase

hasSensitivityScore()

public boolean hasSensitivityScore()

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Returns
Type Description
boolean

Whether the sensitivityScore field is set.

hasTag()

public boolean hasTag()

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Returns
Type Description
boolean

Whether the tag field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileAction.TagResources.TagCondition other)

public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(DataProfileAction.TagResources.TagCondition other)
Parameter
Name Description
other DataProfileAction.TagResources.TagCondition
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

mergeSensitivityScore(SensitivityScore value)

public DataProfileAction.TagResources.TagCondition.Builder mergeSensitivityScore(SensitivityScore value)

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Parameter
Name Description
value SensitivityScore
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

mergeTag(DataProfileAction.TagResources.TagValue value)

public DataProfileAction.TagResources.TagCondition.Builder mergeTag(DataProfileAction.TagResources.TagValue value)

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Parameter
Name Description
value DataProfileAction.TagResources.TagValue
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.TagResources.TagCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.TagResources.TagCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileAction.TagResources.TagCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

setSensitivityScore(SensitivityScore value)

public DataProfileAction.TagResources.TagCondition.Builder setSensitivityScore(SensitivityScore value)

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Parameter
Name Description
value SensitivityScore
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public DataProfileAction.TagResources.TagCondition.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

Conditions attaching the tag to a resource on its profile having this sensitivity score.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;

Parameter
Name Description
builderForValue SensitivityScore.Builder
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

setTag(DataProfileAction.TagResources.TagValue value)

public DataProfileAction.TagResources.TagCondition.Builder setTag(DataProfileAction.TagResources.TagValue value)

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Parameter
Name Description
value DataProfileAction.TagResources.TagValue
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

setTag(DataProfileAction.TagResources.TagValue.Builder builderForValue)

public DataProfileAction.TagResources.TagCondition.Builder setTag(DataProfileAction.TagResources.TagValue.Builder builderForValue)

The tag value to attach to resources.

.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;

Parameter
Name Description
builderForValue DataProfileAction.TagResources.TagValue.Builder
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.TagResources.TagCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides