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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataProfileAction.TagResources.TagCondition.Builder newBuilder()
newBuilder(DataProfileAction.TagResources.TagCondition prototype)
public static DataProfileAction.TagResources.TagCondition.Builder newBuilder(DataProfileAction.TagResources.TagCondition prototype)
public static DataProfileAction.TagResources.TagCondition parseDelimitedFrom(InputStream input)
public static DataProfileAction.TagResources.TagCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataProfileAction.TagResources.TagCondition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources.TagCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataProfileAction.TagResources.TagCondition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources.TagCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources.TagCondition parseFrom(CodedInputStream input)
public static DataProfileAction.TagResources.TagCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources.TagCondition parseFrom(InputStream input)
public static DataProfileAction.TagResources.TagCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataProfileAction.TagResources.TagCondition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction.TagResources.TagCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataProfileAction.TagResources.TagCondition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataProfileAction.TagResources.TagCondition getDefaultInstanceForType()
getParserForType()
public Parser<DataProfileAction.TagResources.TagCondition> getParserForType()
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;
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;
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;
getTagOrBuilder()
public DataProfileAction.TagResources.TagValueOrBuilder getTagOrBuilder()
The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;
getTypeCase()
public DataProfileAction.TagResources.TagCondition.TypeCase getTypeCase()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataProfileAction.TagResources.TagCondition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfileAction.TagResources.TagCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataProfileAction.TagResources.TagCondition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides