Class HttpJsonCloudMemcacheStub
java.lang.Object
com.google.cloud.memcache.v1.stub.CloudMemcacheStub
com.google.cloud.memcache.v1.stub.HttpJsonCloudMemcacheStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonCloudMemcacheStub
extends CloudMemcacheStub
REST stub implementation for the CloudMemcache service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonCloudMemcacheStub, using the given settings.protectedHttpJsonCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonCloudMemcacheStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonCloudMemcacheStubcreate(ClientContext clientContext) static final HttpJsonCloudMemcacheStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonCloudMemcacheStubcreate(CloudMemcacheStubSettings settings) OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.memcache.v1.stub.CloudMemcacheStub
getOperationsStub
-
Constructor Details
-
HttpJsonCloudMemcacheStub
protected HttpJsonCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonCloudMemcacheStub, 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
-
HttpJsonCloudMemcacheStub
protected HttpJsonCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonCloudMemcacheStub, 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
public static final HttpJsonCloudMemcacheStub create(CloudMemcacheStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudMemcacheStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudMemcacheStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classCloudMemcacheStub
-
listInstancesCallable
- Overrides:
listInstancesCallablein classCloudMemcacheStub
-
listInstancesPagedCallable
public UnaryCallable<ListInstancesRequest,CloudMemcacheClient.ListInstancesPagedResponse> listInstancesPagedCallable()- Overrides:
listInstancesPagedCallablein classCloudMemcacheStub
-
getInstanceCallable
- Overrides:
getInstanceCallablein classCloudMemcacheStub
-
createInstanceCallable
- Overrides:
createInstanceCallablein classCloudMemcacheStub
-
createInstanceOperationCallable
public OperationCallable<CreateInstanceRequest,Instance, createInstanceOperationCallable()OperationMetadata> - Overrides:
createInstanceOperationCallablein classCloudMemcacheStub
-
updateInstanceCallable
- Overrides:
updateInstanceCallablein classCloudMemcacheStub
-
updateInstanceOperationCallable
public OperationCallable<UpdateInstanceRequest,Instance, updateInstanceOperationCallable()OperationMetadata> - Overrides:
updateInstanceOperationCallablein classCloudMemcacheStub
-
updateParametersCallable
- Overrides:
updateParametersCallablein classCloudMemcacheStub
-
updateParametersOperationCallable
public OperationCallable<UpdateParametersRequest,Instance, updateParametersOperationCallable()OperationMetadata> - Overrides:
updateParametersOperationCallablein classCloudMemcacheStub
-
deleteInstanceCallable
- Overrides:
deleteInstanceCallablein classCloudMemcacheStub
-
deleteInstanceOperationCallable
public OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationCallable()OperationMetadata> - Overrides:
deleteInstanceOperationCallablein classCloudMemcacheStub
-
applyParametersCallable
- Overrides:
applyParametersCallablein classCloudMemcacheStub
-
applyParametersOperationCallable
public OperationCallable<ApplyParametersRequest,Instance, applyParametersOperationCallable()OperationMetadata> - Overrides:
applyParametersOperationCallablein classCloudMemcacheStub
-
rescheduleMaintenanceCallable
- Overrides:
rescheduleMaintenanceCallablein classCloudMemcacheStub
-
rescheduleMaintenanceOperationCallable
public OperationCallable<RescheduleMaintenanceRequest,Instance, rescheduleMaintenanceOperationCallable()OperationMetadata> - Overrides:
rescheduleMaintenanceOperationCallablein classCloudMemcacheStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classCloudMemcacheStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,CloudMemcacheClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classCloudMemcacheStub
-
getLocationCallable
- Overrides:
getLocationCallablein classCloudMemcacheStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classCloudMemcacheStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-