/** Returns the object with the settings used for calls to updateInstance. */ public UnaryCallSettings<UpdateInstanceRequest, Operation> updateInstanceSettings() { return ((CloudRedisStubSettings) getStubSettings()).updateInstanceSettings(); }
/** Returns the object with the settings used for calls to createInstance. */ public UnaryCallSettings<CreateInstanceRequest, Operation> createInstanceSettings() { return ((CloudRedisStubSettings) getStubSettings()).createInstanceSettings(); }
/** Returns the object with the settings used for calls to getInstance. */ public UnaryCallSettings<GetInstanceRequest, Instance> getInstanceSettings() { return ((CloudRedisStubSettings) getStubSettings()).getInstanceSettings(); }
/** Returns the object with the settings used for calls to deleteInstance. */ public UnaryCallSettings<DeleteInstanceRequest, Operation> deleteInstanceSettings() { return ((CloudRedisStubSettings) getStubSettings()).deleteInstanceSettings(); }
/** Returns the object with the settings used for calls to listInstances. */ public PagedCallSettings<ListInstancesRequest, ListInstancesResponse, ListInstancesPagedResponse> listInstancesSettings() { return ((CloudRedisStubSettings) getStubSettings()).listInstancesSettings(); }
protected Builder(CloudRedisSettings settings) { super(settings.getStubSettings().toBuilder()); }
/** Returns the object with the settings used for calls to createInstance. */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<CreateInstanceRequest, Instance, OperationMetadata> createInstanceOperationSettings() { return ((CloudRedisStubSettings) getStubSettings()).createInstanceOperationSettings(); }
/** Returns the object with the settings used for calls to updateInstance. */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<UpdateInstanceRequest, Instance, OperationMetadata> updateInstanceOperationSettings() { return ((CloudRedisStubSettings) getStubSettings()).updateInstanceOperationSettings(); }
/** Returns the object with the settings used for calls to deleteInstance. */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<DeleteInstanceRequest, Empty, OperationMetadata> deleteInstanceOperationSettings() { return ((CloudRedisStubSettings) getStubSettings()).deleteInstanceOperationSettings(); }
/** * Constructs an instance of CloudRedisClient, 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. */ protected CloudRedisClient(CloudRedisSettings settings) throws IOException { this.settings = settings; this.stub = ((CloudRedisStubSettings) settings.getStubSettings()).createStub(); this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); }