Class CloudDlpDataProfile.Builder (2.86.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  CloudDlpDataProfile . Builder   extends   GeneratedMessageV3 . Builder<CloudDlpDataProfile . Builder >  implements   CloudDlpDataProfileOrBuilder  
   The data profile 
 associated with the finding.
 Protobuf type google.cloud.securitycenter.v1.CloudDlpDataProfile
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   CloudDlpDataProfile . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   CloudDlpDataProfile   build ()  
  
  buildPartial() 
  
    
public   CloudDlpDataProfile   buildPartial ()  
  
  clear() 
  
    
public   CloudDlpDataProfile . Builder   clear ()  
  
  Overrides 
  
  clearDataProfile() 
  
    
public   CloudDlpDataProfile . Builder   clearDataProfile ()  
   Name of the data profile, for example,
 projects/123/locations/europe/tableProfiles/8383929.
 string data_profile = 1 [(.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field) 
  
    
public   CloudDlpDataProfile . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   CloudDlpDataProfile . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearParentType() 
  
    
public   CloudDlpDataProfile . Builder   clearParentType ()  
   The resource hierarchy level at which the data profile was generated.
 .google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
clone() 
  
    
public   CloudDlpDataProfile . Builder   clone ()  
  
  Overrides 
  
  getDataProfile() 
  
    
public   String   getDataProfile ()  
   Name of the data profile, for example,
 projects/123/locations/europe/tableProfiles/8383929.
 string data_profile = 1 [(.google.api.resource_reference) = { ... }
    
      
        Returns  
      
        Type Description  
      
        String The dataProfile.
 
     
  
  getDataProfileBytes() 
  
    
public   ByteString   getDataProfileBytes ()  
   Name of the data profile, for example,
 projects/123/locations/europe/tableProfiles/8383929.
 string data_profile = 1 [(.google.api.resource_reference) = { ... }
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for dataProfile.
 
     
  
  getDefaultInstanceForType() 
  
    
public   CloudDlpDataProfile   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getParentType() 
  
    
public   CloudDlpDataProfile . ParentType   getParentType ()  
   The resource hierarchy level at which the data profile was generated.
 .google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
getParentTypeValue() 
  
    
public   int   getParentTypeValue ()  
   The resource hierarchy level at which the data profile was generated.
 .google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for parentType.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(CloudDlpDataProfile other) 
  
    
public   CloudDlpDataProfile . Builder   mergeFrom ( CloudDlpDataProfile   other )  
  
  
  
    
public   CloudDlpDataProfile . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   CloudDlpDataProfile . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CloudDlpDataProfile . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setDataProfile(String value) 
  
    
public   CloudDlpDataProfile . Builder   setDataProfile ( String   value )  
   Name of the data profile, for example,
 projects/123/locations/europe/tableProfiles/8383929.
 string data_profile = 1 [(.google.api.resource_reference) = { ... }
    
      
        Parameter  
      
        Name Description  
      
        valueString The dataProfile to set.
 
     
  
  
  setDataProfileBytes(ByteString value) 
  
    
public   CloudDlpDataProfile . Builder   setDataProfileBytes ( ByteString   value )  
   Name of the data profile, for example,
 projects/123/locations/europe/tableProfiles/8383929.
 string data_profile = 1 [(.google.api.resource_reference) = { ... }
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for dataProfile to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   CloudDlpDataProfile . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setParentType(CloudDlpDataProfile.ParentType value) 
  
    
public   CloudDlpDataProfile . Builder   setParentType ( CloudDlpDataProfile . ParentType   value )  
   The resource hierarchy level at which the data profile was generated.
 .google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
setParentTypeValue(int value) 
  
    
public   CloudDlpDataProfile . Builder   setParentTypeValue ( int   value )  
   The resource hierarchy level at which the data profile was generated.
 .google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueint The enum numeric value on the wire for parentType to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   CloudDlpDataProfile . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CloudDlpDataProfile . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]