Class HttpJsonConversionSourcesServiceStub (0.10.0)

public class HttpJsonConversionSourcesServiceStub extends ConversionSourcesServiceStub

REST stub implementation for the ConversionSourcesService service API.

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

Inheritance

java.lang.Object > ConversionSourcesServiceStub > HttpJsonConversionSourcesServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(ConversionSourcesServiceStubSettings settings)

public static final HttpJsonConversionSourcesServiceStub create(ConversionSourcesServiceStubSettings settings)
Parameter
Name Description
settings ConversionSourcesServiceStubSettings
Returns
Type Description
HttpJsonConversionSourcesServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonConversionSourcesServiceStub(ConversionSourcesServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonConversionSourcesServiceStub(ConversionSourcesServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonConversionSourcesServiceStub, 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 ConversionSourcesServiceStubSettings
clientContext ClientContext

HttpJsonConversionSourcesServiceStub(ConversionSourcesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonConversionSourcesServiceStub(ConversionSourcesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createConversionSourceCallable()

public UnaryCallable<CreateConversionSourceRequest,ConversionSource> createConversionSourceCallable()
Returns
Type Description
UnaryCallable<CreateConversionSourceRequest,ConversionSource>
Overrides

deleteConversionSourceCallable()

public UnaryCallable<DeleteConversionSourceRequest,Empty> deleteConversionSourceCallable()
Returns
Type Description
UnaryCallable<DeleteConversionSourceRequest,Empty>
Overrides

getConversionSourceCallable()

public UnaryCallable<GetConversionSourceRequest,ConversionSource> getConversionSourceCallable()
Returns
Type Description
UnaryCallable<GetConversionSourceRequest,ConversionSource>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConversionSourcesCallable()

public UnaryCallable<ListConversionSourcesRequest,ListConversionSourcesResponse> listConversionSourcesCallable()
Returns
Type Description
UnaryCallable<ListConversionSourcesRequest,ListConversionSourcesResponse>
Overrides

listConversionSourcesPagedCallable()

public UnaryCallable<ListConversionSourcesRequest,ConversionSourcesServiceClient.ListConversionSourcesPagedResponse> listConversionSourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListConversionSourcesRequest,ListConversionSourcesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeleteConversionSourceCallable()

public UnaryCallable<UndeleteConversionSourceRequest,ConversionSource> undeleteConversionSourceCallable()
Returns
Type Description
UnaryCallable<UndeleteConversionSourceRequest,ConversionSource>
Overrides

updateConversionSourceCallable()

public UnaryCallable<UpdateConversionSourceRequest,ConversionSource> updateConversionSourceCallable()
Returns
Type Description
UnaryCallable<UpdateConversionSourceRequest,ConversionSource>
Overrides