Class HttpJsonOmnichannelSettingsServiceStub (0.20.0)

public class HttpJsonOmnichannelSettingsServiceStub extends OmnichannelSettingsServiceStub

REST stub implementation for the OmnichannelSettingsService service API.

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

Inheritance

java.lang.Object > OmnichannelSettingsServiceStub > HttpJsonOmnichannelSettingsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(OmnichannelSettingsServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonOmnichannelSettingsServiceStub, 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

HttpJsonOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonOmnichannelSettingsServiceStub(OmnichannelSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonOmnichannelSettingsServiceStub, 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 HttpJsonStubCallableFactory

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

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