Send feedback
  
   
 
  
    
      Class RecordCondition.Expressions.Builder (3.4.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 3.4.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  RecordCondition . Expressions . Builder   extends   GeneratedMessageV3 . Builder<RecordCondition . Expressions . Builder >  implements   RecordCondition . ExpressionsOrBuilder  
   
   An expression, consisting or an operator and conditions.
 Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions
 
  
  
  
  Static Methods
   
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
  Methods
   
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   RecordCondition . Expressions . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  build() 
  
    
public   RecordCondition . Expressions   build ()  
   
  Returns 
  
   
  buildPartial() 
  
    
public   RecordCondition . Expressions   buildPartial ()  
   
  Returns 
  
   
  clear() 
  
    
public   RecordCondition . Expressions . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  clearConditions() 
  
    
public   RecordCondition . Expressions . Builder   clearConditions ()  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Returns 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   RecordCondition . Expressions . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearLogicalOperator() 
  
    
public   RecordCondition . Expressions . Builder   clearLogicalOperator ()  
   
   The operator to apply to the result of conditions. Default and currently
 only supported value is AND.
 
 .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
 
 
  Returns 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   RecordCondition . Expressions . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearType() 
  
    
public   RecordCondition . Expressions . Builder   clearType ()  
   
  Returns 
  
   
  clone() 
  
    
public   RecordCondition . Expressions . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  getConditions() 
  
    
public   RecordCondition . Conditions   getConditions ()  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Returns 
  
   
  getConditionsBuilder() 
  
    
public   RecordCondition . Conditions . Builder   getConditionsBuilder ()  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Returns 
  
   
  getConditionsOrBuilder() 
  
    
public   RecordCondition . ConditionsOrBuilder   getConditionsOrBuilder ()  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Returns 
  
   
  getDefaultInstanceForType() 
  
    
public   RecordCondition . Expressions   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  getLogicalOperator() 
  
    
public   RecordCondition . Expressions . LogicalOperator   getLogicalOperator ()  
   
   The operator to apply to the result of conditions. Default and currently
 only supported value is AND.
 
 .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
 
 
  Returns 
  
   
  getLogicalOperatorValue() 
  
    
public   int   getLogicalOperatorValue ()  
   
   The operator to apply to the result of conditions. Default and currently
 only supported value is AND.
 
 .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for logicalOperator.
 
       
     
  
   
  getTypeCase() 
  
    
public   RecordCondition . Expressions . TypeCase   getTypeCase ()  
   
  Returns 
  
   
  hasConditions() 
  
    
public   boolean   hasConditions ()  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the conditions field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  mergeConditions(RecordCondition.Conditions value) 
  
    
public   RecordCondition . Expressions . Builder   mergeConditions ( RecordCondition . Conditions   value )  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Parameter 
  
  Returns 
  
   
  mergeFrom(RecordCondition.Expressions other) 
  
    
public   RecordCondition . Expressions . Builder   mergeFrom ( RecordCondition . Expressions   other )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   RecordCondition . Expressions . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  mergeFrom(Message other) 
  
    
public   RecordCondition . Expressions . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RecordCondition . Expressions . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  setConditions(RecordCondition.Conditions value) 
  
    
public   RecordCondition . Expressions . Builder   setConditions ( RecordCondition . Conditions   value )  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Parameter 
  
  Returns 
  
   
  setConditions(RecordCondition.Conditions.Builder builderForValue) 
  
    
public   RecordCondition . Expressions . Builder   setConditions ( RecordCondition . Conditions . Builder   builderForValue )  
   
   Conditions to apply to the expression.
 .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
 
  Parameter 
  
  Returns 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   RecordCondition . Expressions . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setLogicalOperator(RecordCondition.Expressions.LogicalOperator value) 
  
    
public   RecordCondition . Expressions . Builder   setLogicalOperator ( RecordCondition . Expressions . LogicalOperator   value )  
   
   The operator to apply to the result of conditions. Default and currently
 only supported value is AND.
 
 .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
 
 
  Parameter 
  
  Returns 
  
   
  setLogicalOperatorValue(int value) 
  
    
public   RecordCondition . Expressions . Builder   setLogicalOperatorValue ( int   value )  
   
   The operator to apply to the result of conditions. Default and currently
 only supported value is AND.
 
 .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
 
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        int The enum numeric value on the wire for logicalOperator to set.
 
       
     
  
  Returns 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   RecordCondition . Expressions . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RecordCondition . Expressions . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]