public static final class ServingConfigServiceGrpc.ServingConfigServiceBlockingStub extends AbstractBlockingStub<ServingConfigServiceGrpc.ServingConfigServiceBlockingStub>A stub to allow clients to do limited synchronous rpc calls to service ServingConfigService.
Service for modifying ServingConfig.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ServingConfigServiceGrpc.ServingConfigServiceBlockingStubMethods
addControl(AddControlRequest request)
public 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.
| Parameter | |
|---|---|
| Name | Description |
request |
AddControlRequest |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
|
build(Channel channel, CallOptions callOptions)
protected ServingConfigServiceGrpc.ServingConfigServiceBlockingStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
ServingConfigServiceGrpc.ServingConfigServiceBlockingStub |
|
createServingConfig(CreateServingConfigRequest request)
public ServingConfig createServingConfig(CreateServingConfigRequest request)Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateServingConfigRequest |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
|
deleteServingConfig(DeleteServingConfigRequest request)
public Empty deleteServingConfig(DeleteServingConfigRequest request)Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteServingConfigRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
getServingConfig(GetServingConfigRequest request)
public ServingConfig getServingConfig(GetServingConfigRequest request)Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
| Parameter | |
|---|---|
| Name | Description |
request |
GetServingConfigRequest |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
|
listServingConfigs(ListServingConfigsRequest request)
public ListServingConfigsResponse listServingConfigs(ListServingConfigsRequest request)Lists all ServingConfigs linked to this catalog.
| Parameter | |
|---|---|
| Name | Description |
request |
ListServingConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
ListServingConfigsResponse |
|
removeControl(RemoveControlRequest request)
public 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.
| Parameter | |
|---|---|
| Name | Description |
request |
RemoveControlRequest |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
|
updateServingConfig(UpdateServingConfigRequest request)
public ServingConfig updateServingConfig(UpdateServingConfigRequest request)Updates a ServingConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateServingConfigRequest |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
|