public class GrpcAppHubStub extends AppHubStub
gRPC stub implementation for the AppHub service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcAppHubStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAppHubStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(AppHubStubSettings settings)
public static final GrpcAppHubStub create(AppHubStubSettings settings)
Constructors
GrpcAppHubStub(AppHubStubSettings settings, ClientContext clientContext)
protected GrpcAppHubStub(AppHubStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcAppHubStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
GrpcAppHubStub(AppHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAppHubStub(AppHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAppHubStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createApplicationCallable()
public UnaryCallable<CreateApplicationRequest,Operation> createApplicationCallable()
Overrides
createApplicationOperationCallable()
public OperationCallable<CreateApplicationRequest,Application,OperationMetadata> createApplicationOperationCallable()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Overrides
createServiceOperationCallable()
public OperationCallable<CreateServiceRequest,Service,OperationMetadata> createServiceOperationCallable()
Overrides
createServiceProjectAttachmentCallable()
public UnaryCallable<CreateServiceProjectAttachmentRequest,Operation> createServiceProjectAttachmentCallable()
Overrides
createServiceProjectAttachmentOperationCallable()
public OperationCallable<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment,OperationMetadata> createServiceProjectAttachmentOperationCallable()
Overrides
createWorkloadCallable()
public UnaryCallable<CreateWorkloadRequest,Operation> createWorkloadCallable()
Overrides
createWorkloadOperationCallable()
public OperationCallable<CreateWorkloadRequest,Workload,OperationMetadata> createWorkloadOperationCallable()
Overrides
deleteApplicationCallable()
public UnaryCallable<DeleteApplicationRequest,Operation> deleteApplicationCallable()
Overrides
deleteApplicationOperationCallable()
public OperationCallable<DeleteApplicationRequest,Empty,OperationMetadata> deleteApplicationOperationCallable()
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Overrides
deleteServiceOperationCallable()
public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Overrides
deleteServiceProjectAttachmentCallable()
public UnaryCallable<DeleteServiceProjectAttachmentRequest,Operation> deleteServiceProjectAttachmentCallable()
Overrides
deleteServiceProjectAttachmentOperationCallable()
public OperationCallable<DeleteServiceProjectAttachmentRequest,Empty,OperationMetadata> deleteServiceProjectAttachmentOperationCallable()
Overrides
deleteWorkloadCallable()
public UnaryCallable<DeleteWorkloadRequest,Operation> deleteWorkloadCallable()
Overrides
deleteWorkloadOperationCallable()
public OperationCallable<DeleteWorkloadRequest,Empty,OperationMetadata> deleteWorkloadOperationCallable()
Overrides
detachServiceProjectAttachmentCallable()
public UnaryCallable<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> detachServiceProjectAttachmentCallable()
Overrides
getApplicationCallable()
public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Overrides
getDiscoveredServiceCallable()
public UnaryCallable<GetDiscoveredServiceRequest,DiscoveredService> getDiscoveredServiceCallable()
Overrides
getDiscoveredWorkloadCallable()
public UnaryCallable<GetDiscoveredWorkloadRequest,DiscoveredWorkload> getDiscoveredWorkloadCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Overrides
getServiceProjectAttachmentCallable()
public UnaryCallable<GetServiceProjectAttachmentRequest,ServiceProjectAttachment> getServiceProjectAttachmentCallable()
Overrides
getWorkloadCallable()
public UnaryCallable<GetWorkloadRequest,Workload> getWorkloadCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listApplicationsCallable()
public UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> listApplicationsCallable()
Overrides
listApplicationsPagedCallable()
public UnaryCallable<ListApplicationsRequest,AppHubClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()
Overrides
listDiscoveredServicesCallable()
public UnaryCallable<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse> listDiscoveredServicesCallable()
Overrides
listDiscoveredServicesPagedCallable()
public UnaryCallable<ListDiscoveredServicesRequest,AppHubClient.ListDiscoveredServicesPagedResponse> listDiscoveredServicesPagedCallable()
Overrides
listDiscoveredWorkloadsCallable()
public UnaryCallable<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse> listDiscoveredWorkloadsCallable()
Overrides
listDiscoveredWorkloadsPagedCallable()
public UnaryCallable<ListDiscoveredWorkloadsRequest,AppHubClient.ListDiscoveredWorkloadsPagedResponse> listDiscoveredWorkloadsPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,AppHubClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listServiceProjectAttachmentsCallable()
public UnaryCallable<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse> listServiceProjectAttachmentsCallable()
Overrides
listServiceProjectAttachmentsPagedCallable()
public UnaryCallable<ListServiceProjectAttachmentsRequest,AppHubClient.ListServiceProjectAttachmentsPagedResponse> listServiceProjectAttachmentsPagedCallable()
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,AppHubClient.ListServicesPagedResponse> listServicesPagedCallable()
Overrides
listWorkloadsCallable()
public UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> listWorkloadsCallable()
Overrides
listWorkloadsPagedCallable()
public UnaryCallable<ListWorkloadsRequest,AppHubClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()
Overrides
lookupDiscoveredServiceCallable()
public UnaryCallable<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse> lookupDiscoveredServiceCallable()
Overrides
lookupDiscoveredWorkloadCallable()
public UnaryCallable<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkloadCallable()
Overrides
lookupServiceProjectAttachmentCallable()
public UnaryCallable<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachmentCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
updateApplicationCallable()
public UnaryCallable<UpdateApplicationRequest,Operation> updateApplicationCallable()
Overrides
updateApplicationOperationCallable()
public OperationCallable<UpdateApplicationRequest,Application,OperationMetadata> updateApplicationOperationCallable()
Overrides
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Operation> updateServiceCallable()
Overrides
updateServiceOperationCallable()
public OperationCallable<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationCallable()
Overrides
updateWorkloadCallable()
public UnaryCallable<UpdateWorkloadRequest,Operation> updateWorkloadCallable()
Overrides
updateWorkloadOperationCallable()
public OperationCallable<UpdateWorkloadRequest,Workload,OperationMetadata> updateWorkloadOperationCallable()
Overrides