Class RuntimeProjectAttachmentServiceGrpc.RuntimeProjectAttachmentServiceFutureStub (0.2.0)

public static final class RuntimeProjectAttachmentServiceGrpc.RuntimeProjectAttachmentServiceFutureStub extends AbstractFutureStub<RuntimeProjectAttachmentServiceGrpc.RuntimeProjectAttachmentServiceFutureStub>

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

This service is used for managing the runtime project attachments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > RuntimeProjectAttachmentServiceGrpc.RuntimeProjectAttachmentServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest request)

public ListenableFuture<RuntimeProjectAttachment> createRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest request)

Attaches a runtime project to the host project.

Parameter
Name Description
request CreateRuntimeProjectAttachmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RuntimeProjectAttachment>

deleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest request)

public ListenableFuture<Empty> deleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest request)

Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.

Parameter
Name Description
request DeleteRuntimeProjectAttachmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest request)

public ListenableFuture<RuntimeProjectAttachment> getRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest request)

Gets a runtime project attachment.

Parameter
Name Description
request GetRuntimeProjectAttachmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RuntimeProjectAttachment>

listRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest request)

public ListenableFuture<ListRuntimeProjectAttachmentsResponse> listRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest request)

List runtime projects attached to the host project.

Parameter
Name Description
request ListRuntimeProjectAttachmentsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRuntimeProjectAttachmentsResponse>

lookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest request)

public ListenableFuture<LookupRuntimeProjectAttachmentResponse> lookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest request)

Look up a runtime project attachment. This API can be called in the context of any project.

Parameter
Name Description
request LookupRuntimeProjectAttachmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LookupRuntimeProjectAttachmentResponse>