Class TableInfo (2.54.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.54.2keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  TableInfo   implements   Serializable  
  
  
    Inheritance 
    Object  >  
    TableInfo 
   
  
  
  Static Methods
   
  newBuilder(TableId tableId, TableDefinition definition) 
  
    
public   static   TableInfo . Builder   newBuilder ( TableId   tableId ,   TableDefinition   definition )  
  
  
  
  of(TableId tableId, TableDefinition definition) 
  
    
public   static   TableInfo   of ( TableId   tableId ,   TableDefinition   definition )  
  
  
  
  Methods
   
  <T>getDefinition() 
  
    
public   T   <T>getDefinition ()  
  Returns the table definition.
    
      
        Returns  
      
        Type Description  
      
        T  
     
  
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCloneDefinition() 
  
    
public   CloneDefinition   getCloneDefinition ()  
  
  getCreationTime() 
  
    
public   Long   getCreationTime ()  
  Returns the time when this table was created, in milliseconds since the epoch.
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getDefaultCollation() 
  
    
public   String   getDefaultCollation ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getDescription() 
  
    
public   String   getDescription ()  
  Returns a user-friendly description for the table.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getEncryptionConfiguration() 
  
    
public   EncryptionConfiguration   getEncryptionConfiguration ()  
  
  getEtag() 
  
  Returns the hash of the table resource.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getExpirationTime() 
  
    
public   Long   getExpirationTime ()  
  Returns the time when this table expires, in milliseconds since the epoch. If not present, the
 table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getFriendlyName() 
  
    
public   String   getFriendlyName ()  
  Returns a user-friendly name for the table.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getGeneratedId() 
  
    
public   String   getGeneratedId ()  
  Returns the service-generated id for the table.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getLabels() 
  
    
public   Map<String , String >  getLabels ()  
  
Beta 
This feature is covered by the Pre-GA Offerings Terms  of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
 
Return a map for labels applied to the table.
 
Unstable, because labels are experimental .
getLastModifiedTime() 
  
    
public   Long   getLastModifiedTime ()  
  Returns the time when this table was last modified, in milliseconds since the epoch.
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumActiveLogicalBytes() 
  
    
public   Long   getNumActiveLogicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumActivePhysicalBytes() 
  
    
public   Long   getNumActivePhysicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumBytes() 
  
    
public   Long   getNumBytes ()  
  Returns the size of this table in bytes
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumLongTermBytes() 
  
    
public   Long   getNumLongTermBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumLongTermLogicalBytes() 
  
    
public   Long   getNumLongTermLogicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumLongTermPhysicalBytes() 
  
    
public   Long   getNumLongTermPhysicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumRows() 
  
    
public   BigInteger   getNumRows ()  
  Returns the number of rows of data in this table
getNumTimeTravelPhysicalBytes() 
  
    
public   Long   getNumTimeTravelPhysicalBytes ()  
  Returns the number of time travel physical bytes.
See Also: Storage Pricing 
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumTotalLogicalBytes() 
  
    
public   Long   getNumTotalLogicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getNumTotalPhysicalBytes() 
  
    
public   Long   getNumTotalPhysicalBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getOtelAttributes() 
  
    
protected   Attributes   getOtelAttributes ()  
  
    
      
        Returns  
      
        Type Description  
      
        io.opentelemetry.api.common.Attributes  
     
  
  getRequirePartitionFilter() 
  
    
public   Boolean   getRequirePartitionFilter ()  
  Returns true if a partition filter (that can be used for partition elimination) is required for
 queries over this table.
    
public   Map<String , String >  getResourceTags ()  
  Return a map for resource tags applied to the table.
getSelfLink() 
  
    
public   String   getSelfLink ()  
  Returns an URL that can be used to access the resource again. The returned URL can be used for
 get or update requests.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getTableConstraints() 
  
    
public   TableConstraints   getTableConstraints ()  
  
  getTableId() 
  
    
public   TableId   getTableId ()  
  Returns the table identity.
hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   TableInfo . Builder   toBuilder ()  
  Returns a builder for the table object.
toString() 
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  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."],[],[]]