public class HttpJsonAppPlatformStub extends AppPlatformStub
REST stub implementation for the AppPlatform service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAppPlatformStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonAppPlatformStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAppPlatformStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonAppPlatformStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(AppPlatformStubSettings settings)
public static final HttpJsonAppPlatformStub create(AppPlatformStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
AppPlatformStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonAppPlatformStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext)
protected HttpJsonAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAppPlatformStub, 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.
Parameters | |
---|---|
Name | Description |
settings |
AppPlatformStubSettings |
clientContext |
ClientContext |
HttpJsonAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAppPlatformStub, 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.
Parameters | |
---|---|
Name | Description |
settings |
AppPlatformStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
addApplicationStreamInputCallable()
public UnaryCallable<AddApplicationStreamInputRequest,Operation> addApplicationStreamInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddApplicationStreamInputRequest,Operation> |
addApplicationStreamInputOperationCallable()
public OperationCallable<AddApplicationStreamInputRequest,AddApplicationStreamInputResponse,OperationMetadata> addApplicationStreamInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<AddApplicationStreamInputRequest,AddApplicationStreamInputResponse,OperationMetadata> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createApplicationCallable()
public UnaryCallable<CreateApplicationRequest,Operation> createApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApplicationRequest,Operation> |
createApplicationInstancesCallable()
public UnaryCallable<CreateApplicationInstancesRequest,Operation> createApplicationInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApplicationInstancesRequest,Operation> |
createApplicationInstancesOperationCallable()
public OperationCallable<CreateApplicationInstancesRequest,CreateApplicationInstancesResponse,OperationMetadata> createApplicationInstancesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateApplicationInstancesRequest,CreateApplicationInstancesResponse,OperationMetadata> |
createApplicationOperationCallable()
public OperationCallable<CreateApplicationRequest,Application,OperationMetadata> createApplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateApplicationRequest,Application,OperationMetadata> |
createDraftCallable()
public UnaryCallable<CreateDraftRequest,Operation> createDraftCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDraftRequest,Operation> |
createDraftOperationCallable()
public OperationCallable<CreateDraftRequest,Draft,OperationMetadata> createDraftOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDraftRequest,Draft,OperationMetadata> |
createProcessorCallable()
public UnaryCallable<CreateProcessorRequest,Operation> createProcessorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateProcessorRequest,Operation> |
createProcessorOperationCallable()
public OperationCallable<CreateProcessorRequest,Processor,OperationMetadata> createProcessorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateProcessorRequest,Processor,OperationMetadata> |
deleteApplicationCallable()
public UnaryCallable<DeleteApplicationRequest,Operation> deleteApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApplicationRequest,Operation> |
deleteApplicationInstancesCallable()
public UnaryCallable<DeleteApplicationInstancesRequest,Operation> deleteApplicationInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApplicationInstancesRequest,Operation> |
deleteApplicationInstancesOperationCallable()
public OperationCallable<DeleteApplicationInstancesRequest,Instance,OperationMetadata> deleteApplicationInstancesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteApplicationInstancesRequest,Instance,OperationMetadata> |
deleteApplicationOperationCallable()
public OperationCallable<DeleteApplicationRequest,Empty,OperationMetadata> deleteApplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteApplicationRequest,Empty,OperationMetadata> |
deleteDraftCallable()
public UnaryCallable<DeleteDraftRequest,Operation> deleteDraftCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDraftRequest,Operation> |
deleteDraftOperationCallable()
public OperationCallable<DeleteDraftRequest,Empty,OperationMetadata> deleteDraftOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDraftRequest,Empty,OperationMetadata> |
deleteProcessorCallable()
public UnaryCallable<DeleteProcessorRequest,Operation> deleteProcessorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteProcessorRequest,Operation> |
deleteProcessorOperationCallable()
public OperationCallable<DeleteProcessorRequest,Empty,OperationMetadata> deleteProcessorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteProcessorRequest,Empty,OperationMetadata> |
deployApplicationCallable()
public UnaryCallable<DeployApplicationRequest,Operation> deployApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeployApplicationRequest,Operation> |
deployApplicationOperationCallable()
public OperationCallable<DeployApplicationRequest,DeployApplicationResponse,OperationMetadata> deployApplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeployApplicationRequest,DeployApplicationResponse,OperationMetadata> |
getApplicationCallable()
public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApplicationRequest,Application> |
getDraftCallable()
public UnaryCallable<GetDraftRequest,Draft> getDraftCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDraftRequest,Draft> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
getProcessorCallable()
public UnaryCallable<GetProcessorRequest,Processor> getProcessorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProcessorRequest,Processor> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listApplicationsCallable()
public UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> listApplicationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> |
listApplicationsPagedCallable()
public UnaryCallable<ListApplicationsRequest,AppPlatformClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApplicationsRequest,ListApplicationsPagedResponse> |
listDraftsCallable()
public UnaryCallable<ListDraftsRequest,ListDraftsResponse> listDraftsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDraftsRequest,ListDraftsResponse> |
listDraftsPagedCallable()
public UnaryCallable<ListDraftsRequest,AppPlatformClient.ListDraftsPagedResponse> listDraftsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDraftsRequest,ListDraftsPagedResponse> |
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,AppPlatformClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse> |
listPrebuiltProcessorsCallable()
public UnaryCallable<ListPrebuiltProcessorsRequest,ListPrebuiltProcessorsResponse> listPrebuiltProcessorsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPrebuiltProcessorsRequest,ListPrebuiltProcessorsResponse> |
listProcessorsCallable()
public UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> listProcessorsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> |
listProcessorsPagedCallable()
public UnaryCallable<ListProcessorsRequest,AppPlatformClient.ListProcessorsPagedResponse> listProcessorsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProcessorsRequest,ListProcessorsPagedResponse> |
removeApplicationStreamInputCallable()
public UnaryCallable<RemoveApplicationStreamInputRequest,Operation> removeApplicationStreamInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveApplicationStreamInputRequest,Operation> |
removeApplicationStreamInputOperationCallable()
public OperationCallable<RemoveApplicationStreamInputRequest,RemoveApplicationStreamInputResponse,OperationMetadata> removeApplicationStreamInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RemoveApplicationStreamInputRequest,RemoveApplicationStreamInputResponse,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeployApplicationCallable()
public UnaryCallable<UndeployApplicationRequest,Operation> undeployApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeployApplicationRequest,Operation> |
undeployApplicationOperationCallable()
public OperationCallable<UndeployApplicationRequest,UndeployApplicationResponse,OperationMetadata> undeployApplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UndeployApplicationRequest,UndeployApplicationResponse,OperationMetadata> |
updateApplicationCallable()
public UnaryCallable<UpdateApplicationRequest,Operation> updateApplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApplicationRequest,Operation> |
updateApplicationInstancesCallable()
public UnaryCallable<UpdateApplicationInstancesRequest,Operation> updateApplicationInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApplicationInstancesRequest,Operation> |
updateApplicationInstancesOperationCallable()
public OperationCallable<UpdateApplicationInstancesRequest,UpdateApplicationInstancesResponse,OperationMetadata> updateApplicationInstancesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateApplicationInstancesRequest,UpdateApplicationInstancesResponse,OperationMetadata> |
updateApplicationOperationCallable()
public OperationCallable<UpdateApplicationRequest,Application,OperationMetadata> updateApplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateApplicationRequest,Application,OperationMetadata> |
updateApplicationStreamInputCallable()
public UnaryCallable<UpdateApplicationStreamInputRequest,Operation> updateApplicationStreamInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApplicationStreamInputRequest,Operation> |
updateApplicationStreamInputOperationCallable()
public OperationCallable<UpdateApplicationStreamInputRequest,UpdateApplicationStreamInputResponse,OperationMetadata> updateApplicationStreamInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateApplicationStreamInputRequest,UpdateApplicationStreamInputResponse,OperationMetadata> |
updateDraftCallable()
public UnaryCallable<UpdateDraftRequest,Operation> updateDraftCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDraftRequest,Operation> |
updateDraftOperationCallable()
public OperationCallable<UpdateDraftRequest,Draft,OperationMetadata> updateDraftOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDraftRequest,Draft,OperationMetadata> |
updateProcessorCallable()
public UnaryCallable<UpdateProcessorRequest,Operation> updateProcessorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProcessorRequest,Operation> |
updateProcessorOperationCallable()
public OperationCallable<UpdateProcessorRequest,Processor,OperationMetadata> updateProcessorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateProcessorRequest,Processor,OperationMetadata> |