Class ContentServiceSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public ContentServiceSettings.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.

      • createContentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateContentRequest,​Content> createContentSettings()
        Returns the builder for the settings used for calls to createContent.
      • updateContentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateContentRequest,​Content> updateContentSettings()
        Returns the builder for the settings used for calls to updateContent.
      • deleteContentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteContentRequest,​com.google.protobuf.Empty> deleteContentSettings()
        Returns the builder for the settings used for calls to deleteContent.
      • getContentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetContentRequest,​Content> getContentSettings()
        Returns the builder for the settings used for calls to getContent.
      • 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.
      • 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.
      • 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.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​ContentServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.