Class SinkInfo.Destination.DatasetDestination (3.14.9) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.14.9keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  SinkInfo . Destination . DatasetDestination   extends   SinkInfo . Destination  
  Class for specifying a Google Cloud BigQuery dataset as destination for the sink.
Static Methods
   
  of(String dataset) 
  
    
public   static   SinkInfo . Destination . DatasetDestination   of ( String   dataset )  
  Creates a DatasetDestination object given the name of the dataset to be used as
 sink destination. Dataset is assumed to reside in the default project.
    
      
        Parameter  
      
        Name Description  
      
        datasetString  
     
  
  
  of(String project, String dataset) 
  
    
public   static   SinkInfo . Destination . DatasetDestination   of ( String   project ,   String   dataset )  
  Creates a DatasetDestination object given the name of the project and dataset to be
 used as sink destination.
Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDataset() 
  
    
public   String   getDataset ()  
  Returns the name of the Google Cloud BigQuery dataset this destination represents.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getProject() 
  
    
public   String   getProject ()  
  Returns the name of the project where the Google Cloud BigQuery dataset resides. If 
 null, the default project is used.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  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-11 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-11 UTC."],[],[]]