Class GrpcOmnichannelSettingsServiceStub (0.20.0)

public class GrpcOmnichannelSettingsServiceStub extends OmnichannelSettingsServiceStub

gRPC stub implementation for the OmnichannelSettingsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > OmnichannelSettingsServiceStub > GrpcOmnichannelSettingsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcOmnichannelSettingsServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcOmnichannelSettingsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOmnichannelSettingsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcOmnichannelSettingsServiceStub
Exceptions
Type Description
IOException

create(OmnichannelSettingsServiceStubSettings settings)

public static final GrpcOmnichannelSettingsServiceStub create(OmnichannelSettingsServiceStubSettings settings)
Parameter
Name Description
settings OmnichannelSettingsServiceStubSettings
Returns
Type Description
GrpcOmnichannelSettingsServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext)

protected GrpcOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcOmnichannelSettingsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings OmnichannelSettingsServiceStubSettings
clientContext ClientContext

GrpcOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcOmnichannelSettingsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings OmnichannelSettingsServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createOmnichannelSettingCallable()

public UnaryCallable<CreateOmnichannelSettingRequest,OmnichannelSetting> createOmnichannelSettingCallable()
Returns
Type Description
UnaryCallable<CreateOmnichannelSettingRequest,OmnichannelSetting>
Overrides

getOmnichannelSettingCallable()

public UnaryCallable<GetOmnichannelSettingRequest,OmnichannelSetting> getOmnichannelSettingCallable()
Returns
Type Description
UnaryCallable<GetOmnichannelSettingRequest,OmnichannelSetting>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listOmnichannelSettingsCallable()

public UnaryCallable<ListOmnichannelSettingsRequest,ListOmnichannelSettingsResponse> listOmnichannelSettingsCallable()
Returns
Type Description
UnaryCallable<ListOmnichannelSettingsRequest,ListOmnichannelSettingsResponse>
Overrides

listOmnichannelSettingsPagedCallable()

public UnaryCallable<ListOmnichannelSettingsRequest,OmnichannelSettingsServiceClient.ListOmnichannelSettingsPagedResponse> listOmnichannelSettingsPagedCallable()
Returns
Type Description
UnaryCallable<ListOmnichannelSettingsRequest,ListOmnichannelSettingsPagedResponse>
Overrides

requestInventoryVerificationCallable()

public UnaryCallable<RequestInventoryVerificationRequest,RequestInventoryVerificationResponse> requestInventoryVerificationCallable()
Returns
Type Description
UnaryCallable<RequestInventoryVerificationRequest,RequestInventoryVerificationResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateOmnichannelSettingCallable()

public UnaryCallable<UpdateOmnichannelSettingRequest,OmnichannelSetting> updateOmnichannelSettingCallable()
Returns
Type Description
UnaryCallable<UpdateOmnichannelSettingRequest,OmnichannelSetting>
Overrides