/** * Constructs an instance of TopicAdminClient, using the given settings. The channels are created * based on the settings passed in, or defaults for any settings that are not set. */ public static final TopicAdminClient create(TopicAdminSettings settings) throws IOException { return new TopicAdminClient(settings); }
/** * Constructs an instance of TopicAdminClient, using the given stub for making calls. This is for * advanced usage - prefer to use TopicAdminSettings}. */ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final TopicAdminClient create(PublisherStub stub) { return new TopicAdminClient(stub); }