public static class ProductReviewsServiceStubSettings.Builder extends StubSettings.Builder<ProductReviewsServiceStubSettings,ProductReviewsServiceStubSettings.Builder>
Builder for ProductReviewsServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(ProductReviewsServiceStubSettings settings)
protected Builder(ProductReviewsServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
ProductReviewsServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProductReviewsServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter | |
---|---|
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
ProductReviewsServiceStubSettings.Builder |
build()
public ProductReviewsServiceStubSettings build()
Returns | |
---|---|
Type | Description |
ProductReviewsServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
deleteProductReviewSettings()
public UnaryCallSettings.Builder<DeleteProductReviewRequest,Empty> deleteProductReviewSettings()
Returns the builder for the settings used for calls to deleteProductReview.
Returns | |
---|---|
Type | Description |
Builder<DeleteProductReviewRequest,Empty> |
getProductReviewSettings()
public UnaryCallSettings.Builder<GetProductReviewRequest,ProductReview> getProductReviewSettings()
Returns the builder for the settings used for calls to getProductReview.
Returns | |
---|---|
Type | Description |
Builder<GetProductReviewRequest,ProductReview> |
insertProductReviewSettings()
public UnaryCallSettings.Builder<InsertProductReviewRequest,ProductReview> insertProductReviewSettings()
Returns the builder for the settings used for calls to insertProductReview.
Returns | |
---|---|
Type | Description |
Builder<InsertProductReviewRequest,ProductReview> |
listProductReviewsSettings()
public PagedCallSettings.Builder<ListProductReviewsRequest,ListProductReviewsResponse,ProductReviewsServiceClient.ListProductReviewsPagedResponse> listProductReviewsSettings()
Returns the builder for the settings used for calls to listProductReviews.
Returns | |
---|---|
Type | Description |
Builder<ListProductReviewsRequest,ListProductReviewsResponse,ListProductReviewsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |