Class HttpJsonCloudRedisClusterStub
java.lang.Object
com.google.cloud.redis.cluster.v1.stub.CloudRedisClusterStub
com.google.cloud.redis.cluster.v1.stub.HttpJsonCloudRedisClusterStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonCloudRedisClusterStub
extends CloudRedisClusterStub
REST stub implementation for the CloudRedisCluster service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonCloudRedisClusterStub(CloudRedisClusterStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonCloudRedisClusterStub, using the given settings.protectedHttpJsonCloudRedisClusterStub(CloudRedisClusterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonCloudRedisClusterStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) OperationCallable<BackupClusterRequest,Cluster, com.google.protobuf.Any> final voidclose()static final HttpJsonCloudRedisClusterStubcreate(ClientContext clientContext) static final HttpJsonCloudRedisClusterStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonCloudRedisClusterStubcreate(CloudRedisClusterStubSettings settings) OperationCallable<CreateClusterRequest,Cluster, com.google.protobuf.Any> OperationCallable<DeleteBackupRequest,com.google.protobuf.Empty, com.google.protobuf.Any> OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, com.google.protobuf.Any> OperationCallable<ExportBackupRequest,Backup, com.google.protobuf.Any> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListBackupCollectionsRequest,CloudRedisClusterClient.ListBackupCollectionsPagedResponse> OperationCallable<RescheduleClusterMaintenanceRequest,Cluster, com.google.protobuf.Any> voidshutdown()voidOperationCallable<UpdateClusterRequest,Cluster, com.google.protobuf.Any> Methods inherited from class com.google.cloud.redis.cluster.v1.stub.CloudRedisClusterStub
getOperationsStub
-
Constructor Details
-
HttpJsonCloudRedisClusterStub
protected HttpJsonCloudRedisClusterStub(CloudRedisClusterStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonCloudRedisClusterStub, 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
-
HttpJsonCloudRedisClusterStub
protected HttpJsonCloudRedisClusterStub(CloudRedisClusterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonCloudRedisClusterStub, 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 HttpJsonCloudRedisClusterStub create(CloudRedisClusterStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudRedisClusterStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudRedisClusterStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classCloudRedisClusterStub
-
listClustersCallable
- Overrides:
listClustersCallablein classCloudRedisClusterStub
-
listClustersPagedCallable
public UnaryCallable<ListClustersRequest,CloudRedisClusterClient.ListClustersPagedResponse> listClustersPagedCallable()- Overrides:
listClustersPagedCallablein classCloudRedisClusterStub
-
getClusterCallable
- Overrides:
getClusterCallablein classCloudRedisClusterStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classCloudRedisClusterStub
-
updateClusterOperationCallable
public OperationCallable<UpdateClusterRequest,Cluster, updateClusterOperationCallable()com.google.protobuf.Any> - Overrides:
updateClusterOperationCallablein classCloudRedisClusterStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classCloudRedisClusterStub
-
deleteClusterOperationCallable
public OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationCallable()com.google.protobuf.Any> - Overrides:
deleteClusterOperationCallablein classCloudRedisClusterStub
-
createClusterCallable
- Overrides:
createClusterCallablein classCloudRedisClusterStub
-
createClusterOperationCallable
public OperationCallable<CreateClusterRequest,Cluster, createClusterOperationCallable()com.google.protobuf.Any> - Overrides:
createClusterOperationCallablein classCloudRedisClusterStub
-
getClusterCertificateAuthorityCallable
public UnaryCallable<GetClusterCertificateAuthorityRequest,CertificateAuthority> getClusterCertificateAuthorityCallable()- Overrides:
getClusterCertificateAuthorityCallablein classCloudRedisClusterStub
-
rescheduleClusterMaintenanceCallable
public UnaryCallable<RescheduleClusterMaintenanceRequest,Operation> rescheduleClusterMaintenanceCallable()- Overrides:
rescheduleClusterMaintenanceCallablein classCloudRedisClusterStub
-
rescheduleClusterMaintenanceOperationCallable
public OperationCallable<RescheduleClusterMaintenanceRequest,Cluster, rescheduleClusterMaintenanceOperationCallable()com.google.protobuf.Any> - Overrides:
rescheduleClusterMaintenanceOperationCallablein classCloudRedisClusterStub
-
listBackupCollectionsCallable
public UnaryCallable<ListBackupCollectionsRequest,ListBackupCollectionsResponse> listBackupCollectionsCallable()- Overrides:
listBackupCollectionsCallablein classCloudRedisClusterStub
-
listBackupCollectionsPagedCallable
public UnaryCallable<ListBackupCollectionsRequest,CloudRedisClusterClient.ListBackupCollectionsPagedResponse> listBackupCollectionsPagedCallable()- Overrides:
listBackupCollectionsPagedCallablein classCloudRedisClusterStub
-
getBackupCollectionCallable
- Overrides:
getBackupCollectionCallablein classCloudRedisClusterStub
-
listBackupsCallable
- Overrides:
listBackupsCallablein classCloudRedisClusterStub
-
listBackupsPagedCallable
public UnaryCallable<ListBackupsRequest,CloudRedisClusterClient.ListBackupsPagedResponse> listBackupsPagedCallable()- Overrides:
listBackupsPagedCallablein classCloudRedisClusterStub
-
getBackupCallable
- Overrides:
getBackupCallablein classCloudRedisClusterStub
-
deleteBackupCallable
- Overrides:
deleteBackupCallablein classCloudRedisClusterStub
-
deleteBackupOperationCallable
public OperationCallable<DeleteBackupRequest,com.google.protobuf.Empty, deleteBackupOperationCallable()com.google.protobuf.Any> - Overrides:
deleteBackupOperationCallablein classCloudRedisClusterStub
-
exportBackupCallable
- Overrides:
exportBackupCallablein classCloudRedisClusterStub
-
exportBackupOperationCallable
public OperationCallable<ExportBackupRequest,Backup, exportBackupOperationCallable()com.google.protobuf.Any> - Overrides:
exportBackupOperationCallablein classCloudRedisClusterStub
-
backupClusterCallable
- Overrides:
backupClusterCallablein classCloudRedisClusterStub
-
backupClusterOperationCallable
public OperationCallable<BackupClusterRequest,Cluster, backupClusterOperationCallable()com.google.protobuf.Any> - Overrides:
backupClusterOperationCallablein classCloudRedisClusterStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classCloudRedisClusterStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,CloudRedisClusterClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classCloudRedisClusterStub
-
getLocationCallable
- Overrides:
getLocationCallablein classCloudRedisClusterStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classCloudRedisClusterStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-