Class CloudRedisStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public CloudRedisStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
        Applies the given settings updater function to all of the unary API methods in this service.

        Note: This method does not support applying settings to streaming methods.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • getInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,​Instance> getInstanceSettings()
        Returns the builder for the settings used for calls to getInstance.
      • getInstanceAuthStringSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceAuthStringRequest,​InstanceAuthString> getInstanceAuthStringSettings()
        Returns the builder for the settings used for calls to getInstanceAuthString.
      • createInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,​com.google.longrunning.Operation> createInstanceSettings()
        Returns the builder for the settings used for calls to createInstance.
      • createInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,​Instance,​com.google.protobuf.Any> createInstanceOperationSettings()
        Returns the builder for the settings used for calls to createInstance.
      • updateInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,​com.google.longrunning.Operation> updateInstanceSettings()
        Returns the builder for the settings used for calls to updateInstance.
      • updateInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,​Instance,​com.google.protobuf.Any> updateInstanceOperationSettings()
        Returns the builder for the settings used for calls to updateInstance.
      • upgradeInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceRequest,​com.google.longrunning.Operation> upgradeInstanceSettings()
        Returns the builder for the settings used for calls to upgradeInstance.
      • upgradeInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeInstanceRequest,​Instance,​com.google.protobuf.Any> upgradeInstanceOperationSettings()
        Returns the builder for the settings used for calls to upgradeInstance.
      • importInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportInstanceRequest,​com.google.longrunning.Operation> importInstanceSettings()
        Returns the builder for the settings used for calls to importInstance.
      • importInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportInstanceRequest,​Instance,​com.google.protobuf.Any> importInstanceOperationSettings()
        Returns the builder for the settings used for calls to importInstance.
      • exportInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportInstanceRequest,​com.google.longrunning.Operation> exportInstanceSettings()
        Returns the builder for the settings used for calls to exportInstance.
      • exportInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportInstanceRequest,​Instance,​com.google.protobuf.Any> exportInstanceOperationSettings()
        Returns the builder for the settings used for calls to exportInstance.
      • failoverInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<FailoverInstanceRequest,​com.google.longrunning.Operation> failoverInstanceSettings()
        Returns the builder for the settings used for calls to failoverInstance.
      • failoverInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<FailoverInstanceRequest,​Instance,​com.google.protobuf.Any> failoverInstanceOperationSettings()
        Returns the builder for the settings used for calls to failoverInstance.
      • deleteInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,​com.google.longrunning.Operation> deleteInstanceSettings()
        Returns the builder for the settings used for calls to deleteInstance.
      • deleteInstanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,​com.google.protobuf.Empty,​com.google.protobuf.Any> deleteInstanceOperationSettings()
        Returns the builder for the settings used for calls to deleteInstance.
      • rescheduleMaintenanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RescheduleMaintenanceRequest,​com.google.longrunning.Operation> rescheduleMaintenanceSettings()
        Returns the builder for the settings used for calls to rescheduleMaintenance.
      • rescheduleMaintenanceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<RescheduleMaintenanceRequest,​Instance,​com.google.protobuf.Any> rescheduleMaintenanceOperationSettings()
        Returns the builder for the settings used for calls to rescheduleMaintenance.