Class PublisherStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public PublisherStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
        Applies the given settings updater function to all of the unary API methods in this service.

        Note: This method does not support applying settings to streaming methods.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • createTopicSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<Topic,​Topic> createTopicSettings()
        Returns the builder for the settings used for calls to createTopic.
      • updateTopicSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTopicRequest,​Topic> updateTopicSettings()
        Returns the builder for the settings used for calls to updateTopic.
      • publishSettings

        public com.google.api.gax.rpc.BatchingCallSettings.Builder<PublishRequest,​PublishResponse> publishSettings()
        Returns the builder for the settings used for calls to publish.
      • getTopicSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTopicRequest,​Topic> getTopicSettings()
        Returns the builder for the settings used for calls to getTopic.
      • deleteTopicSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTopicRequest,​com.google.protobuf.Empty> deleteTopicSettings()
        Returns the builder for the settings used for calls to deleteTopic.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.