Class HttpJsonUserListServiceStub (0.8.0)

public class HttpJsonUserListServiceStub extends UserListServiceStub

REST stub implementation for the UserListService service API.

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

Inheritance

java.lang.Object > UserListServiceStub > HttpJsonUserListServiceStub

Static Methods

create(UserListServiceStubSettings settings)

public static final HttpJsonUserListServiceStub create(UserListServiceStubSettings settings)
Parameter
Name Description
settings UserListServiceStubSettings
Returns
Type Description
HttpJsonUserListServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

getMethodDescriptors()

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

Constructors

HttpJsonUserListServiceStub(UserListServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonUserListServiceStub(UserListServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonUserListServiceStub, 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 UserListServiceStubSettings
clientContext ClientContext

HttpJsonUserListServiceStub(UserListServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonUserListServiceStub(UserListServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createUserListCallable()

public UnaryCallable<CreateUserListRequest,UserList> createUserListCallable()
Returns
Type Description
UnaryCallable<CreateUserListRequest,UserList>
Overrides

deleteUserListCallable()

public UnaryCallable<DeleteUserListRequest,Empty> deleteUserListCallable()
Returns
Type Description
UnaryCallable<DeleteUserListRequest,Empty>
Overrides

getUserListCallable()

public UnaryCallable<GetUserListRequest,UserList> getUserListCallable()
Returns
Type Description
UnaryCallable<GetUserListRequest,UserList>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listUserListsCallable()

public UnaryCallable<ListUserListsRequest,ListUserListsResponse> listUserListsCallable()
Returns
Type Description
UnaryCallable<ListUserListsRequest,ListUserListsResponse>
Overrides

listUserListsPagedCallable()

public UnaryCallable<ListUserListsRequest,UserListServiceClient.ListUserListsPagedResponse> listUserListsPagedCallable()
Returns
Type Description
UnaryCallable<ListUserListsRequest,ListUserListsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateUserListCallable()

public UnaryCallable<UpdateUserListRequest,UserList> updateUserListCallable()
Returns
Type Description
UnaryCallable<UpdateUserListRequest,UserList>
Overrides