Package com.google.cloud.apphub.v1.stub
Class HttpJsonAppHubStub
java.lang.Object
com.google.cloud.apphub.v1.stub.AppHubStub
com.google.cloud.apphub.v1.stub.HttpJsonAppHubStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
REST stub implementation for the AppHub service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonAppHubStub(AppHubStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonAppHubStub, using the given settings.protectedHttpJsonAppHubStub(AppHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonAppHubStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonAppHubStubcreate(ClientContext clientContext) static final HttpJsonAppHubStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonAppHubStubcreate(AppHubStubSettings settings) OperationCallable<DeleteApplicationRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteServiceProjectAttachmentRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteWorkloadRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListServiceProjectAttachmentsRequest,AppHubClient.ListServiceProjectAttachmentsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.apphub.v1.stub.AppHubStub
getOperationsStub
-
Constructor Details
-
HttpJsonAppHubStub
protected HttpJsonAppHubStub(AppHubStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonAppHubStub, 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.- Throws:
IOException
-
HttpJsonAppHubStub
protected HttpJsonAppHubStub(AppHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonAppHubStub, 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.- Throws:
IOException
-
-
Method Details
-
create
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonAppHubStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classAppHubStub
-
lookupServiceProjectAttachmentCallable
public UnaryCallable<LookupServiceProjectAttachmentRequest,LookupServiceProjectAttachmentResponse> lookupServiceProjectAttachmentCallable()- Overrides:
lookupServiceProjectAttachmentCallablein classAppHubStub
-
listServiceProjectAttachmentsCallable
public UnaryCallable<ListServiceProjectAttachmentsRequest,ListServiceProjectAttachmentsResponse> listServiceProjectAttachmentsCallable()- Overrides:
listServiceProjectAttachmentsCallablein classAppHubStub
-
listServiceProjectAttachmentsPagedCallable
public UnaryCallable<ListServiceProjectAttachmentsRequest,AppHubClient.ListServiceProjectAttachmentsPagedResponse> listServiceProjectAttachmentsPagedCallable()- Overrides:
listServiceProjectAttachmentsPagedCallablein classAppHubStub
-
createServiceProjectAttachmentCallable
public UnaryCallable<CreateServiceProjectAttachmentRequest,Operation> createServiceProjectAttachmentCallable()- Overrides:
createServiceProjectAttachmentCallablein classAppHubStub
-
createServiceProjectAttachmentOperationCallable
public OperationCallable<CreateServiceProjectAttachmentRequest,ServiceProjectAttachment, createServiceProjectAttachmentOperationCallable()OperationMetadata> - Overrides:
createServiceProjectAttachmentOperationCallablein classAppHubStub
-
getServiceProjectAttachmentCallable
public UnaryCallable<GetServiceProjectAttachmentRequest,ServiceProjectAttachment> getServiceProjectAttachmentCallable()- Overrides:
getServiceProjectAttachmentCallablein classAppHubStub
-
deleteServiceProjectAttachmentCallable
public UnaryCallable<DeleteServiceProjectAttachmentRequest,Operation> deleteServiceProjectAttachmentCallable()- Overrides:
deleteServiceProjectAttachmentCallablein classAppHubStub
-
deleteServiceProjectAttachmentOperationCallable
public OperationCallable<DeleteServiceProjectAttachmentRequest,com.google.protobuf.Empty, deleteServiceProjectAttachmentOperationCallable()OperationMetadata> - Overrides:
deleteServiceProjectAttachmentOperationCallablein classAppHubStub
-
detachServiceProjectAttachmentCallable
public UnaryCallable<DetachServiceProjectAttachmentRequest,DetachServiceProjectAttachmentResponse> detachServiceProjectAttachmentCallable()- Overrides:
detachServiceProjectAttachmentCallablein classAppHubStub
-
listDiscoveredServicesCallable
public UnaryCallable<ListDiscoveredServicesRequest,ListDiscoveredServicesResponse> listDiscoveredServicesCallable()- Overrides:
listDiscoveredServicesCallablein classAppHubStub
-
listDiscoveredServicesPagedCallable
public UnaryCallable<ListDiscoveredServicesRequest,AppHubClient.ListDiscoveredServicesPagedResponse> listDiscoveredServicesPagedCallable()- Overrides:
listDiscoveredServicesPagedCallablein classAppHubStub
-
getDiscoveredServiceCallable
- Overrides:
getDiscoveredServiceCallablein classAppHubStub
-
lookupDiscoveredServiceCallable
public UnaryCallable<LookupDiscoveredServiceRequest,LookupDiscoveredServiceResponse> lookupDiscoveredServiceCallable()- Overrides:
lookupDiscoveredServiceCallablein classAppHubStub
-
listServicesCallable
- Overrides:
listServicesCallablein classAppHubStub
-
listServicesPagedCallable
public UnaryCallable<ListServicesRequest,AppHubClient.ListServicesPagedResponse> listServicesPagedCallable()- Overrides:
listServicesPagedCallablein classAppHubStub
-
createServiceCallable
- Overrides:
createServiceCallablein classAppHubStub
-
createServiceOperationCallable
public OperationCallable<CreateServiceRequest,Service, createServiceOperationCallable()OperationMetadata> - Overrides:
createServiceOperationCallablein classAppHubStub
-
getServiceCallable
- Overrides:
getServiceCallablein classAppHubStub
-
updateServiceCallable
- Overrides:
updateServiceCallablein classAppHubStub
-
updateServiceOperationCallable
public OperationCallable<UpdateServiceRequest,Service, updateServiceOperationCallable()OperationMetadata> - Overrides:
updateServiceOperationCallablein classAppHubStub
-
deleteServiceCallable
- Overrides:
deleteServiceCallablein classAppHubStub
-
deleteServiceOperationCallable
public OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty, deleteServiceOperationCallable()OperationMetadata> - Overrides:
deleteServiceOperationCallablein classAppHubStub
-
listDiscoveredWorkloadsCallable
public UnaryCallable<ListDiscoveredWorkloadsRequest,ListDiscoveredWorkloadsResponse> listDiscoveredWorkloadsCallable()- Overrides:
listDiscoveredWorkloadsCallablein classAppHubStub
-
listDiscoveredWorkloadsPagedCallable
public UnaryCallable<ListDiscoveredWorkloadsRequest,AppHubClient.ListDiscoveredWorkloadsPagedResponse> listDiscoveredWorkloadsPagedCallable()- Overrides:
listDiscoveredWorkloadsPagedCallablein classAppHubStub
-
getDiscoveredWorkloadCallable
public UnaryCallable<GetDiscoveredWorkloadRequest,DiscoveredWorkload> getDiscoveredWorkloadCallable()- Overrides:
getDiscoveredWorkloadCallablein classAppHubStub
-
lookupDiscoveredWorkloadCallable
public UnaryCallable<LookupDiscoveredWorkloadRequest,LookupDiscoveredWorkloadResponse> lookupDiscoveredWorkloadCallable()- Overrides:
lookupDiscoveredWorkloadCallablein classAppHubStub
-
listWorkloadsCallable
- Overrides:
listWorkloadsCallablein classAppHubStub
-
listWorkloadsPagedCallable
public UnaryCallable<ListWorkloadsRequest,AppHubClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()- Overrides:
listWorkloadsPagedCallablein classAppHubStub
-
createWorkloadCallable
- Overrides:
createWorkloadCallablein classAppHubStub
-
createWorkloadOperationCallable
public OperationCallable<CreateWorkloadRequest,Workload, createWorkloadOperationCallable()OperationMetadata> - Overrides:
createWorkloadOperationCallablein classAppHubStub
-
getWorkloadCallable
- Overrides:
getWorkloadCallablein classAppHubStub
-
updateWorkloadCallable
- Overrides:
updateWorkloadCallablein classAppHubStub
-
updateWorkloadOperationCallable
public OperationCallable<UpdateWorkloadRequest,Workload, updateWorkloadOperationCallable()OperationMetadata> - Overrides:
updateWorkloadOperationCallablein classAppHubStub
-
deleteWorkloadCallable
- Overrides:
deleteWorkloadCallablein classAppHubStub
-
deleteWorkloadOperationCallable
public OperationCallable<DeleteWorkloadRequest,com.google.protobuf.Empty, deleteWorkloadOperationCallable()OperationMetadata> - Overrides:
deleteWorkloadOperationCallablein classAppHubStub
-
listApplicationsCallable
- Overrides:
listApplicationsCallablein classAppHubStub
-
listApplicationsPagedCallable
public UnaryCallable<ListApplicationsRequest,AppHubClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()- Overrides:
listApplicationsPagedCallablein classAppHubStub
-
createApplicationCallable
- Overrides:
createApplicationCallablein classAppHubStub
-
createApplicationOperationCallable
public OperationCallable<CreateApplicationRequest,Application, createApplicationOperationCallable()OperationMetadata> - Overrides:
createApplicationOperationCallablein classAppHubStub
-
getApplicationCallable
- Overrides:
getApplicationCallablein classAppHubStub
-
updateApplicationCallable
- Overrides:
updateApplicationCallablein classAppHubStub
-
updateApplicationOperationCallable
public OperationCallable<UpdateApplicationRequest,Application, updateApplicationOperationCallable()OperationMetadata> - Overrides:
updateApplicationOperationCallablein classAppHubStub
-
deleteApplicationCallable
- Overrides:
deleteApplicationCallablein classAppHubStub
-
deleteApplicationOperationCallable
public OperationCallable<DeleteApplicationRequest,com.google.protobuf.Empty, deleteApplicationOperationCallable()OperationMetadata> - Overrides:
deleteApplicationOperationCallablein classAppHubStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classAppHubStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,AppHubClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classAppHubStub
-
getLocationCallable
- Overrides:
getLocationCallablein classAppHubStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classAppHubStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classAppHubStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classAppHubStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAppHubStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-