Class OperationsSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public OperationsSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,​?>,​java.lang.Void> settingsUpdater)
                                                          throws java.lang.Exception
        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.

        Throws:
        java.lang.Exception
      • getOperationSettings

        public UnaryCallSettings.Builder<com.google.longrunning.GetOperationRequest,​com.google.longrunning.Operation> getOperationSettings()
        Returns the builder for the settings used for calls to getOperation.
      • cancelOperationSettings

        public UnaryCallSettings.Builder<com.google.longrunning.CancelOperationRequest,​com.google.protobuf.Empty> cancelOperationSettings()
        Returns the builder for the settings used for calls to cancelOperation.
      • deleteOperationSettings

        public UnaryCallSettings.Builder<com.google.longrunning.DeleteOperationRequest,​com.google.protobuf.Empty> deleteOperationSettings()
        Returns the builder for the settings used for calls to deleteOperation.
      • waitOperationSettings

        public UnaryCallSettings.Builder<com.google.longrunning.WaitOperationRequest,​com.google.longrunning.Operation> waitOperationSettings()
        Returns the builder for the settings used for calls to deleteOperation.