Class HttpJsonMemorystoreStub
java.lang.Object
com.google.cloud.memorystore.v1beta.stub.MemorystoreStub
com.google.cloud.memorystore.v1beta.stub.HttpJsonMemorystoreStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonMemorystoreStub
extends MemorystoreStub
REST stub implementation for the Memorystore service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonMemorystoreStub, using the given settings.protectedHttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonMemorystoreStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonMemorystoreStubcreate(ClientContext clientContext) static final HttpJsonMemorystoreStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonMemorystoreStubcreate(MemorystoreStubSettings settings) OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.memorystore.v1beta.stub.MemorystoreStub
getOperationsStub
-
Constructor Details
-
HttpJsonMemorystoreStub
protected HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonMemorystoreStub, 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
-
HttpJsonMemorystoreStub
protected HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonMemorystoreStub, 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 HttpJsonMemorystoreStub create(MemorystoreStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonMemorystoreStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classMemorystoreStub
-
listInstancesCallable
- Overrides:
listInstancesCallablein classMemorystoreStub
-
listInstancesPagedCallable
public UnaryCallable<ListInstancesRequest,MemorystoreClient.ListInstancesPagedResponse> listInstancesPagedCallable()- Overrides:
listInstancesPagedCallablein classMemorystoreStub
-
getInstanceCallable
- Overrides:
getInstanceCallablein classMemorystoreStub
-
createInstanceCallable
- Overrides:
createInstanceCallablein classMemorystoreStub
-
createInstanceOperationCallable
public OperationCallable<CreateInstanceRequest,Instance, createInstanceOperationCallable()OperationMetadata> - Overrides:
createInstanceOperationCallablein classMemorystoreStub
-
updateInstanceCallable
- Overrides:
updateInstanceCallablein classMemorystoreStub
-
updateInstanceOperationCallable
public OperationCallable<UpdateInstanceRequest,Instance, updateInstanceOperationCallable()OperationMetadata> - Overrides:
updateInstanceOperationCallablein classMemorystoreStub
-
deleteInstanceCallable
- Overrides:
deleteInstanceCallablein classMemorystoreStub
-
deleteInstanceOperationCallable
public OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationCallable()OperationMetadata> - Overrides:
deleteInstanceOperationCallablein classMemorystoreStub
-
getCertificateAuthorityCallable
public UnaryCallable<GetCertificateAuthorityRequest,CertificateAuthority> getCertificateAuthorityCallable()- Overrides:
getCertificateAuthorityCallablein classMemorystoreStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classMemorystoreStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,MemorystoreClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classMemorystoreStub
-
getLocationCallable
- Overrides:
getLocationCallablein classMemorystoreStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMemorystoreStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-