Package com.google.privacy.dlp.v2
Class InspectConfig.FindingLimits.InfoTypeLimit.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder
- All Implemented Interfaces:
InspectConfig.FindingLimits.InfoTypeLimitOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InspectConfig.FindingLimits.InfoTypeLimit
public static final class InspectConfig.FindingLimits.InfoTypeLimit.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
implements InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
Max findings configuration per infoType, per content item or long running DlpJob.Protobuf type
google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Type of information the findings limit applies to.Max findings limit for the given infoType.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorType of information the findings limit applies to.Type of information the findings limit applies to.Type of information the findings limit applies to.intMax findings limit for the given infoType.booleanType of information the findings limit applies to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInfoType(InfoType value) Type of information the findings limit applies to.setInfoType(InfoType value) Type of information the findings limit applies to.setInfoType(InfoType.Builder builderForValue) Type of information the findings limit applies to.setMaxFindings(int value) Max findings limit for the given infoType.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<InspectConfig.FindingLimits.InfoTypeLimit.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<InspectConfig.FindingLimits.InfoTypeLimit.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<InspectConfig.FindingLimits.InfoTypeLimit.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 InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
-
mergeFrom
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder>
-
mergeFrom
public InspectConfig.FindingLimits.InfoTypeLimit.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<InspectConfig.FindingLimits.InfoTypeLimit.Builder>- Throws:
IOException
-
hasInfoType
public boolean hasInfoType()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
hasInfoTypein interfaceInspectConfig.FindingLimits.InfoTypeLimitOrBuilder- Returns:
- Whether the infoType field is set.
-
getInfoType
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
getInfoTypein interfaceInspectConfig.FindingLimits.InfoTypeLimitOrBuilder- Returns:
- The infoType.
-
setInfoType
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
setInfoType
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setInfoType(InfoType.Builder builderForValue) Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
mergeInfoType
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
clearInfoType
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
getInfoTypeBuilder
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1; -
getInfoTypeOrBuilder
Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
getInfoTypeOrBuilderin interfaceInspectConfig.FindingLimits.InfoTypeLimitOrBuilder
-
getMaxFindings
public int getMaxFindings()Max findings limit for the given infoType.
int32 max_findings = 2;- Specified by:
getMaxFindingsin interfaceInspectConfig.FindingLimits.InfoTypeLimitOrBuilder- Returns:
- The maxFindings.
-
setMaxFindings
Max findings limit for the given infoType.
int32 max_findings = 2;- Parameters:
value- The maxFindings to set.- Returns:
- This builder for chaining.
-
clearMaxFindings
Max findings limit for the given infoType.
int32 max_findings = 2;- Returns:
- This builder for chaining.
-