public static final class AppHubGrpc.AppHubFutureStub extends AbstractFutureStub<AppHubGrpc.AppHubFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AppHub.
The App Hub API allows you to manage App Hub resources.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
AppHubGrpc.AppHubFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected AppHubGrpc.AppHubFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createApplication(CreateApplicationRequest request)
public ListenableFuture<Operation> createApplication(CreateApplicationRequest request)
Creates an Application in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createService(CreateServiceRequest request)
public ListenableFuture<Operation> createService(CreateServiceRequest request)
Creates a Service in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)
public ListenableFuture<Operation> createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)
Attaches a service project to the host project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createWorkload(CreateWorkloadRequest request)
public ListenableFuture<Operation> createWorkload(CreateWorkloadRequest request)
Creates a Workload in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteApplication(DeleteApplicationRequest request)
public ListenableFuture<Operation> deleteApplication(DeleteApplicationRequest request)
Deletes an Application in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteService(DeleteServiceRequest request)
public ListenableFuture<Operation> deleteService(DeleteServiceRequest request)
Deletes a Service from an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)
public ListenableFuture<Operation> deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)
Deletes a service project attachment.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteWorkload(DeleteWorkloadRequest request)
public ListenableFuture<Operation> deleteWorkload(DeleteWorkloadRequest request)
Deletes a Workload from an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)
public ListenableFuture<DetachServiceProjectAttachmentResponse> detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)
Detaches a service project from a host project.
You can call this API from any service project without needing access to
the host project that it is attached to.
getApplication(GetApplicationRequest request)
public ListenableFuture<Application> getApplication(GetApplicationRequest request)
Gets an Application in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Application> | |
getDiscoveredService(GetDiscoveredServiceRequest request)
public ListenableFuture<DiscoveredService> getDiscoveredService(GetDiscoveredServiceRequest request)
Gets a Discovered Service in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<DiscoveredService> | |
getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)
public ListenableFuture<DiscoveredWorkload> getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)
Gets a Discovered Workload in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<DiscoveredWorkload> | |
getService(GetServiceRequest request)
public ListenableFuture<Service> getService(GetServiceRequest request)
Gets a Service in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Service> | |
getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)
public ListenableFuture<ServiceProjectAttachment> getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)
Gets a service project attachment.
getWorkload(GetWorkloadRequest request)
public ListenableFuture<Workload> getWorkload(GetWorkloadRequest request)
Gets a Workload in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Workload> | |
listApplications(ListApplicationsRequest request)
public ListenableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest request)
Lists Applications in a host project and location.
listDiscoveredServices(ListDiscoveredServicesRequest request)
public ListenableFuture<ListDiscoveredServicesResponse> listDiscoveredServices(ListDiscoveredServicesRequest request)
Lists Discovered Services that can be added to an Application in a host
project and location.
listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request)
public ListenableFuture<ListDiscoveredWorkloadsResponse> listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request)
Lists Discovered Workloads that can be added to an Application in a host
project and location.
listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)
public ListenableFuture<ListServiceProjectAttachmentsResponse> listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)
Lists service projects attached to the host project.
listServices(ListServicesRequest request)
public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)
Lists Services in an Application.
listWorkloads(ListWorkloadsRequest request)
public ListenableFuture<ListWorkloadsResponse> listWorkloads(ListWorkloadsRequest request)
Lists Workloads in an Application.
lookupDiscoveredService(LookupDiscoveredServiceRequest request)
public ListenableFuture<LookupDiscoveredServiceResponse> lookupDiscoveredService(LookupDiscoveredServiceRequest request)
Lists a Discovered Service in a host project and location, with a
given resource URI.
lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)
public ListenableFuture<LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)
Lists a Discovered Workload in a host project and location, with a
given resource URI.
lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)
public ListenableFuture<LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)
Lists a service project attachment for a given service project. You can
call this API from any project to find if it is attached to a host project.
updateApplication(UpdateApplicationRequest request)
public ListenableFuture<Operation> updateApplication(UpdateApplicationRequest request)
Updates an Application in a host project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateService(UpdateServiceRequest request)
public ListenableFuture<Operation> updateService(UpdateServiceRequest request)
Updates a Service in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateWorkload(UpdateWorkloadRequest request)
public ListenableFuture<Operation> updateWorkload(UpdateWorkloadRequest request)
Updates a Workload in an Application.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |