Class SinkInfo.Destination.TopicDestination

    • Method Detail

      • getProject

        public String getProject()
        Returns the name of the project where the Google Cloud Pub/Sub topic resides. If null, the default project is used.
      • getTopic

        public String getTopic()
        Returns the name of the Google Cloud Pub/Sub topic this destination represents.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • of

        public static SinkInfo.Destination.TopicDestination of​(String topic)
        Creates a DatasetDestination object given the name of the topic to be used as sink destination. Topic is assumed to reside in the default project.