Class ProductServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public ProductServiceStubSettings.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()
      • createProductSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,​Product> createProductSettings()
        Returns the builder for the settings used for calls to createProduct.
      • getProductSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,​Product> getProductSettings()
        Returns the builder for the settings used for calls to getProduct.
      • updateProductSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,​Product> updateProductSettings()
        Returns the builder for the settings used for calls to updateProduct.
      • deleteProductSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,​com.google.protobuf.Empty> deleteProductSettings()
        Returns the builder for the settings used for calls to deleteProduct.
      • importProductsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductsRequest,​com.google.longrunning.Operation> importProductsSettings()
        Returns the builder for the settings used for calls to importProducts.
      • importProductsOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportProductsRequest,​ImportProductsResponse,​ImportMetadata> importProductsOperationSettings()
        Returns the builder for the settings used for calls to importProducts.
      • setInventorySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInventoryRequest,​com.google.longrunning.Operation> setInventorySettings()
        Returns the builder for the settings used for calls to setInventory.
      • setInventoryOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetInventoryRequest,​SetInventoryResponse,​SetInventoryMetadata> setInventoryOperationSettings()
        Returns the builder for the settings used for calls to setInventory.
      • addFulfillmentPlacesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,​com.google.longrunning.Operation> addFulfillmentPlacesSettings()
        Returns the builder for the settings used for calls to addFulfillmentPlaces.
      • removeFulfillmentPlacesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,​com.google.longrunning.Operation> removeFulfillmentPlacesSettings()
        Returns the builder for the settings used for calls to removeFulfillmentPlaces.
      • addLocalInventoriesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddLocalInventoriesRequest,​com.google.longrunning.Operation> addLocalInventoriesSettings()
        Returns the builder for the settings used for calls to addLocalInventories.
      • addLocalInventoriesOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<AddLocalInventoriesRequest,​AddLocalInventoriesResponse,​AddLocalInventoriesMetadata> addLocalInventoriesOperationSettings()
        Returns the builder for the settings used for calls to addLocalInventories.
      • removeLocalInventoriesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,​com.google.longrunning.Operation> removeLocalInventoriesSettings()
        Returns the builder for the settings used for calls to removeLocalInventories.