Class TableReference (2.11.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.11.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  TableReference   extends   GeneratedMessageV3   implements   TableReferenceOrBuilder  
   
   Fully qualified reference to BigQuery table.
 Internally stored as google.cloud.bi.v1.BqTableReference.
 Protobuf type google.cloud.bigquery.reservation.v1.TableReference
 
  
  
  
  Static Fields
   
  DATASET_ID_FIELD_NUMBER 
  
    
public   static   final   int   DATASET_ID_FIELD_NUMBER  
   
  Field Value 
  
  PROJECT_ID_FIELD_NUMBER 
  
    
public   static   final   int   PROJECT_ID_FIELD_NUMBER  
   
  Field Value 
  
  TABLE_ID_FIELD_NUMBER 
  
    
public   static   final   int   TABLE_ID_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   TableReference   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   TableReference . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(TableReference prototype) 
  
    
public   static   TableReference . Builder   newBuilder ( TableReference   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   TableReference   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   TableReference   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   TableReference   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TableReference   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   TableReference   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TableReference   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   TableReference   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   TableReference   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   TableReference   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   TableReference   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   TableReference   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TableReference   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<TableReference>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getDatasetId() 
  
    
public   String   getDatasetId ()  
   
   The ID of the dataset in the above project.
 string dataset_id = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The datasetId.
 
       
     
  
   
  getDatasetIdBytes() 
  
    
public   ByteString   getDatasetIdBytes ()  
   
   The ID of the dataset in the above project.
 string dataset_id = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for datasetId.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   TableReference   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getParserForType() 
  
    
public   Parser<TableReference>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getProjectId() 
  
    
public   String   getProjectId ()  
   
   The assigned project ID of the project.
 string project_id = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The projectId.
 
       
     
  
   
  getProjectIdBytes() 
  
    
public   ByteString   getProjectIdBytes ()  
   
   The assigned project ID of the project.
 string project_id = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for projectId.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getTableId() 
  
    
public   String   getTableId ()  
   
   The ID of the table in the above dataset.
 string table_id = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The tableId.
 
       
     
  
   
  getTableIdBytes() 
  
    
public   ByteString   getTableIdBytes ()  
   
   The ID of the table in the above dataset.
 string table_id = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for tableId.
 
       
     
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   TableReference . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   TableReference . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   TableReference . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["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-30 UTC."],[],[]]