Send feedback
  
   
 
  
    
      Class SavedQuery.QueryContent.Builder (3.82.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SavedQuery . QueryContent . Builder   extends   GeneratedMessageV3 . Builder<SavedQuery . QueryContent . Builder >  implements   SavedQuery . QueryContentOrBuilder  
   The query content.
 Protobuf type google.cloud.asset.v1.SavedQuery.QueryContent
    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   SavedQuery . QueryContent . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   SavedQuery . QueryContent   build ()  
  
  buildPartial() 
  
    
public   SavedQuery . QueryContent   buildPartial ()  
  
  clear() 
  
    
public   SavedQuery . QueryContent . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   SavedQuery . QueryContent . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearIamPolicyAnalysisQuery() 
  
    
public   SavedQuery . QueryContent . Builder   clearIamPolicyAnalysisQuery ()  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   SavedQuery . QueryContent . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearQueryContent() 
  
    
public   SavedQuery . QueryContent . Builder   clearQueryContent ()  
  
  clone() 
  
    
public   SavedQuery . QueryContent . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   SavedQuery . QueryContent   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getIamPolicyAnalysisQuery() 
  
    
public   IamPolicyAnalysisQuery   getIamPolicyAnalysisQuery ()  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
getIamPolicyAnalysisQueryBuilder() 
  
    
public   IamPolicyAnalysisQuery . Builder   getIamPolicyAnalysisQueryBuilder ()  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
getIamPolicyAnalysisQueryOrBuilder() 
  
    
public   IamPolicyAnalysisQueryOrBuilder   getIamPolicyAnalysisQueryOrBuilder ()  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
getQueryContentCase() 
  
    
public   SavedQuery . QueryContent . QueryContentCase   getQueryContentCase ()  
  
  hasIamPolicyAnalysisQuery() 
  
    
public   boolean   hasIamPolicyAnalysisQuery ()  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the iamPolicyAnalysisQuery field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(SavedQuery.QueryContent other) 
  
    
public   SavedQuery . QueryContent . Builder   mergeFrom ( SavedQuery . QueryContent   other )  
  
  
  mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   SavedQuery . QueryContent . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   SavedQuery . QueryContent . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value) 
  
    
public   SavedQuery . QueryContent . Builder   mergeIamPolicyAnalysisQuery ( IamPolicyAnalysisQuery   value )  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SavedQuery . QueryContent . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   SavedQuery . QueryContent . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value) 
  
    
public   SavedQuery . QueryContent . Builder   setIamPolicyAnalysisQuery ( IamPolicyAnalysisQuery   value )  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue) 
  
    
public   SavedQuery . QueryContent . Builder   setIamPolicyAnalysisQuery ( IamPolicyAnalysisQuery . Builder   builderForValue )  
   An IAM Policy Analysis query, which could be used in
 the
 AssetService.AnalyzeIamPolicy 
 RPC or the
 AssetService.AnalyzeIamPolicyLongrunning 
 RPC.
 .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   SavedQuery . QueryContent . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SavedQuery . QueryContent . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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-28 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-28 UTC."],[],[]]