Class AutofeedSettingsServiceGrpc.AutofeedSettingsServiceFutureStub (0.8.0)

public static final class AutofeedSettingsServiceGrpc.AutofeedSettingsServiceFutureStub extends AbstractFutureStub<AutofeedSettingsServiceGrpc.AutofeedSettingsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AutofeedSettingsService.

Service to support autofeed setting.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AutofeedSettingsServiceGrpc.AutofeedSettingsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getAutofeedSettings(GetAutofeedSettingsRequest request)

public ListenableFuture<AutofeedSettings> getAutofeedSettings(GetAutofeedSettingsRequest request)

Retrieves the autofeed settings of an account.

Parameter
Name Description
request GetAutofeedSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AutofeedSettings>

updateAutofeedSettings(UpdateAutofeedSettingsRequest request)

public ListenableFuture<AutofeedSettings> updateAutofeedSettings(UpdateAutofeedSettingsRequest request)

Updates the autofeed settings of an account.

Parameter
Name Description
request UpdateAutofeedSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AutofeedSettings>