Class UserListServiceGrpc.UserListServiceFutureStub (0.8.0)

public static final class UserListServiceGrpc.UserListServiceFutureStub extends AbstractFutureStub<UserListServiceGrpc.UserListServiceFutureStub>

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

Service for managing UserList resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > UserListServiceGrpc.UserListServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createUserList(CreateUserListRequest request)

public ListenableFuture<UserList> createUserList(CreateUserListRequest request)

Creates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request CreateUserListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UserList>

deleteUserList(DeleteUserListRequest request)

public ListenableFuture<Empty> deleteUserList(DeleteUserListRequest request)

Deletes a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request DeleteUserListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getUserList(GetUserListRequest request)

public ListenableFuture<UserList> getUserList(GetUserListRequest request)

Gets a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request GetUserListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UserList>

listUserLists(ListUserListsRequest request)

public ListenableFuture<ListUserListsResponse> listUserLists(ListUserListsRequest request)

Lists UserLists. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request ListUserListsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListUserListsResponse>

updateUserList(UpdateUserListRequest request)

public ListenableFuture<UserList> updateUserList(UpdateUserListRequest request)

Updates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameter
Name Description
request UpdateUserListRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UserList>