- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class ServingConfigServiceGrpc.ServingConfigServiceFutureStub extends AbstractFutureStub<ServingConfigServiceGrpc.ServingConfigServiceFutureStub>
Service for modifying ServingConfig.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ServingConfigServiceGrpc.ServingConfigServiceFutureStubMethods
addControl(AddControlRequest request)
public ListenableFuture<ServingConfig> addControl(AddControlRequest request)
Enables a Control on the specified ServingConfig. The control is added in the last position of the list of controls it belongs to (e.g. if it's a facet spec control it will be applied in the last position of servingConfig.facetSpecIds) Returns a ALREADY_EXISTS error if the control has already been applied. Returns a FAILED_PRECONDITION error if the addition could exceed maximum number of control allowed for that type of control.
Name | Description |
request | AddControlRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ServingConfig> |
build(Channel channel, CallOptions callOptions)
protected ServingConfigServiceGrpc.ServingConfigServiceFutureStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
ServingConfigServiceGrpc.ServingConfigServiceFutureStub |
createServingConfig(CreateServingConfigRequest request)
public ListenableFuture<ServingConfig> createServingConfig(CreateServingConfigRequest request)
Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned.
Name | Description |
request | CreateServingConfigRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ServingConfig> |
deleteServingConfig(DeleteServingConfigRequest request)
public ListenableFuture<Empty> deleteServingConfig(DeleteServingConfigRequest request)
Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
Name | Description |
request | DeleteServingConfigRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getServingConfig(GetServingConfigRequest request)
public ListenableFuture<ServingConfig> getServingConfig(GetServingConfigRequest request)
Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
Name | Description |
request | GetServingConfigRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ServingConfig> |
listServingConfigs(ListServingConfigsRequest request)
public ListenableFuture<ListServingConfigsResponse> listServingConfigs(ListServingConfigsRequest request)
Lists all ServingConfigs linked to this catalog.
Name | Description |
request | ListServingConfigsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListServingConfigsResponse> |
removeControl(RemoveControlRequest request)
public ListenableFuture<ServingConfig> removeControl(RemoveControlRequest request)
Disables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig.
Name | Description |
request | RemoveControlRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ServingConfig> |
updateServingConfig(UpdateServingConfigRequest request)
public ListenableFuture<ServingConfig> updateServingConfig(UpdateServingConfigRequest request)
Updates a ServingConfig.
Name | Description |
request | UpdateServingConfigRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ServingConfig> |