@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcCloudRedisStub extends CloudRedisStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcCloudRedisStub(CloudRedisStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcCloudRedisStub, using the given settings.
|
protected |
GrpcCloudRedisStub(CloudRedisStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudRedisStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcCloudRedisStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcCloudRedisStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcCloudRedisStub |
create(CloudRedisStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateInstanceRequest,com.google.longrunning.Operation> |
createInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<CreateInstanceRequest,Instance,Any> |
createInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteInstanceRequest,com.google.longrunning.Operation> |
deleteInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteInstanceRequest,Empty,Any> |
deleteInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<ExportInstanceRequest,com.google.longrunning.Operation> |
exportInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<ExportInstanceRequest,Instance,Any> |
exportInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<FailoverInstanceRequest,com.google.longrunning.Operation> |
failoverInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<FailoverInstanceRequest,Instance,Any> |
failoverInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetInstanceRequest,Instance> |
getInstanceCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<ImportInstanceRequest,com.google.longrunning.Operation> |
importInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<ImportInstanceRequest,Instance,Any> |
importInstanceOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,CloudRedisClient.ListInstancesPagedResponse> |
listInstancesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateInstanceRequest,com.google.longrunning.Operation> |
updateInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateInstanceRequest,Instance,Any> |
updateInstanceOperationCallable() |
protected GrpcCloudRedisStub(CloudRedisStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcCloudRedisStub(CloudRedisStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCloudRedisStub create(CloudRedisStubSettings settings) throws IOException
IOException
public static final GrpcCloudRedisStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcCloudRedisStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,CloudRedisClient.ListInstancesPagedResponse> listInstancesPagedCallable()
listInstancesPagedCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
listInstancesCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
getInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<CreateInstanceRequest,Instance,Any> createInstanceOperationCallable()
createInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceCallable()
createInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<UpdateInstanceRequest,Instance,Any> updateInstanceOperationCallable()
updateInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceCallable()
updateInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<ImportInstanceRequest,Instance,Any> importInstanceOperationCallable()
importInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<ImportInstanceRequest,com.google.longrunning.Operation> importInstanceCallable()
importInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<ExportInstanceRequest,Instance,Any> exportInstanceOperationCallable()
exportInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<ExportInstanceRequest,com.google.longrunning.Operation> exportInstanceCallable()
exportInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<FailoverInstanceRequest,Instance,Any> failoverInstanceOperationCallable()
failoverInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<FailoverInstanceRequest,com.google.longrunning.Operation> failoverInstanceCallable()
failoverInstanceCallable
in class CloudRedisStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<DeleteInstanceRequest,Empty,Any> deleteInstanceOperationCallable()
deleteInstanceOperationCallable
in class CloudRedisStub
public com.google.api.gax.rpc.UnaryCallable<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceCallable()
deleteInstanceCallable
in class CloudRedisStub
public final void close()
close
in interface AutoCloseable
close
in class CloudRedisStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.