/** Returns the object with the settings used for calls to testIamPermissions. */ public UnaryCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsSettings() { return ((PublisherStubSettings) getStubSettings()).testIamPermissionsSettings(); }
/** * Constructs an instance of TopicAdminClient, using the given settings. This is protected so that * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. */ protected TopicAdminClient(TopicAdminSettings settings) throws IOException { this.settings = settings; this.stub = ((PublisherStubSettings) settings.getStubSettings()).createStub(); }
/** Returns the object with the settings used for calls to publish. */ /* package-private */ BatchingCallSettings<PublishRequest, PublishResponse> publishSettings() { return ((PublisherStubSettings) getStubSettings()).publishSettings(); }
/** Returns the object with the settings used for calls to setIamPolicy. */ public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() { return ((PublisherStubSettings) getStubSettings()).setIamPolicySettings(); }
/** Returns the object with the settings used for calls to deleteTopic. */ public UnaryCallSettings<DeleteTopicRequest, Empty> deleteTopicSettings() { return ((PublisherStubSettings) getStubSettings()).deleteTopicSettings(); }
/** Returns the object with the settings used for calls to listTopics. */ public PagedCallSettings<ListTopicsRequest, ListTopicsResponse, ListTopicsPagedResponse> listTopicsSettings() { return ((PublisherStubSettings) getStubSettings()).listTopicsSettings(); }
/** Returns the object with the settings used for calls to listTopicSubscriptions. */ public PagedCallSettings< ListTopicSubscriptionsRequest, ListTopicSubscriptionsResponse, ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsSettings() { return ((PublisherStubSettings) getStubSettings()).listTopicSubscriptionsSettings(); }
/** Returns the object with the settings used for calls to updateTopic. */ public UnaryCallSettings<UpdateTopicRequest, Topic> updateTopicSettings() { return ((PublisherStubSettings) getStubSettings()).updateTopicSettings(); }
/** Returns the object with the settings used for calls to getTopic. */ public UnaryCallSettings<GetTopicRequest, Topic> getTopicSettings() { return ((PublisherStubSettings) getStubSettings()).getTopicSettings(); }
/** Returns the object with the settings used for calls to createTopic. */ public UnaryCallSettings<Topic, Topic> createTopicSettings() { return ((PublisherStubSettings) getStubSettings()).createTopicSettings(); }
/** Returns the object with the settings used for calls to getIamPolicy. */ public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() { return ((PublisherStubSettings) getStubSettings()).getIamPolicySettings(); }
protected Builder(TopicAdminSettings settings) { super(settings.getStubSettings().toBuilder()); }