Package com.google.appengine.v1.stub
Class HttpJsonApplicationsStub
- java.lang.Object
-
- com.google.appengine.v1.stub.ApplicationsStub
-
- com.google.appengine.v1.stub.HttpJsonApplicationsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonApplicationsStub extends ApplicationsStub
REST stub implementation for the Applications service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonApplicationsStub(ApplicationsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonApplicationsStub, using the given settings.protectedHttpJsonApplicationsStub(ApplicationsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonApplicationsStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonApplicationsStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonApplicationsStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonApplicationsStubcreate(ApplicationsStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateApplicationRequest,com.google.longrunning.Operation>createApplicationCallable()com.google.api.gax.rpc.OperationCallable<CreateApplicationRequest,Application,OperationMetadataV1>createApplicationOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetApplicationRequest,Application>getApplicationCallable()com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStubgetHttpJsonOperationsStub()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<RepairApplicationRequest,com.google.longrunning.Operation>repairApplicationCallable()com.google.api.gax.rpc.OperationCallable<RepairApplicationRequest,Application,OperationMetadataV1>repairApplicationOperationCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UpdateApplicationRequest,com.google.longrunning.Operation>updateApplicationCallable()com.google.api.gax.rpc.OperationCallable<UpdateApplicationRequest,Application,OperationMetadataV1>updateApplicationOperationCallable()-
Methods inherited from class com.google.appengine.v1.stub.ApplicationsStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonApplicationsStub
protected HttpJsonApplicationsStub(ApplicationsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonApplicationsStub, 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
-
HttpJsonApplicationsStub
protected HttpJsonApplicationsStub(ApplicationsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonApplicationsStub, 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 Detail
-
create
public static final HttpJsonApplicationsStub create(ApplicationsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonApplicationsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonApplicationsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classApplicationsStub
-
getApplicationCallable
public com.google.api.gax.rpc.UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
- Overrides:
getApplicationCallablein classApplicationsStub
-
createApplicationCallable
public com.google.api.gax.rpc.UnaryCallable<CreateApplicationRequest,com.google.longrunning.Operation> createApplicationCallable()
- Overrides:
createApplicationCallablein classApplicationsStub
-
createApplicationOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateApplicationRequest,Application,OperationMetadataV1> createApplicationOperationCallable()
- Overrides:
createApplicationOperationCallablein classApplicationsStub
-
updateApplicationCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateApplicationRequest,com.google.longrunning.Operation> updateApplicationCallable()
- Overrides:
updateApplicationCallablein classApplicationsStub
-
updateApplicationOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateApplicationRequest,Application,OperationMetadataV1> updateApplicationOperationCallable()
- Overrides:
updateApplicationOperationCallablein classApplicationsStub
-
repairApplicationCallable
public com.google.api.gax.rpc.UnaryCallable<RepairApplicationRequest,com.google.longrunning.Operation> repairApplicationCallable()
- Overrides:
repairApplicationCallablein classApplicationsStub
-
repairApplicationOperationCallable
public com.google.api.gax.rpc.OperationCallable<RepairApplicationRequest,Application,OperationMetadataV1> repairApplicationOperationCallable()
- Overrides:
repairApplicationOperationCallablein classApplicationsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classApplicationsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-