Package com.google.privacy.dlp.v2
Class DataProfileAction.TagResources.TagCondition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
com.google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition.Builder
- All Implemented Interfaces:
DataProfileAction.TagResources.TagConditionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProfileAction.TagResources.TagCondition
public static final class DataProfileAction.TagResources.TagCondition.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Conditions attaching the tag to a resource on its profile having this sensitivity score.clearTag()The tag value to attach to resources.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorConditions attaching the tag to a resource on its profile having this sensitivity score.Conditions attaching the tag to a resource on its profile having this sensitivity score.Conditions attaching the tag to a resource on its profile having this sensitivity score.getTag()The tag value to attach to resources.The tag value to attach to resources.The tag value to attach to resources.booleanConditions attaching the tag to a resource on its profile having this sensitivity score.booleanhasTag()The tag value to attach to resources.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Conditions attaching the tag to a resource on its profile having this sensitivity score.The tag value to attach to resources.Conditions attaching the tag to a resource on its profile having this sensitivity score.setSensitivityScore(SensitivityScore.Builder builderForValue) Conditions attaching the tag to a resource on its profile having this sensitivity score.The tag value to attach to resources.setTag(DataProfileAction.TagResources.TagValue.Builder builderForValue) The tag value to attach to resources.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
-
mergeFrom
public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(DataProfileAction.TagResources.TagCondition other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>
-
mergeFrom
public DataProfileAction.TagResources.TagCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileAction.TagResources.TagCondition.Builder>- Throws:
IOException
-
getTypeCase
- Specified by:
getTypeCasein interfaceDataProfileAction.TagResources.TagConditionOrBuilder
-
clearType
-
hasTag
public boolean hasTag()The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;- Specified by:
hasTagin interfaceDataProfileAction.TagResources.TagConditionOrBuilder- Returns:
- Whether the tag field is set.
-
getTag
The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;- Specified by:
getTagin interfaceDataProfileAction.TagResources.TagConditionOrBuilder- Returns:
- The tag.
-
setTag
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; -
setTag
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; -
mergeTag
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; -
clearTag
The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1; -
getTagBuilder
The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1; -
getTagOrBuilder
The tag value to attach to resources.
.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue tag = 1;- Specified by:
getTagOrBuilderin interfaceDataProfileAction.TagResources.TagConditionOrBuilder
-
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;- Specified by:
hasSensitivityScorein interfaceDataProfileAction.TagResources.TagConditionOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
Conditions attaching the tag to a resource on its profile having this sensitivity score.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;- Specified by:
getSensitivityScorein interfaceDataProfileAction.TagResources.TagConditionOrBuilder- Returns:
- The sensitivityScore.
-
setSensitivityScore
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; -
setSensitivityScore
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; -
mergeSensitivityScore
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; -
clearSensitivityScore
Conditions attaching the tag to a resource on its profile having this sensitivity score.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2; -
getSensitivityScoreBuilder
Conditions attaching the tag to a resource on its profile having this sensitivity score.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2; -
getSensitivityScoreOrBuilder
Conditions attaching the tag to a resource on its profile having this sensitivity score.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 2;- Specified by:
getSensitivityScoreOrBuilderin interfaceDataProfileAction.TagResources.TagConditionOrBuilder
-