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 AppHub services allows users to enable toplogy and telemetry
configuration.
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 in 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 attached to the host project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteWorkload(DeleteWorkloadRequest request)
public ListenableFuture<Operation> deleteWorkload(DeleteWorkloadRequest request)
Deletes a Workload in 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
either a host or service project.
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 attached to the host project.
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)
List service projects attached to the host project.
listServices(ListServicesRequest request)
public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)
List 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)
Looks up a discovered service in a host project and location and with a
given resource URI.
lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)
public ListenableFuture<LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)
Looks up a discovered Workload in a host project and location and with a
given resource URI.
lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)
public ListenableFuture<LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)
Looks up a service project attachment. You can call this API from either a
host or service 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> | |