Interface PolicyOrBuilder (1.34.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.34.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   interface  PolicyOrBuilder   extends   MessageOrBuilder  
  
  Methods
   
  containsAnnotations(String arg0) 
  
    
public   abstract   boolean   containsAnnotations ( String   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0String  
     
  
  
  getAnnotations() (deprecated) 
  
    
public   abstract   Map<String , String >  getAnnotations ()  
  
  getAnnotationsCount() 
  
    
public   abstract   int   getAnnotationsCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getAnnotationsMap() 
  
    
public   abstract   Map<String , String >  getAnnotationsMap ()  
  
  getAnnotationsOrDefault(String arg0, String arg1) 
  
    
public   abstract   String   getAnnotationsOrDefault ( String   arg0 ,   String   arg1 )  
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getAnnotationsOrThrow(String arg0) 
  
    
public   abstract   String   getAnnotationsOrThrow ( String   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0String  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getCreateTime() 
  
    
public   abstract   Timestamp   getCreateTime ()  
  
  getCreateTimeOrBuilder() 
  
    
public   abstract   TimestampOrBuilder   getCreateTimeOrBuilder ()  
  
  getDeleteTime() 
  
    
public   abstract   Timestamp   getDeleteTime ()  
  
  getDeleteTimeOrBuilder() 
  
    
public   abstract   TimestampOrBuilder   getDeleteTimeOrBuilder ()  
  
  getDisplayName() 
  
    
public   abstract   String   getDisplayName ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getDisplayNameBytes() 
  
    
public   abstract   ByteString   getDisplayNameBytes ()  
  
  getEtag() 
  
    
public   abstract   String   getEtag ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getEtagBytes() 
  
    
public   abstract   ByteString   getEtagBytes ()  
  
  getKind() 
  
    
public   abstract   String   getKind ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getKindBytes() 
  
    
public   abstract   ByteString   getKindBytes ()  
  
  getName() 
  
    
public   abstract   String   getName ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getNameBytes() 
  
    
public   abstract   ByteString   getNameBytes ()  
  
  getRules(int arg0) 
  
    
public   abstract   PolicyRule   getRules ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  getRulesCount() 
  
    
public   abstract   int   getRulesCount ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getRulesList() 
  
    
public   abstract   List<PolicyRule>   getRulesList ()  
  
  getRulesOrBuilder(int arg0) 
  
    
public   abstract   PolicyRuleOrBuilder   getRulesOrBuilder ( int   arg0 )  
  
    
      
        Parameter  
      
        Name Description  
      
        arg0int  
     
  
  
  getRulesOrBuilderList() 
  
    
public   abstract   List <?   extends   PolicyRuleOrBuilder >  getRulesOrBuilderList ()  
  
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.iam.v2beta.PolicyRuleOrBuilder > 
     
  
  getUid() 
  
    
public   abstract   String   getUid ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getUidBytes() 
  
    
public   abstract   ByteString   getUidBytes ()  
  
  getUpdateTime() 
  
    
public   abstract   Timestamp   getUpdateTime ()  
  
  getUpdateTimeOrBuilder() 
  
    
public   abstract   TimestampOrBuilder   getUpdateTimeOrBuilder ()  
  
  hasCreateTime() 
  
    
public   abstract   boolean   hasCreateTime ()  
  
  hasDeleteTime() 
  
    
public   abstract   boolean   hasDeleteTime ()  
  
  hasUpdateTime() 
  
    
public   abstract   boolean   hasUpdateTime ()  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]