Class DataProfileAction.TagResources.TagCondition (3.55.0)

public static final class DataProfileAction.TagResources.TagCondition extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfileAction.TagResources.TagCondition

Static Fields

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProfileAction.TagResources.TagCondition getDefaultInstance()
Returns
Type Description
DataProfileAction.TagResources.TagCondition

getDescriptor()

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

newBuilder()

public static DataProfileAction.TagResources.TagCondition.Builder newBuilder()
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

newBuilder(DataProfileAction.TagResources.TagCondition prototype)

public static DataProfileAction.TagResources.TagCondition.Builder newBuilder(DataProfileAction.TagResources.TagCondition prototype)
Parameter
Name Description
prototype DataProfileAction.TagResources.TagCondition
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileAction.TagResources.TagCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfileAction.TagResources.TagCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileAction.TagResources.TagCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileAction.TagResources.TagCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfileAction.TagResources.TagCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfileAction.TagResources.TagCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfileAction.TagResources.TagCondition> parser()
Returns
Type Description
Parser<TagCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<DataProfileAction.TagResources.TagCondition> getParserForType()
Returns
Type Description
Parser<TagCondition>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileAction.TagResources.TagCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfileAction.TagResources.TagCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException