Class HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceFutureStub (0.1.0)

public static final class HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceFutureStub extends AbstractFutureStub<HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceFutureStub>

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

This service is used for managing the host project registrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createHostProjectRegistration(CreateHostProjectRegistrationRequest request)

public ListenableFuture<HostProjectRegistration> createHostProjectRegistration(CreateHostProjectRegistrationRequest request)

Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail.

Parameter
Name Description
request CreateHostProjectRegistrationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<HostProjectRegistration>

getHostProjectRegistration(GetHostProjectRegistrationRequest request)

public ListenableFuture<HostProjectRegistration> getHostProjectRegistration(GetHostProjectRegistrationRequest request)

Get a host project registration.

Parameter
Name Description
request GetHostProjectRegistrationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<HostProjectRegistration>

listHostProjectRegistrations(ListHostProjectRegistrationsRequest request)

public ListenableFuture<ListHostProjectRegistrationsResponse> listHostProjectRegistrations(ListHostProjectRegistrationsRequest request)

Lists host project registrations.

Parameter
Name Description
request ListHostProjectRegistrationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListHostProjectRegistrationsResponse>