Send feedback
  
   
 
  
    
      Class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression (0.47.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 0.47.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   extends   GeneratedMessageV3   implements   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . ExpressionOrBuilder  
   
   The expression denoting the filter that was extracted from the input
 query.
 Protobuf type 
 google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
 
  
  
  
    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
   
  AND_EXPR_FIELD_NUMBER 
  
    
public   static   final   int   AND_EXPR_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  GEOLOCATION_CONSTRAINT_FIELD_NUMBER 
  
    
public   static   final   int   GEOLOCATION_CONSTRAINT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  NUMBER_CONSTRAINT_FIELD_NUMBER 
  
    
public   static   final   int   NUMBER_CONSTRAINT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  OR_EXPR_FIELD_NUMBER 
  
    
public   static   final   int   OR_EXPR_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  STRING_CONSTRAINT_FIELD_NUMBER 
  
    
public   static   final   int   STRING_CONSTRAINT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . Builder   newBuilder ()  
   
  
   
  newBuilder(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression prototype) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . Builder   newBuilder ( SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   prototype )  
   
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression >  parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getAndExpr() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . AndExpression   getAndExpr ()  
   
   Logical "And" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;
 
 
  
   
  getAndExprOrBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . AndExpressionOrBuilder   getAndExprOrBuilder ()  
   
   Logical "And" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;
 
 
  
   
  getDefaultInstanceForType() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression   getDefaultInstanceForType ()  
   
  
   
  getExprCase() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . ExprCase   getExprCase ()  
   
  
   
  getGeolocationConstraint() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . GeolocationConstraint   getGeolocationConstraint ()  
   
   Geolocation constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;
 
 
  
   
  getGeolocationConstraintOrBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . GeolocationConstraintOrBuilder   getGeolocationConstraintOrBuilder ()  
   
   Geolocation constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;
 
 
  
   
  getNumberConstraint() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . NumberConstraint   getNumberConstraint ()  
   
   Numerical constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;
 
 
  
   
  getNumberConstraintOrBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . NumberConstraintOrBuilder   getNumberConstraintOrBuilder ()  
   
   Numerical constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;
 
 
  
   
  getOrExpr() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . OrExpression   getOrExpr ()  
   
   Logical "Or" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;
 
 
  
   
  getOrExprOrBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . OrExpressionOrBuilder   getOrExprOrBuilder ()  
   
   Logical "Or" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;
 
 
  
   
  getParserForType() 
  
    
public   Parser<SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression >  getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getStringConstraint() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . StringConstraint   getStringConstraint ()  
   
   String constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;
 
 
  
   
  getStringConstraintOrBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . StringConstraintOrBuilder   getStringConstraintOrBuilder ()  
   
   String constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;
 
 
  
   
  hasAndExpr() 
  
    
public   boolean   hasAndExpr ()  
   
   Logical "And" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the andExpr field is set.
 
       
     
  
   
  hasGeolocationConstraint() 
  
    
public   boolean   hasGeolocationConstraint ()  
   
   Geolocation constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the geolocationConstraint field is set.
 
       
     
  
   
  hasNumberConstraint() 
  
    
public   boolean   hasNumberConstraint ()  
   
   Numerical constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the numberConstraint field is set.
 
       
     
  
   
  hasOrExpr() 
  
    
public   boolean   hasOrExpr ()  
   
   Logical "Or" compound operator connecting multiple expressions.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the orExpr field is set.
 
       
     
  
   
  hasStringConstraint() 
  
    
public   boolean   hasStringConstraint ()  
   
   String constraint expression.
 
 .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the stringConstraint field is set.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   SearchResponse . NaturalLanguageQueryUnderstandingInfo . StructuredExtractedFilter . Expression . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  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."],[],[]]