Class AppHubGrpc.AppHubStub (0.1.0)

public static final class AppHubGrpc.AppHubStub extends AbstractAsyncStub<AppHubGrpc.AppHubStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > AppHubGrpc.AppHubStub

Methods

build(Channel channel, CallOptions callOptions)

protected AppHubGrpc.AppHubStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AppHubGrpc.AppHubStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

public void createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

Creates an Application in a host project and location.

Parameters
NameDescription
requestCreateApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)

public void createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)

Creates a Service in an Application.

Parameters
NameDescription
requestCreateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

public void createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

Attaches a service project to the host project.

Parameters
NameDescription
requestCreateServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createWorkload(CreateWorkloadRequest request, StreamObserver<Operation> responseObserver)

public void createWorkload(CreateWorkloadRequest request, StreamObserver<Operation> responseObserver)

Creates a Workload in an Application.

Parameters
NameDescription
requestCreateWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

public void deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

Deletes an Application in a host project and location.

Parameters
NameDescription
requestDeleteApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

public void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

Deletes a Service in an Application.

Parameters
NameDescription
requestDeleteServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

public void deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

Deletes a service project attached to the host project.

Parameters
NameDescription
requestDeleteServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkload(DeleteWorkloadRequest request, StreamObserver<Operation> responseObserver)

public void deleteWorkload(DeleteWorkloadRequest request, StreamObserver<Operation> responseObserver)

Deletes a Workload in an Application.

Parameters
NameDescription
requestDeleteWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, StreamObserver<DetachServiceProjectAttachmentResponse> responseObserver)

public void detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, StreamObserver<DetachServiceProjectAttachmentResponse> responseObserver)

Detaches a service project from a host project. You can call this API from either a host or service project.

Parameters
NameDescription
requestDetachServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<DetachServiceProjectAttachmentResponse>

getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

public void getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

Gets an Application in a host project and location.

Parameters
NameDescription
requestGetApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Application>

getDiscoveredService(GetDiscoveredServiceRequest request, StreamObserver<DiscoveredService> responseObserver)

public void getDiscoveredService(GetDiscoveredServiceRequest request, StreamObserver<DiscoveredService> responseObserver)

Gets a discovered service in a host project and location.

Parameters
NameDescription
requestGetDiscoveredServiceRequest
responseObserverio.grpc.stub.StreamObserver<DiscoveredService>

getDiscoveredWorkload(GetDiscoveredWorkloadRequest request, StreamObserver<DiscoveredWorkload> responseObserver)

public void getDiscoveredWorkload(GetDiscoveredWorkloadRequest request, StreamObserver<DiscoveredWorkload> responseObserver)

Gets a discovered workload in a host project and location.

Parameters
NameDescription
requestGetDiscoveredWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<DiscoveredWorkload>

getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

public void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

Gets a Service in an Application.

Parameters
NameDescription
requestGetServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

getServiceProjectAttachment(GetServiceProjectAttachmentRequest request, StreamObserver<ServiceProjectAttachment> responseObserver)

public void getServiceProjectAttachment(GetServiceProjectAttachmentRequest request, StreamObserver<ServiceProjectAttachment> responseObserver)

Gets a service project attached to the host project.

Parameters
NameDescription
requestGetServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<ServiceProjectAttachment>

getWorkload(GetWorkloadRequest request, StreamObserver<Workload> responseObserver)

public void getWorkload(GetWorkloadRequest request, StreamObserver<Workload> responseObserver)

Gets a Workload in an Application.

Parameters
NameDescription
requestGetWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Workload>

listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

public void listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

Lists Applications in a host project and location.

Parameters
NameDescription
requestListApplicationsRequest
responseObserverio.grpc.stub.StreamObserver<ListApplicationsResponse>

listDiscoveredServices(ListDiscoveredServicesRequest request, StreamObserver<ListDiscoveredServicesResponse> responseObserver)

public void listDiscoveredServices(ListDiscoveredServicesRequest request, StreamObserver<ListDiscoveredServicesResponse> responseObserver)

Lists discovered services that can be added to an application in a host project and location.

Parameters
NameDescription
requestListDiscoveredServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListDiscoveredServicesResponse>

listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, StreamObserver<ListDiscoveredWorkloadsResponse> responseObserver)

public void listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, StreamObserver<ListDiscoveredWorkloadsResponse> responseObserver)

Lists discovered workloads that can be added to an application in a host project and location.

Parameters
NameDescription
requestListDiscoveredWorkloadsRequest
responseObserverio.grpc.stub.StreamObserver<ListDiscoveredWorkloadsResponse>

listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, StreamObserver<ListServiceProjectAttachmentsResponse> responseObserver)

public void listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, StreamObserver<ListServiceProjectAttachmentsResponse> responseObserver)

List service projects attached to the host project.

Parameters
NameDescription
requestListServiceProjectAttachmentsRequest
responseObserverio.grpc.stub.StreamObserver<ListServiceProjectAttachmentsResponse>

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

List Services in an Application.

Parameters
NameDescription
requestListServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListServicesResponse>

listWorkloads(ListWorkloadsRequest request, StreamObserver<ListWorkloadsResponse> responseObserver)

public void listWorkloads(ListWorkloadsRequest request, StreamObserver<ListWorkloadsResponse> responseObserver)

Lists Workloads in an Application.

Parameters
NameDescription
requestListWorkloadsRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkloadsResponse>

lookupDiscoveredService(LookupDiscoveredServiceRequest request, StreamObserver<LookupDiscoveredServiceResponse> responseObserver)

public void lookupDiscoveredService(LookupDiscoveredServiceRequest request, StreamObserver<LookupDiscoveredServiceResponse> responseObserver)

Looks up a discovered service in a host project and location and with a given resource URI.

Parameters
NameDescription
requestLookupDiscoveredServiceRequest
responseObserverio.grpc.stub.StreamObserver<LookupDiscoveredServiceResponse>

lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, StreamObserver<LookupDiscoveredWorkloadResponse> responseObserver)

public void lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, StreamObserver<LookupDiscoveredWorkloadResponse> responseObserver)

Looks up a discovered Workload in a host project and location and with a given resource URI.

Parameters
NameDescription
requestLookupDiscoveredWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<LookupDiscoveredWorkloadResponse>

lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, StreamObserver<LookupServiceProjectAttachmentResponse> responseObserver)

public void lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, StreamObserver<LookupServiceProjectAttachmentResponse> responseObserver)

Looks up a service project attachment. You can call this API from either a host or service project.

Parameters
NameDescription
requestLookupServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<LookupServiceProjectAttachmentResponse>

updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

public void updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

Updates an Application in a host project and location.

Parameters
NameDescription
requestUpdateApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

public void updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

Updates a Service in an Application.

Parameters
NameDescription
requestUpdateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateWorkload(UpdateWorkloadRequest request, StreamObserver<Operation> responseObserver)

public void updateWorkload(UpdateWorkloadRequest request, StreamObserver<Operation> responseObserver)

Updates a Workload in an Application.

Parameters
NameDescription
requestUpdateWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>