Class RegionsServiceGrpc.RegionsServiceBlockingStub (0.5.0)

public static final class RegionsServiceGrpc.RegionsServiceBlockingStub extends AbstractBlockingStub<RegionsServiceGrpc.RegionsServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service RegionsService.

Manages regions configuration. This API defines the following resource model:

  • Region

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RegionsServiceGrpc.RegionsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected RegionsServiceGrpc.RegionsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
RegionsServiceGrpc.RegionsServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRegion(CreateRegionRequest request)

public Region createRegion(CreateRegionRequest request)

Creates a region definition in your Merchant Center account. Executing this method requires admin access.

Parameter
Name Description
request CreateRegionRequest
Returns
Type Description
Region

deleteRegion(DeleteRegionRequest request)

public Empty deleteRegion(DeleteRegionRequest request)

Deletes a region definition from your Merchant Center account. Executing this method requires admin access.

Parameter
Name Description
request DeleteRegionRequest
Returns
Type Description
Empty

getRegion(GetRegionRequest request)

public Region getRegion(GetRegionRequest request)

Retrieves a region defined in your Merchant Center account.

Parameter
Name Description
request GetRegionRequest
Returns
Type Description
Region

listRegions(ListRegionsRequest request)

public ListRegionsResponse listRegions(ListRegionsRequest request)

Lists the regions in your Merchant Center account.

Parameter
Name Description
request ListRegionsRequest
Returns
Type Description
ListRegionsResponse

updateRegion(UpdateRegionRequest request)

public Region updateRegion(UpdateRegionRequest request)

Updates a region definition in your Merchant Center account. Executing this method requires admin access.

Parameter
Name Description
request UpdateRegionRequest
Returns
Type Description
Region